You are on page 1of 1

Chapter 2 Basics of HTML

HTML Headings
HTML headings are defined with the <h1> to <h6> tags. Shyntax: <h1>heading name</h1>

HTML Paragraphs
HTML paragraphs are defined with the <p> tag. Syntax: <p>content of paragraph</P>

HTML Links
HTML links are defined with the <a> tag. Syntax: <a href="http://site name eg: fun-chikki.blogspot.com ">This is a link</a>

HTML Images
HTML images are defined with the <img> tag. Syntax: <img src="image filename" height="142"> width="104"

Empty HTML Elements


HTML elements with no content are called empty elements. Syntax: <br> is an empty element without a closing tag (the <br> tag defines a line break

You might also like