Random lessons while learning HTML

If you open it, close it.

For example:

<html>

<body>

<h3> Random things that happen around here</h3>

<p> The <i> grey </i> mouse is not coming in. </p>

<p> But the <b>purple elephant</b> is trying to come in through the front door. </p>

</body>

</html>

Random things that happen around here

The grey mouse is not coming in.

But the purple elephant is trying to come in through the front door.


PS: some elements, such as empty elements (e.g., hr, area, link) are exceptions to this rule in HTML5.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s