HTML Elements
A HTML component for the most part comprises of a begin tag and end tag, with the substance embedded in the middle:<tagname>Content here...</tagname>
The HTML component is everything from the begin tag to the end tag:
<p> first paragraph.</p>
The <html> component characterizes the entire report.
It has a begin tag <html> and an end tag </html>.
The <body> component characterizes the record body.
It has a begin tag <body> and an end tag </body>.
The <h1> component characterizes a heading.
It has a begin tag <h1> and an end tag </h1>.
The <p> component characterizes a passage.
It has a begin tag <p> and an end tag </p>.
Remember the End Tag
Some HTML components will show accurately, regardless of the possibility that you overlook the end tag.Purge HTML Elements
HTML components with no substance are called purge components.<br> is a vacant component without an end tag (the <br> tag characterizes a line break).
Exhaust components can be "shut" in the opening label this way: <br/>.
<hr> is additionally unfilled component without an end tag (the <hr> label characterized a level line).
This components can be "shut" like this:<hr/>




0 comments:
Post a Comment