Home CS SEO HTML
Night More

Revise Now

Cambridge AS levels

Physics Chemistry Computer Science

Programming and coding

Learn HTML Learn SEO

More

What do you want
to do?

Contact us Donate Support More Services Send a tweet Social media




more topic chapters

HTML Text Formatting - pre tags & more

HTML Formatting elements

We know by using CSS styling we could style text in different ways to give different meanings. Like a red text could mean something important

Likeweise HTML has some elements to format the text to include meaning to the text. Here are the most used elements

<sup> - this is to display a supscript text

<sub> - this is to display a subscript text

<i> - used to display italics

<b> used to display bold text

<strong> - used to display enlarged text for emphasis

<small> - used to display diminished text for insignificance

<em> - used to diplay emphasised italics

<mark> - used to highlight text.Same as background-color

<del> - used to display deleted text

<ins> - used to show inserted text.Same as underline

<u> - used to diplay underline text


Most of this could be easily replicated using CSS styling except <sub> and <sup>

Moreover, the main purpose of these are not for styling but to show meaning to the users. Unfortunately this has no difference to SEO Google crawlers. They treat it equal to normal text

Here is an example

Run

Most of these we don't use but its good to know them

You can change the default styles of each element using CSS

Nevertheless the Google search does recommend you to use these when neccessary





Revisezone.com Copyright 2020 Developers & Coding section