HTML Elements


Elements

HTML element is complete sequence of a start tag, optional parameters called attributes, optional embedded HTML content, and an end tag.

Example:<h1>This is a heading element</h1>


Tags that don't have an end tag are the element.

Example: <img src="images/sky.jpg" />

Elements can also have other elements within them.

Example:

<p>Here is a <a href="http://www.google.com">link</a> </p>

No comments:

Post a Comment