course content

Course Content

Ultimate HTML

Paired and Single TagsPaired and Single Tags

Paired Tags

Paired tags consist of opening and closing tags. They can wrap around the content, group items in order to change some properties or collect elements by meaning.

html

index.html

css

index.css

js

index.js

Single tags

Single Tags consists of an opening tag. All content and behavior gets in form of attributes.

html

index.html

css

index.css

js

index.js

Tag nesting

When nesting tags, it's important to follow the hierarchy order, much like nesting dolls, while still following the rules of HTML syntax.

Let’s consider the next valid example:

html

index.html

css

index.css

js

index.js

<p> - defines a paragraph (parent element);
<a> - defines a hyperlink (child element);
<em> - marks text that has stress emphasis (child element);

1. What division of tags exists in HTML?
2. What variant is valid markup?
3. What variant is valid markup?

question-icon

What division of tags exists in HTML?

Select the correct answer

question-icon

What variant is valid markup?

Select the correct answer

question-icon

What variant is valid markup?

Select the correct answer

Section 2.

Chapter 3