Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Sagar HTML Notes

Sagar HTML Notes

Ratings: (0)|Views: 184 |Likes:
Published by gomsagar

More info:

Published by: gomsagar on Oct 13, 2009
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





Introduction to HTML
What is HTML?
HTML is a language made for creating the web pages for the websites.By using HTML language the even a child can make his web pages or even his ownwebsite so why not you.Here are some facts about the HTML language:
Why do Need HTML
As the HTML is a very easy language for creating the web pages. It can be learnedin few hours or in few days. It is the basic format of the HTML file it can bedisplayed on mostly operating system which supports the web browser.
Basics of HTML
What is an HTML File?
· HTML stands for Hyper Text Markup Language.· An HTML file is a text file containing small markup tags.· The markup tags tell the Web browser how to display the page.· An HTML file must have an htm or html file extension.An HTML file can be created using any simple text editor like "Notepad" of theMicrosoft Windows.First of all let me explain the above web page and how it is created, how easily itcan be created.It is very easy to insert the element in the HTML pages simply by writing their tagsand provide their attribute.
Basic Description of HTML File
The HTML file can be divided into the three parts:HTML HeaderHTML BodyHTML FooterSo let us see the Body of the HTML File:
HTML Header is the top most part of the HTML file in this section of the file wedefine the header of file and also Title of the file can be provided.HTML Body is the middle part of file, in this section we define all text and elementswhich is to displayed on web page.HTML Footer is the end section of the file.
How To Write a HTML File
To write a HTML file you need an text editor, open the text editor and start writingfile as given below:Steps to write a file & view the web page:· Open the text editor (e.g. notepad).· Write the above file in it OR copy the above file and paste it on the notepad.· Save this file as .htm or .html file extension (e.g. <filename>.htm ,<filename>.html).· Now open the Internet Browser and open the saved file.· Now you can see your web page.
The file starts from an <html> tag and ends with the </html>. <html> tagidentifies that it is an HTML file. <html> is also called as open tag and it also needits closed tag which is </html>. Between these tags we will define the Header of the file, so add the <head> tag and below it write </head> to close <head> tag.More to display the Title to the Web Browser use the special tag <title> write heretitle </title>. Text written between the <title> & </title> tag will be displayed asthe header of the your web page. The important tag is <body> tag. Whatever youwant to display on the web page you must write it in between <body> & </body>.
Basic HTML Tags
The most important tags in HTML are tags that define headings, paragraphs, bodyand line breaks. The basic HTML Tags are described here in the form of table sothat you can remind them easily.
Basic HTML Tags
TagDescription<html>Defines an HTML document<head>Defines information about the document<title>Defines the document title<body>Defines the document's body<h1> to <h6>Defines header 1 to header 6<p>Defines a paragraph<br>Inserts a single line break<hr>Defines a horizontal rule<!-->Defines a comment
Description Of The Above Tags
<html>tagThis element tells a browser that this is an HTML document. This tag is defined atthe top of the HTML file and at the end of file.Format:<html> <body>..............body of HTML.............</body></html>Example:<html> <body> this is my first page </body></html><head> tagThe head tag defines information about the document. The browser does notdisplay the "head information" to the user. The following tags can be in the headsection: <base>, <link>, <meta>, <script>, <style>, and <title>. The head tag isused between <html> and <body> tags.Format:<html> <head>.....head sections....</head><body>......body of HTML........</body></html>

Activity (15)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
androiddroid liked this
Anurag Goel liked this
dinu008 liked this
dinu008 liked this
mohit romio liked this
Rajesh Kushwaha liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->