dimanche 25 mars 2012

INTRODUCTION AU HTML

INTRODUCTION TO HTML

Presentation of HTML

The HTML ("HyperText Markup Language") is a system that formalizes the writing of a document with formatting tags indicating how the document should be presented and the links it establishes with other documents.

It allows, among other things, reading documents on the Internet from different computers using the HTTP protocol, allowing access via the network to the documents identified by a unique address called a URL.

In fact the Web is a huge living archive of formatted text, images, sounds, video, etc.. These documents are organized around a home page that guides visitors to other pages with HTML hyperlinks.


HTML is a markup language

HTML is not a programming language is a simple text file containing tags to format the text, images, etc..
A tag is a command (a name) flanked by the lower character (<) and the superior character (>) for example "<H1>".

INTRODUCTION TO HTML TAGS

How to use html tags?

HTML tags can be unique tag <br> represents such a newline.They can also work in pairs to act on the text they enclose (the end tag is then preceded by a /):

<flag> Your formatted text </ label>

Thus <b> and </ b> to bold the text they enclose: <b> This text is bold </ b>

Note: the tags are not case sensitive, that is to say that we can write them either lowercase or uppercase

Html page minimum

An HTML page is a simple text file starting with the <HTML> tag and ending with the </ HTML>. It also contains a header describing the title of the page, then uncorps where is the content of the page.

The header is delimited by the HEAD of your HTML and </ HEAD>, the body is delimited by the <BODY> </ BODY>.

Thus the minimum HTML page can be represented as follows:

<HTML>
 
<HEAD>

<TITLE> Title </ TITLE>

</ HEAD>
 
<BODY>
 
Page content
-
</ BODY>
 
</ HTML>

0 commentaires:

Enregistrer un commentaire