HR tag and align(center) attribute explained. All about HTML.

Опубликовано: 20 Март 2026
на канале: Beats of Coding
1,063
8

In this tutorial we are going to learn about the hr tag and align attribute.
Simply hr stands for horizontal rule which is used to create a line in HTML document. It makes a black line of the full size of its container.

The hr tag defines a thematic break in an HTML page (e.g. a shift of topic).
The hr element is used to separate content (or define a change) in an HTML page.
The hr tag defines a thematic break in an HTML page (e.g. a shift of topic).
The hr element is used to separate content (or define a change) in an HTML page.

Align attribute in HTML is used to align the elements by giving different values such as left, right and center.