< and >.
<b> and </b>.
<b> means the same as <B>.
|
HTML Elements
The previous example is shown on the right. The following is an HTML element: <b>Text is bold</b> |
|
<b>.
The content of the HTML element is: This text is bold.
The HTML element ends with an end tag: </b>.
The purpose of the <b> tag is to define an HTML element that should be displayed as bold.
This is also an HTML element:
<body>My first homepage! <b>Text is bold</b></body>This HTML element starts with the start tag
<body>, and ends with the end tag </body>.
The purpose of the <body> tag is to define the HTML element that contains the body of the HTML document.