html text formatting

Html text formatting follows as
HTML (Hypertext Markup Language) is a language used to create and structure web pages. 
To format text in HTML, you can use various tags such as:

<p> for paragraphs.
<h1> to <h6> for headings.
<strong> and <em> for bold and italic text.
<mark> to highlight text.
<del> to strike through text.
<sub> and <sup> for subscript and superscript text.
<blockquote> for block quotations.
<b> bold a text.
<u> underline a text.
<code>defines text as a code.
<q>enquotes a text.
For example, to create a heading, you can use the <h1> tag:
<h1>This is a heading</h1>

To make text bold you can use the <strong> tag:
<p>This is a <strong>bold</strong> text</p>

Or the <b> tag

<p>This is a <b>bold</b> text</p>

You can also use CSS to format text, which allows for more advanced styling options.





No comments:

Post a Comment