Sei sulla pagina 1di 3

Introduction to HTML Language: HTML is the language used to create web pages.

HTML documents have the filename extension .HTML. the HTML files are created using simple text with embedded codes. These are stored in web servers. When the web client access the website, a default or home web page in HTML format is transmitted to the user. The HTML file can display images, sounds and the multimedia objects. The objects are not actually stored in the HTML document. Instead, and external reference to a picture or multimedia objects. The objects are not actually stored in the HTML document. Instead, an external reference to a picture or multimedia object is inserted in the text of HTML document. When a user displays the HTML document in his/her web browser (say Internet explorer or Netscape Navigator), the external reference pulls up the file. Thus, an HTML page actually consists of the HTML file itself along with any additional reference, graphics and multimedia files. HTML also follows the user to embed formatting instructions in the HTML file itself. The instructions are stored with the text. In this way, any web browser can read the instructions and the format the text according to the text. In this way, any web browser can read the instructions and the format the text according to the workstation being used. FEATURES OF HTML HTML defines a set of common styles for WebPages: headings, paragraphs, lists and tables. It also define character styles. Each element has a name and is contained in a tag. The tag name is enclosed in angular brackets<>. HTML tags have a beginning and ana ending tag surrounding the text they affect. The beginning tag turns on a feature and the ending tag name preceded by a slash(/). The opening and the closing tag compose an HTML element.

TAGS IN HTML: The HMTL tag: indicates the enclosed text is a HTML document. Syntax: <Html> Entire HTML document.. </html> The head tag:

The first tag to learn is <html> its paired with </html> to encase all the other tags in an HTML page; these tags marks the beginning and ending of the file. Syntax: <Head> Head content </head> The title tag: The title of the html document is given by <title> and </title> tags The body tag: The body tag acts as a container for the body of the document. It appears after the <head> tag and is followed by the </head> tag. The <body> tas sets various after color settings and background characteristics of the document. Syntax: <Body> [ALINK=#RRGGBB] [BACKGROUND=#RRGGBB] [BRCOLOR=#RRGGBB] [LEFTMARGIN=N] [LINK=RRGGBB] [TITLE=ADVISORY TEXT] TOPMARGIN=N] [VLINK=#RRGGBB] </BODY> HEADING TAG THE HEADING TAGS (<H1>,<H2>,<H3>,<H4>,<H5>,And <H6> defines different levels of headings for the page. Syntax:

<h> [align={left,center,right} </h> Paragraph tag: Paragraph can be created by using the <p> tag element which begins a paragraph and end of the paragraph can be marked with </p> Center tag: <center> tag positions text an equal distance between the left and right edges of the document. Syntax : <center> Text </center> New line tag : A blank return tag, <BR>, which is an empty tag, is similar to a paragraph tag. No ending tag. The phrase tags are used to add structural information to text fragments, rather than the entire lines of a paragraph.

Potrebbero piacerti anche