Relatively positioned tags include
tag, tag,
Operating system for this tutorial: Windows 10 system, Dell G3 computer.
Relative positioning refers to determining the position of elements by using relative positions in HTML documents. Relative positioning tags are mainly used to describe the relative positional relationship between elements. The following are some commonly used relative positioning tags:
Tag: The
tag is used to define a paragraph in an HTML document, which can contain text, pictures and other elements. By using the
tag, you can achieve relative positioning between elements.
##Tag: The
tag is used to insert pictures, which can achieve relative positioning between elements. For example, you can use the
tag to create a styled image carousel.
In short, in HTML documents, this can be achieved by using tags such as