Some tags in HTML are provided only for text formatting. Using these tags you can control the presentation and position of text on the web page. Like you can bold or underline the text. In any text editor you can do this with a button click, but in HTML you use tags for this. There are some common formatting types that you apply on text.
In the following example you can see how we have shown the most commonly used formatting tags. Now, let's try to understand how these tags basically work:
This is bold text.
This is italic text.
This is highlighted text.
This is emphasized text.
This is computer code
.
This is strongly important text.
This is smaller text.
This is deleted text.
This is inserted text.
This is subscript and superscript text.
These are some of the basic HTML formatting elements and tags you can use to structure and format your web page content. You can combine and nest these elements to create more complex layouts and designs. CSS (Cascading Style Sheets) is often used in conjunction with HTML to apply styles and further control the presentation of web pages.
Top comments (0)