HTML stands for
Hyper
Text
Markup
Language
- HTML tags are keywords surrounded by angle brackets like <html>
- HTML tags normally come in pairs like <b> and </b>
- The first tag in a pair is the start tag, the second tag is the end tag
The purpose of a web browsers (like Internet Explorer, Mozilla Firefox, etc) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page.
For example:
- Code:
-
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph</p>
</body>
</html>
- The text between <html> and </html> describes the web page
- The text between <body> and </body> is the visible page content
- The text between <h1> and </h1> is displayed as a heading
- The text between <p> and </p> is displayed as a paragraph
well...
HTML headings are defined with the <h1> to <h6> tags.
- Code:
-
<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
HTML paragraphs are defined with the <p> tag.
- Code:
-
<p>This is a paragraph</p>
<p>This is another paragraph</p>
HTML links are defined with the <a> tag.
- Code:
-
<a href="http://ki-you.forumotion.com">This is a link</a>
HTML images are defined with the <img> tag.
- Code:
-
<img src="img.gif" width="144" height="50" />