Paragraph and headings in HTML tutorial

<html>
<head>
</head>
<body>
<h1 style=”font-size:250px;”> heading 1</h1>
<p>
i am using this code
to demonstrate that spaces given
in notepad means nothing in a HTML browser page
</p>
<h2> heading 2</h2>
<h3> heading 3</h3>
<h4> heading 4</h4>
<h5> heading 5</h5>
<h6> heading 6</h6>

<p>
i am using this code
to demonstrate that spaces given
in notepad means nothing in a HTML browser page
</p>

<h2>

<p>
<pre>

i am using this code
to demonstrate that spaces given
<hr></hr>

in notepad means
nothing in a HTML browser page</pre>
</p>

&nbsp;

</body>
</html>

Paragraphs and headings

Live demonstration with code
Copy the code from the link in the description

Headings

h1 to h6
<h1> heading 1</h1>
<h2> heading 2</h2>
<h3> heading 3</h3>
<h4> heading 4</h4>
<h5> heading 5</h5>
<h6> heading 6</h6>

Can be used with style attribute
<h1 style=”font-size:250px;”>Heading 1</h1>

paragraphs-

<p>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

<p>
i am using this code
to demonstrate that spaces given
in notepad means nothing in a HTML browser page
</p>

<pre>

<hr>

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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