Tuesday, June 14, 2011

HTML Elements

Recall the HTML example from the previous page:



<html>
<head><
title>Title of page</title>
</head>
<body>This is my first homepage. <b>This text is in bold</b>
</body>
</html>

This is an HTML element:
<b>This text is in bold</b>
The HTML element between start tag: <b>and end tag: </b> defines an HTML element that should be displayed in bold.
This is also an HTML element:

<body>
This is my first homepage. <b>This text is in bold</b>
</body>

This HTML element between start tag <body> and end tag </body> defines the HTML element that contains the body of the HTML document.




.

No comments:

Post a Comment