Yellow Jacket
Blue Ridge High School
Yellow Jacket
Home > Web Design > Lessons > Tags

HTML Elements

HTML documents are text files made up of HTML elements, such as tables, paragraphs, etc.
HTML elements are defined using HTML tags.

HTML Tags

HTML Elements

This is an HTML element:

<b>This text is bold</b>

The HTML element starts with a start tag: <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>This is my first page. <b>This 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 tag is to define the HTML element that contains the body of the HTML document.

Tag Attributes