Top Banner
HTML ONLINE LEARNING <!DOCTYPE html> <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html>
81

sanjivsangamHtml online ppt

Aug 20, 2015

Download

Internet

Sanjiv Sangam
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: sanjivsangamHtml online ppt

HTML ONLINE LEARNING

<!DOCTYPE html><html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>

Page 2: sanjivsangamHtml online ppt

HTML ONLINE LEARNING

•The DOCTYPE declaration defines the document type

•The text between <html> and </html> describes the web

page

•The text between <body> and </body> is the visible page

content

•The text between <h1> and </h1> is displayed as a heading

•The text between <p> and </p> is displayed as a paragraph

Page 3: sanjivsangamHtml online ppt

WHAT IS HTML?

•HTML is a language for describing web pages.

•HTML stands for Hyper Text Markup Language

•HTML is a markup language

•A markup language is a set of markup tags

•The tags describe document content

•HTML documents contain HTML tags and plain text

•HTML documents are also called web pages

Page 4: sanjivsangamHtml online ppt

HTML TAGS

•HTML markup tags are usually called HTML tags.

•HTML tags are keywords (tag names) surrounded by angle brackets

like <html>

•HTML tags normally come in pairs like <p> and </p>

•The first tag in a pair is the start tag, the second tag is the end tag

•The end tag is written like the start tag, with a slash before the tag

name

•Start and end tags are also called opening tags and closing tags

<tagname >content</tagname>

Page 5: sanjivsangamHtml online ppt

HTML ELEMENT

•In HTML, most elements are written with a start tag (e.g. <p>) and an end tag (e.g. </p>), with the content in between

•An HTML element is everything from the start tag to the end tag:

<p>This is a paragraph.</p>STARTING TAG ELEMENT END TAG

<P> THIS IS PARAGRAPH </P>

<A HREF=“SANGAM”> THIS IS A LINK </A>

<BR>

Page 6: sanjivsangamHtml online ppt

•An HTML element starts with a start tag / opening tag

•An HTML element ends with an end tag / closing tag

•The element content is everything between the start and

the end tag

•Some HTML elements have empty content

•Empty elements are closed in the start tag

•Most HTML elements can have attributes

Page 7: sanjivsangamHtml online ppt

Nested HTML Elements

Most HTML elements can be nested (can contain other HTML elements).HTML documents consist of nested HTML elements.

Empty HTML ElementsHTML elements with no content are called empty elements.<br> is an empty element without a closing tag (the <br> tag defines a line break).Tip: In XHTML, all elements must be closed. Adding a slash inside the start tag, like <br />, is the proper way of closing empty elements in XHTML (and XML).

Page 8: sanjivsangamHtml online ppt

HTML WEB BROWSDERS

The purpose of a web browser (such as Google Chrome, Internet Explorer, Firefox, Safari) is to read HTML documents and display them as web pages.The browser does not display the HTML tags, but uses the tags to determine how the content of the HTML page is to be presented/displayed to the user

Page 9: sanjivsangamHtml online ppt

HTML PAGE STRUCTURE

</HTML>

<HTML>

<BODY>

</BODY>

<h1>This a heading</h1>

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

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

Page 10: sanjivsangamHtml online ppt

HTML VERSIONS

VERSIONS YEAR

HTML 1991

HTML+ 1993

HTML2.0 1995

HTML 3.0 1997

HTML4.01 1999

XHTML 2000

HTML5 2012

Page 11: sanjivsangamHtml online ppt

HTML Attributes

HTML elements can have attributes

Attributes provide additional information about an element

Attributes are always specified in the start tag

Attributes come in name/value pairs like: name="value"

HTML links are defined with the <a> tag. The link address is specified in the href attribute

<a href="http://www.w3schools.com">This is a link</a>

Page 12: sanjivsangamHtml online ppt

HTML ATRIBUTES

Attribute values should always be enclosed in quotes.

Attribute names and attribute values are case-insensitive.

Page 13: sanjivsangamHtml online ppt

LIST OF HTML ATRIBUTES AND ITS DISCRIPTIONS

< !--------……….-------> → IT Defines a comment.

<!DOCTYPE>

→ IT Defines the document type.

Page 14: sanjivsangamHtml online ppt

<A HREF>……………</A> → IT Defines a HYPERLINK.

<ABBR>…………</ABBR>

→ Defines an abbreviation.The <abbr title="World Health Organiza- tion">WHO</abbr> was founded in 1948.

Page 15: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 16: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 17: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 18: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 19: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 20: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 21: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 22: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 23: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 24: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 25: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 26: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 27: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 28: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 29: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 30: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 31: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 32: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 33: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 34: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 35: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 36: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 37: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 38: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 39: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 40: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 41: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 42: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 43: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 44: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 45: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 46: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 47: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 48: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 49: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 50: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 51: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 52: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 53: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 54: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 55: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 56: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 57: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 58: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 59: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 60: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 61: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 62: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 63: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 64: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 65: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 66: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 67: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 68: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 69: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 70: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 71: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 72: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 73: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 74: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 75: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 76: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 77: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 78: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 79: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 80: sanjivsangamHtml online ppt

→ IT Defines a comment.

Page 81: sanjivsangamHtml online ppt

→ IT Defines a comment.