HTML (Hypertext Markup Language) is a markup language used to create and structure content for the web. HTML allows you to format text, add images, and create links, among other things. Here are some basic HTML formatting elements:
This is a heading level 1
This is a heading level 2
This is a heading level 3
This is a paragraph of text.
This is another paragraph of text.
This is bold text.
This is italic text.
Ordered List:
- List item 1
- List item 2
- List item 3
Unordered List:
- List item 1
- List item 2
- List item 3
Visit Example for more information.
Column 1
Column 2
Row 1, Column 1
Row 1, Column 2
Row 2, Column 1
Row 2, Column 2
8 .Underlined text :To create underlined text in HTML, you can use the <u> tag. Here’s an example:
This is underlined text.
In the above example, the word “underlined” will be displayed with a line underneath it.
However, it’s important to note that using underlined text for regular content is generally not recommended, as it can be confused with hyperlinks, which are typically underlined in many web browsers by default. Instead, it’s better to use other formatting options such as bold, italics, or color to emphasize text.
9.Strike Text: To create strikethrough text in HTML, you can use the <strike> tag or the <s> tag. Here’s an example:
This text is strikethrough or crossed out.
In the above example, the word “strikethrough” or “crossed out” will be displayed with a line through it.
However, it’s important to note that the <strike> tag is deprecated in HTML5, and it’s recommended to use the <s> tag instead. Additionally, it’s important to use strikethrough text sparingly, as it can be difficult to read and can make your content appear cluttered or unprofessional.
10.Subscripted Text :To create subscripted text in HTML, you can use the <sub> tag. Here’s an example:
This is subscripted text: H2O
In the above example, the number “2” will be displayed as subscripted text.
Subscripted text is commonly used in scientific or mathematical contexts, such as in chemical formulas, mathematical equations, or footnotes.
11.Smaller Text:To create smaller text in HTML, you can use the <small> tag. Here’s an example:
This is smaller text.
In the above example, the words “smaller text” will be displayed in a smaller font size.
The <small> tag is typically used to indicate secondary information or disclaimers that are less important than the main content. However, it’s important to use the <small> tag appropriately and sparingly, as excessively small text can be difficult to read and can negatively affect the user experience.
12.Larger Text:To create larger text in HTML, you can use the <big> tag. Here’s an example:
This is larger text.
In the above example, the words “larger text” will be displayed in a larger font size.
However, it’s important to note that the <big> tag is deprecated in HTML5, and it’s recommended to use CSS to style text instead. You can use CSS to specify a larger font size for a specific element by using the font-size property, like this:
This is larger text using CSS.
In this example, the style attribute is used to apply the font-size property to the <p> element and set the font size to “larger”.
Learners TV is a website that is designed to educate users and provide instructional material on particular subjects and topics.