Notes Intro To HTML
Notes Intro To HTML
1. Introduction to HTML
HTML was created by Tim Berners Lee in late 1991.
Different Versions of HTML are
2. What is HTML?
HTML, otherwise known as Hyper Text Markup Language, is the
language used to create Web pages.
It is made up from two terms :
Hypertext – lets you to organize the information to be displayed.
Markup – Special code that tells the browser how to process the HTML
document.
3. Features of HTML
Easy to understand and use.
No additional software is required to execute the HTML code.
It allows to display different multimedia components in a web page.
It can be used with all kinds of browsers.
4. TAGS
Tag tells the browser how a web page should be displayed.
It starts with a less than sign (Open angle bracket) followed by the tag
name and ends with a greater than sign (Closing angle bracket).
Example: <P>
This tag is used to create a paragraph.
5. Types of tags
Opening tag <P>
Closing tag </P>
The closing tag is similar to the opening tag except it is preceded with a
forward slash.
6. Elements
An element consists of a starting tag also known as opening tag and an
ending tag also known as closing tag with the content in between.
Example : <TITLE> My First Web page </TITLE>
7. Types of elements
Container Element has both opening and closing tags.
Example : <B> Hello </B>
8. Attributes
It provides additional information about the HTML element.
They are specified inside the opening tag after the tag name.
Example:
<FONT COLOR = “GREEN”>
In this example, Color is the attribute of the Font element, and green is
the value for the attribute.
9. Two basic tools are needed to create HTML documents
a. An HTML Editor to create and save the documents.
i. Example : Notepad
b. A web browser to view the documents.
i. Example : Internet Explorer