Friday 22 November 2013

Chapter 1: HTML Fundamentals

Chapter 1: HTML Fundamentals


In this chapter we will show you how to add headings,paragraphs,links and images in your webpage.


HTML Headings

HTML headings are defined with the <h1> to <h6> tags. The first heading tag is <h1>(he is the biggest), the <h2> tag is smaller than <h1>, <h3> is smaller than <h2>...etc.

EXAMPLE:
<html>
<body>

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

</body>
</html>

Result:

















HTML Paragraphs


HTML paragraphs are defined with the <p> tag.

EXAMPLE:

<html>
<body>

<p>HTML Paragraph.</p>
<p>HTML Paragraph.</p>
<p>HTML Paragraph.</p>

</body>
</html>

Result:

HTML Paragraph.HTML Paragraph.HTML Paragraph. 


HTML Links


HTML links are defined with the <a> tag.

EXAMPLE:

<html>
<body>

<a href="http://www.easilylearnhtml.blogspot.com">Easilylearnhtml</a>

</body>
</html>

Result:

Easilylearnhtml


HTML Images

HTML images are defined with the <img> tag. You can choose from where to find the image and what size to display it.

EXAMPLE:

<html>
<body>

<img src="" width="" height="" />

</body>
</html>

No comments:

Post a Comment