Monday, 14 December 2015

WHAT IS HTML?
Ø HTML is a language for describing web pages.
Ø HTML stands for Hypertext Markup Language.
Ø HTML is not a programming language, it is a markup language.
Ø HTML uses markup tags to describe web pages.

2.2 WHAT IS HTML documents?
·      HTML documents describe web pages
·      HTML documents contain html tags and plain text.

2.3 HTML document tags
The first html tags you are going to look are document tags. They define different parts of html documents.
An html doc has two distinct parts- a head and a body. The head of html is where you enter the title of the page. To create a head portion in html doc, type the following-
<HEAD>
<TITLE> My first page </TITLE>
</HEAD>
The body is where you will enter text, graphics and all other web goodies. To create a body portion in html doc, type the following-
 <BODY>
Your text
</BODY>
2.4 HTML ELEMENT
The HTML element is contained within </HTML> tag. The HTML tag informs the browser that it is dealing with an html document. This element simply denotes that this is an html document.

BACKGROUND ATTRIBUTE
This allows you to specify an image file to use as a background behind the displayed text and graphics. There are two options that can be changed in the background.
·      bgcolor  changes the background to a solid color.
<html>
<head>
<title> background color</title>
</head>
<body bgcolor=”orange”>
<h1> hello my name is paramveer singh</h1>
</body>
</html>
FONT ELEMENT
The font element can let you change the size, color and type face of text on an html page. Font tags can be set for a character, sentence or an entire document.

Thank you
for more information , keep up with me!!!

No comments:

Post a Comment