Subscribe:

Quick

Wednesday, 5 October 2011

HTML Tags


  • Angle brackets like <html>
  • come in pairs like start tag<b> and end tag</b>
  • Start and end tags are also called opening tags and closing tags
  • HTML documents are also called web pages

start tag

<html>
<body>

<h1>My First h1 Heading</h1>

<p>My first paragraph.</p>

</body>
</html>

end tag
  • text between <html> and </html> describes the web page
  • text between <body> and </body> is the visible page content
  • text between <h1> and </h1> is displayed as a heading
  • text between <p> and </p> is displayed as a paragraph

HTML


  • HTML stands for Hyper Text Markup Language
  • HTML is not a programming language, it is a markup language
  • A markup language is a set of markup tags
  • HTML uses markup tags to describe web pages