HO to do Html Elements
HTML Elements
A HTML element normally comprises of a begin tag and end tag, with the substance embedded in the middle:
<tagname>Content goes here...</tagname>
The HTML element is everything from the start tag to the end tag:
<p>My first paragraph.</p>
Settled HTML Elements
HTML elements can be settled (elements can contain elements).
All HTML documents involve settled HTML elements.
This case contains four HTML elements:
All HTML documents involve settled HTML elements.
This case contains four HTML elements:
Example
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
0 comments:
Post a Comment