Monday, March 28, 2011

HEADING TAGS

Heading tags are used to increase or decrease the text size. "h" is used to represent the tag. The range of "h" is h1 to h6.h1 is used for large size and h6 is used for small size.
A simple program with < h > tag:
< html >
< head >
< title > HTML < /title >
< /head >
< body >
<  h1 >Hello ! < /h1 >
<  h2 >Hello ! < /h2 >
<  h3 >Hello ! < /h3 >
<  h4 >Hello ! < /h4 >
<  h5 >Hello ! < /h5 >
<  h6 >Hello ! < /h6 >
< /body >
< /html >

OUTPUT OF THE PROGRAM:

FONT TAG WITH ATTRIBUTES

Font tag is used to change the colour of text or fonts we write on the web page.We can change font style,colour and also size of that selected  fonts .
< font > tag
  • < font color=red >.............< /font >
  • < font size=7 >................< /font >
  • < font face ="Times new roman" >................. < /font >
A simple program with<  font >tag:
< html >
< head >
< title >HTML < /title >
< /head >
< body bgcolor=yellow text=blue >
< font color=red size=5 face="Times New Roman" > Hello ! < /font > How r u?
< /body >
< /html >




















Here I want to print "Hello ! " in red color and with some large size.In the < body > tag , I just open the < font > tag (write attributes according to my wish  i.e.< font color=red size=5 face="Times New Roman" >) and after that closed the tag.Open the tag before the selected  text you want to change the look of font and after that close the tag.
       Most interesting thing that you can also change the font style ..For this, just go to notepad's Format menu --Font.After that select the desired font style i.e " Times new roman "..copy ..and paste it in the program.Copy and paste is done just to avoid the spelling errors for font style.

Saturday, March 26, 2011

BODY TAG WITH THEIR ATTRIBUTES

< body > tag:
* < body bgcolor= yellow >
* < body bgcolor=yellow text=blue >
A simple program with < body > tag:
< html >
< head >
< title >HTML < /title >
< /head >
< body bgcolor=yellow text=blue >
Hello frenz !! < br >
How r u ? 
< /body >
< /html >







This is the part of output screen or web page with this body tag .



















Wednesday, March 23, 2011

HTML is all about the right use of tags.If u want to develop any web page,First u have an idea that how it looks like or what will be the apperance of the page,then just use the tags and here is your page.
Tags:
1. < b > tag: for boldness of fonts.Also we can use < strong > tag at the place of < b > tag.
2. < i > tag: for italic shape fonts.Also we can use < em > tag at the place of < i > tag.
3. < u >  tag: for underline the desired fonts.
4. < del >,< strike > tag : for deletion.
5. < big > tag : to increase the  font size.
6.  < small > tag : to decrease the font size.
7. < sup > tag : super script.
8. < sub > tag : sub script.
LETS HAVE A SIMPLE PROGRAM WITH ALL THESE TAGS:
< html >
< head >
< title > HTML tags < /title >
< /head >
< body >
< b > Bold text < /b >
< i > Italic text < /i >
< strong > Bold text < /strong >
< em > Italic text < /i >
< u > Underline text < /u >
< big > large size font < /big >
< small > small size font < /small >
X < sup > 2 < /sup >
H < sub > 2 < /sub > O
< /body >
< /html >

TRY IT..its intersting and make u more understandble to tags.
NOTE : When we use multiple tags ,just remeber close the tag first which you opens recently.
for example:
< body >
< b >< i > Hello ! have a nice day .< u > BY SHEAVY JATTANA. < /i>< /b >
< /body >
Note: No space is allowed inbetween the tags.
< i > ------right
<     i >------wrong.














Tuesday, March 22, 2011

<html>
  <head>
    <title>Hello HTML</title>
  </head>
  <body>
    Hello World!
  </body>
</html>
A simple program to print Hello World ! on 
the web page with title name of page Hello
 HTML.
TRY ITTTTT!!!!

Monday, March 21, 2011

HTML is the code behind your webpage and is what your browser looks for to display a webpage, the way the webdesigner intended it to look, and is a series of tags that tells the browser where to display what. It is really a series of simple commands that you give to the browser, just like telling your dog to sit, and because it is in plain English it is easy to learn. For example, if you want your text to show in a bold type, you command it  < bold > to be bold text < /bold >, it really is that easy.

 All tags that are opened must correspondingly be closed, just as if you are writing a quoted statement with those "inverted commas". A tag is closed this way therefore we open a new tag and close the tag

Saturday, March 19, 2011

Introduction

HTML stands for HyperText Markup Language developed by World Wide Web Consortium.HTML is the basic building-blocks of webpages.
Website- It is a collection of webpages which are linked.
Webpages- Data or information collecting pages which can be open in web browser.
Web browser- It is a software to open web pages containing html code and data.

HTML is written in the form of HTML elements consisting of tags, enclosed in angle brackets (like ), within the web page content. HTML tags normally come in pairs.The first tag in a pair is the start tag, the second tag is the end tag (they are also called opening tags and closing tags).

HTML file extension- .html,.htm
Type code- Text