What is meant by formatting in HTML?
HTML stands for HyperText Markup Language. It’s the way web pages and email templates are coded so that text is formatted and images are added. Plain Text is regular text, with no formatting options such as bold, italics, underlines, or special layout options.
b - Bold text
ex: Boldstrong - Important text
ex: Strongi - Italic text
ex: Italicem - Emphasized text
ex: Emphasizedmark - Marked text
ex: Marksmall - Small text
ex: Smalldel - Deleted text
ex:Deleteins - Inserted text
ex: Insertedsub - Subscript text
ex: X2sup - Superscript text
ex: X2u - underline text
ex: Underline
<Html> <head> <title> LearnPHPonline </title> </head> <body> <b> bold text </b> <i> italic text </i> <strong> strong text </strong> <em> emphasized text </em> <mark> mark text </mark> <small> small text</small> <sub> subscript text </sub> <sup> superscript text </sup> <u> underline text </u> </body> </html>
What is the use of pre tag in HTML?
The HTML < pre> tag is used for indicating preformatted text. The code tag surrounds the code being marked up. Browsers normally render pretext in a fixed-pitched font, with whitespace intact, and without word wrap.