Home » » HTML

Advantage

H.T.M.L.

INTRODUCTION

       An HTML (Hyper text Markup Language) document is essentially a text file with special tags to help your web browser display its content. HTML formats text, graphics and structure in individual web pages. web page must use correct syntax in order for web browsers to understand and display them correctly. It supports style sheet, scripting language and server side codes. HTML is a markup language. Some popular markup languages are DHTML, SGML, XHTML, XML etc. 

HTML consists of elements, which are made up of tags, which contain attributes which often have values.

Elements - <P>

Attribute - <PALIGN = "LEFT">

Value - <Image src ="c:\images.gif" border = 0 align = "left">

 

CONTAINER TAG/PAIRED TAGS

         In html, tags that include both and on and an off tags are called container tags. these tags wrap around text in your document and perform some sort of formatting on the text. they hold or contain, the ext between the two tags. The little, HTML, head and body tags are all container tag the relevant text goes between the on and off tangs.

Container tags always have the following form :

<TAG> text being formatted or defined </TAG>

 

EMPTY TAGS/UNPAIRED TAGS

           All other tags in HTML fall into one other category, called empty tags. these tags have only an on tag there are no off tags. the reason for this is that empty tags don't act on blocks of text. Instead, they do something all on their own. an example of this would be the <HR> (horizontal rule> tag. this tag draws a line across the width of your document. For Example :

the following is the horizontal line:

<Hr> the rest of this just  more text

 

PARAGRAPH TAGS

            Paragaraph tags are basically good for keeping form data together in smaller chunks. As always paragraph tagsw will add space on eihter side of the text hthat they enclose. You don't always want to add <HR> tags just because your form needs some white space. for instance, here is a nice, short comment form.

The basic Paragaraph tags : <P>

Attributes : ALIGN = "LEFT/RIGHT/CENTER"

E.G. <P ALIGN ="LEFT"> ................</P>

 

PREFORMATTED PARAGRAPH TAGS

           The <PRE> (Preformatted text) tag is designed to allow you to keep the exact spacing and returns that you have put between the on and off tags. the basic reasoning behind this tags is the notion that every once is a while you would like your text to stay exactly and you put it for instance, in a mathematical formula, or if you create a table. While there are other ways to do both tables and math, they don't fall under the HTML 2.0 standard. On top of that, you can use M<PRE> of a number of other reasons : lists, lining up decimal for dollar figures and every poetry.

Tag : <PRE>

Attributes : ALIGN ="LEFT/RIGHT/CENTER"

e.g. <PRE> ........... </PRE>

SOURCE : SOME TEXT BOOK, WEBSTE, YOUTUBE FOR VIDEO LINK

-----------------------------------------------------------------------------------------------------------------------------------------------------
Share this video :

1 comment:

  1. Casinos Near by Mohegan Sun in Uncasville, CT
    Searching for the best 대전광역 출장샵 casino 이천 출장샵 near Mohegan Sun? Find 계룡 출장안마 reviews and compare offers at trusted online 공주 출장안마 casinos 제주도 출장마사지 in Connecticut.

    ReplyDelete

 
Support and Design Website : Swapnil Paudel |>
Copyright © 2015. COMPUTER OPERATOR NEPAL - All Rights Reserved