0% found this document useful (0 votes)
12 views

HTML

Uploaded by

arulchristo
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

HTML

Uploaded by

arulchristo
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

HTML

By Arul Christo
WhAT IS HTML?
• HTML stands for Hyper Text Markup Language.
• HTML describes the structure of a Web page.
• HTML elements tell the browser how to display the content.
An example code snippet
• <!DOCTYPE html> • The <!DOCTYPE html> declaration defines
that this document is an HTML5 document
• <html>
• The <html> element is the root element of an
• <head> HTML page
• <title>Page Title</title> • The <head> element contains meta
information about the HTML page
• </head>
• The <title> element specifies a title for the
• <body> HTML page (which is shown in the browser's
• <h1>My First Heading</h1> title bar or in the page's tab)
• The <body> element defines the document's
• <p>My first paragraph.</p>
body, and is a container for all the visible
• </body> contents, such as headings, paragraphs,
images, hyperlinks, tables, lists, etc.
• </html>
• The <h1> element defines a large heading
• The <p> element defines a paragraph
What is an element?
• An HTML element is defined by a start tag, some content, and an end tag:
• <tagname> Content goes here... </tagname>
TREE STRUCTURE OF HTML
BASICS OF HTML:-
• All HTML documents must start with a document type declaration: <!DOCTYPE html>.
• The HTML document begins with <html> and ends with </html>.
• The visible part of the HTML document is between <body> and </body>.
• <!DOCTYPE html> ->
• <html>
• <body>
• <h1>My First Heading</h1>
• <p>My first paragraph.</p>
• </body>
• </html>

You might also like