Formatting Tags

Formatting tags can be very useful when writing HTML and are more specific than creating general CSS classes for HTML elements. Formatting tags are primarily for modifying the way text appears. We can make the text bold, in italics, or even define them as a superscript or a subscript. There are a whole bunch of these so we will just focus on a few of the most often used formatting tags. These tags are just like any other HTML element in that they have closing and starting tags.

Example

Result

I am bold I am in italics Last, but not least

While these formatting tags don’t make any major changes, it is nice to use them to accent text to help user understand your point. Like I said, there are quite a few of these, but the vast majority are never used anywhere because custom CSS classes have taken over. Basically, try to stick to only using these four formatting tags, unless you absolutely need to use another formatting tag. Also, you should research these tags before using them as some of them are going to become extinct with HTML5.

References

If you enjoyed this resource, support me by sharing this page with others.
Share on Facebook
Facebook
Share on StumbleUpon
StumbleUpon
Digg this
Digg
Tweet about this on Twitter
Twitter
Share on Reddit
Reddit

Leave a Comment

  1. Check your grammar.

    First sentence after example, believe you mean to say " While these formatting changes don’t ‘Make’ any major changes"

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.