Basic tag Html
HTML Formatting Elements are a set of commands in the HTML language used to define the format of text on a web page, such as making text bold, italic, or underlining.
Common HTML formatting elements:
< b >: Make the text bold.
< Strong >: Make text bold and important (for SEO).
< i >: Make the text italic.
< em >: Make text italic and important (for SEO).
< mark >: Make the text highlighted or highlighted.
< small >: Make the text smaller.
< del >: Make the text have a dash line (delete).
< ins >: Make text with an underline (more).
: Make the text a subscript.
: Make the text a superscript.
Example of use:
Code
< p > This is bold < b > text < / b > and < strong > bold text that is important < / strong > < / p >
< p > This is the text < i > italics < / i > and < em > italics text that is important < / em > < / p >.
< p > This is the text < mark > that is highlighted. < / mark > < / p >
< p > This is a < small > small < / small > < / p > message.
< p > This is the deleted < del > and < ins > text. < / ins > < / p >
< p > This is the text < sub > subscript < / sub > and < sup > superscript < / sup > < / p >.
Importance of formatting elements:
Beauty:
Allows text on web pages to look interesting and easy to read.
Meaning:
Some elements, such as * * and < em >, can also convey the meaning of the text.
SEO:
Using appropriate elements such as * * and < em > helps search engines better understand the content of web pages.











































































































