Vous êtes sur la page 1sur 5

INTRODUCTION TO HTML

HTML (Hypertext Markup Language) is used to create document on the World Wide Web. It is simply a collection of certain key words called Tags that are helpful in writing the document to be displayed using a browser on Internet. It is a platform independent language that can be used on any platform such as Windows, Linux, Macintosh, and so on. To display a document in web it is essential to mark-up the different elements (headings, paragraphs, tables, and so on) of the document with the HTML tags. To view a mark-up document, user has to open the document in a browser. A browser understands and interpret the HTML tags, identifies the structure of the document (which part are which) and makes decision about presentation (how the parts look) of the document. HTML also provides tags to make the document look attractive using graphics, font size and colors. User can make a link to the other document or the different section of the same document by creating Hypertext Links also known as Hyperlinks. When a browser locates a Web documents on a server, it needs a way interpret what it finds. To create a Web document, you use a special language that browser can read, called the Hypertext Markup Language (HTML). HTML is not a procedural programming language like Java, C, FORTRAN, COBOL, or Pascal. Rather it is a markup language for identifying the elements of a page so that a browser can render that page on your computer screen. In other words, HTML lets you mix Web page authoring software such as Microsoft FrontPage or Adobe regular text with markup tags describing the text. These tag elements can describe appearance, layout of the text, and the content. Although you can use Page Mill to create Web pages, to fine-tune the formatting of your Web pages, you should learn HTML.

HTML is written in the form of HTML elements consisting of tags, enclosed in angle brackets (like <html>), within the web page content. HTML tags normally come in pairs like <h1> and </h1>. 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).

OBJECTIVES
1. create, save and view a HTML document 2. format a web page using section heading tags 3. describe Ordered and Unordered lists 4. explain graphics in HTML document 5. describe hypertext links and making text/image links

Hyperlink:
The most important capability of HTML is its ability to create hyperlinks to documents elsewhere on the server and on different servers and thereby make a world-wide network of linked documents and information. A hypertext document contains links that you can select, usually by clicking a mouse, to instantly view another topic or document, often called the destination of the link. In addition to making access to other documents easy, hypertext links provides some important organizational benefits. They indicate what points or concepts you think merit special attention or further reading. In HTML, both text and images can act as anchors to link to other pages on the Web. Links are inserted using the anchor element <A>. To specify the address you would like to link to, insert the HREF attribute into the anchor tag as:<A HREF=address> This address is the location to which you would like the anchoring object to be linkes.

Structure of html document:


<html> <head> <title>.</title> </head> <body></body> </html> The <HTML> tag encloses all other HTML tags and associated text within your document. It is an optional tag. one can create an HTML document that omits these tags, and the browser can still read it and display it. </HTML>. The slash mark is always used in closing tags.

An HTML document has two distinct parts HEAD and BODY. The Format is: <HTML> <HEAD> ............. ............. ............. </HEAD> <BODY> ............. ............. ............. </BODY> </HTML>

Vous aimerez peut-être aussi