HTML Notes PAGE 1
HTML Notes PAGE 1
Introduction :
Hyper Text Markup Language used mainly for creating Web Documents.
HYPER means that something which is active.
TEXT points to the text file you will be dealing with in HTML
MARKUP the contents of web pages.
LANGUAGE along with all its syntax (in HTML you can call them tags)
Origin :
It is an extended version of SGML (Standard Generalized Markup Language). SGML was initially
used to create layouts for official documents by U.S. Department of Defence. The very first
HTML document was designed by TIM BERNER LEE in 1990.
Application :
a) HTML is a language mainly used to create web documents.
b) HTML can also be used to display any document that is available on the web.
c) The web pages created by using HTML can have text, colors, and graphics.
d) The HTML elements markup the document and inform the browser that how the page should
look like, when seen in the browser.
e) HTML provides tags, which makes the document look attractive.
f) HTML allows the creation of hyperlinks to other documents.
g) It is a platform independent language. Document written in HTML can be viewed on any
computer that runs on any operating system by using a web browser.
Principles :
a) Your Web pages should be simple and well organized. the appearance of the web page should
not confuse the user.
b) You should use proper color combination on your page.
c) The background and other textures should not distract the user instead the user should find
your page interesting.
d) Always use appropriate backgrounds and images related to the text present on the web pages.
e) There must be proper space b/w the contents present on the web page.
f) The objects on the page should be well placed.
g) The size of object on the page must be appropriate.
Tools for Web Publishing:
a) A web page is created by using a text editor. The HTML files are plain ASCII text files having the
extension .HTM or .HTML. One can use either Notepad or WordPad for creating a HTML
document.
b) To view a HTML page, a web browser is also required. Generally Internet Explorer or Netscape
Navigator is used to view the pages.
TAGS:
a) An HTML document consists of text along with the set of HTML elements, commonly known as
tags.
b) The text conveys the data of a document and tags basically Markup the document.
c) The HTML elements are written inside the less than (<) and greater than (>) symbols.
Types of HTML Tags:
a) Container – It has a starting as well as ending tag. Ex. <HTML> --------------</HTML>
b) Empty Tag – An empty element does not have an ending tag. Ex - <BR>
Document Tags:
a) HTML – It is necessary for all HTML pages to have <HTML> tag which signifies the beginning of
an HTML document and </HTML> indicates the end of the HTML elements.
b) HEAD – Tag is used to denote the heading of the web page. Identifies the properties of the
entire page.
c) TITLE – Tag is used to give a title to the HTML document. It describe the contents of the page. It
will appear on the title bar of the browser window.
d) BODY – Tag contains the contents of the web page. It is the area where most of the work is
done. the contents are displayed in the browser window.