Wednesday, 5 November 2014

Working with HTML

HTML stands for 'Hyper Text Mark-up Language' and is a simple language that anyone can learn and is used for making web pages.the html language is made up of tags that are enclosed in angle brakets, a webpage is completly enclosed within the html tags. Take a look below The first <HEAD> tag tells the browser that it is reading the head of a html document. The </HEAD> tag with the / in it tells the browser that the head part has ended.The first <TITLE> tag tells the browser that it is reading the title of a html document. The </TITLE> tag with the / in it tells the browser that the title has ended.

Example:

<html>
<head>
<title>Page Title</title>
</head>
<body>
<center>
<h1>Welcome</h1>
</center>
//center is used for to set the align
</body>
</html>


Apply Background Color
If you want to apply background color to web page,we are using bgcolor. and if you want to apply backgroundimage to web form we are using tag <body background="winter.jpg">
<html>
<head>
<title>GK DevelopmentS</title>
</head>
<body bgcolor="red">
<p>Hello</p>------------HTML code
<?php
echo "welcome"; ----------PHP code
//echo is used for to display the information
?>
</body>
</html>

Using Headers

If you want to apply headers to web page...we have different types from h1 to h6

Example:

<h1>Welcome</h1>

<h2>Welcome</h2>

<h3>Welcome</h3>

<h4>Welcome</h4>

<h5>Welcome</h5>
<h6>Welcome</h6>

use the <B></B> tags to make text <B>bold</B>

use the <EM></EM> tags to <EM>emphasise text</EM>

use the <U></U> tags to <U>underline text</U>

use the <I></I> tags to make<I>italic text</I>

use the <strong></strong> used for bold


For Navigation from one page to another page:

<a href="register.html">Register</a> and <a href="http://www.bestsavings.in" target="_blank"> GK DevelopmentS</a>

For Image:


<img src="winter.jpg" />

No comments:

Post a Comment