Tuesday, August 28, 2012

About Html


HTML (Hypertext Markup language) is a language used to develop web pages. Hypertext means a special text that works as a link and markup means way of writing layout information within document. The extension of HTML is ‘.htm’ or ‘.html’. It is created using a simple text editor. HTML tags are not case sensitive.
Web Page:
          A web page is a file containing web information.
Web Site:
          A web site is a collection of web pages.
Web Browser:
A web browser is a special type of program through which we can view our web pages. There are several programs in this category available on the market. The two most popular are Netscape Navigator and Microsoft Internet Explorer.
Web Server:
          A web server is a computer where web pages are stored.

The World Wide Web used following technologies:
Þ       HTML (Hypertext Markup Language) →Write web page
Þ       HTTP (Hyper Text Transfer Protocol) →Transmit those pages
Þ       FTP (File Transfer Protocol) →Transferring web pages.

Tags
Tags are identified by the <> or </> signs. The commands themselves are specified between the <> signs. In the case of tags which need to enclose text, the ending tag should include the slash (/) to indicate the end of the tag.
There are two types to tag:
Empty tag – no need to close tag <P>, <BR>,<IMG>,<INPUT>
Non-empty tag – has to be closed <HTML>……….</HTML>


Attributes:-
Tags can have attributes. Attributes can provide additional information about the HTML elements on your page. Attributes are always added to the start tag of an HTML element. 

Attributes of Body Tag

        Bgcolor = background color of the body
        Background = background image of the body
        Bgproperties = fixed (for no scrolling the background)
        Text = text color of the body
Syntax:-
<body bgcolor=”color name” background= “path of imagename with extension” bgproperties =“fixed” text=”color name”>
Example:

<body bgcolor="america" background=”file:///Z:/bg.jpg” bgproperties=fixed text="red">

Font set and Alignment:
Font:-
<font> welcome </font>
<font size=“1” color=“Black” Face=“Arial”> text </font>

Alignment
Left à <P Align=“left”>
Right  à <P Align=“right”>
Center  à <P Align=“center”>
Justify  à <P Align=“Justify”>

(Color Name) Some color in Hexadecimal value:
Red à#FF0000                Black à #000000
Dark Blue à #000080      Green à #00FF00
Gray à #808080              Yellow à # FFFF0
Blue à #0000FF               Dark Red à #800000
Magenta à #FF00FF                 White à #FFFFFF
Dark Green à #008000   Cyan à #00FFFF


Basic Syntax For Making Webpage.
<html>
<head>
<title>………</title>
</head>
<body>



</body>
</html>
 



No comments:

Post a Comment