Tuesday 7 February 2017

HTML LESSON - 2

SECOND LESSON OF HTML

<!DOCTYPE html>
<html>
<head>
<title>Second Lesson of HTML</title>
</head>
<body>
<h1>Some New Tags</h1>
<p>An a or anchor tag [ < a > < /a > ] is for making hyperlinks in HTML.</p>
For example:
<a href="http://google.com">This is a link</a>
<br> 
<p> A br tag is an empty element without closing tag [ < br > defines a line break. ] </p>
</body>
</html>




Now, Few Key points to remember always:

  • For learning purpose, one can write code in NOTEPAD (PC) or Textedit (MAC).
  • Then, that notepad file should be saved with .html extension.

0 comments:

Post a Comment