Skip to main content

HTML formatting tags

Formatting tags in HTML.

There are different types of formatting tags in HTML and these tags are.~

  • <b>
  • <strong>
  • <i>
  • <em>
  • <mark>
  • <small>
  • <del>
  • <ins>
  • <sub>
  • <sup>

HTML formatting tags specify how the text can appear in the browser like the text should appear bold, italic, small, large, etc.



Now let’s understand each tag one by one.
Firstly we will see a bold and strong tag.
let’s understood the bold tag.
Anything that appears within the <b>…</b> tag is displayed in bold.
The HTML <b> tag defines bold text, without any extra importance.

Then we have the strong tag.
The HTML strong <strong> tag defines the text with strong importance. The content inside is typically displayed in bold.

Then we have the HTML italic and emphasis elements.
Anything that appears within <i>….</i> element is displayed in italics.
The HTML <i>the the element defines the specific part of the text in an alternate format. The content inside this tag is displayed in italic.
Usually, the italic tag is used to indicate a technical term, a phrase from another language, a thought, etc.

Next, we have the emphasized tag or element.

The HTML <em> the element defines emphasized text. The content inside is typically displayed in italic.
there is not much difference between the emphasized and italic elements both have the same use but the difference is that the italic tag is used to highlight the technical terms.

Then we have the mark element.
In the webpage, if we want to highlight a particular text then we will use the mark element.
The HTML <mark>the the the element defines the text that should be marked or highlighted:

Next, we have to delete and insert elements.
The HTML delete element defines the text that has been deleted from a document. Browsers will usually strike a line through deleted text:
The HTML <ins> the element defines a text that has been inserted into a document. Browsers will usually underline inserted text.

The next tags are subscript and superscript tags
The HTML <sub>the the element defines subscript text. Subscript text appears half a character below the normal line and is sometimes rendered in a smaller font. Subscript text can be used for chemical formulas, like H2O:
The HTML <sup>the the element defines superscript text. Superscript text appears half a character above the normal line and is sometimes rendered in a smaller font. Superscript text can be used for footnotes, like WWW

Thanks for Visiting!!!

Comments

Popular posts from this blog

Why should we learn Python ? | Python learning.

| Python Python is high level programming language, by the use of python we create complex computer programs. Python is also known as interpreted language. |  Python used in various fields     Python can be used in different ways such as: Software developers Data scientists Data Analysts Hackers Bankers Engineers Designers Doctors Scientists, etc. | Why Python is known as Python? Python is named after a comic series. Guido Van Rossum is the creator of Python. Python is an easy programming language, using python the complex programs can be written.   |  Advantages of Python Python can be used online, offline. A nd Python can be used in Smaller or big projects. Python is an Interpreter language, where Programs can be executed directly without complier.   |  Applications of Python Web application. Mathematical Computations. Graphical User Interface. And may more.....   Thanks for visit!!!

What are some of the best ways to learn programming?

1. Pick a language   with a purpose. Before you start learning code for the first time or continue your education, you should have a clear understanding of what you want to learn and why you want to learn it. Do you prefer developing games to developing websites? Think about data science. Before choosing a programming language, you should have a goal in mind because different languages have different uses. If you are interested and engaged in the subject, you will have a better understanding of the material and move much more quickly. 2. Start learning the fundamentals. Start at the bottom and work your way up once you've chosen a language to learn. Even though you might be tempted to enroll in intermediate courses or try taking multiple classes at once, it is best to master the fundamentals before moving on. You run the risk of making mistakes when you skip over the fundamentals of programming, which will become apparent as you progress through more challenging readings. After th...