Wednesday 20 August 2014

HTML Tags & Elements

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 <p> and </p>
•    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 slash before the tag name
•    Start and end tags are also called opening tags and closing tags
<tagname>content</tagname>

HTML Elements

In HTML, most elements are written with a start tag (e.g. <p>) and an end tag (e.g. </p>), with the content in between:
<p>This is a paragraph.</p>


<  Previous Chapter                                      Next Chapter >


No comments:

Post a Comment