cookieChoices = {};

Friday, 20 September 2013

HTML Introduction and Examples

HTML Tags

HTML markup tags are usually called HTML tags
  • HTML tags are keywords (tag names) 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 end tag is written like the start tag, with a forward slash before the tag name
  • Start and end tags are also called opening tags and closing tags
Example 1: Basic Format

<!DOCTYPE html>
<html>
<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>
</html>


For More HTML Learning Visit : www.w3schools.com

Example 2: Header styles

<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>


No comments:

Post a Comment