85553 vues

HTML

Sébastien Merour
publié le 13/06/2020 à 15h46 | modifé le 13/06/2020 à 19h00
Catégorie : LangagesCommentaires (2284)
HTML
Description

HTML signifie : Hypertext Markup Language

Le langage HTML est constitué :

- de balises (tags en anglais)

- d'attributs (attributes)

- d'éléments (ce qui se trouve entre la balise ouvrante < et la balise fermante >).

Structure d'une page Web

Une page HTML est constituée au minimum :

- du doctype (pour indiquer au navigateur que le document est de type HTML)

- des balises qui elles-mêmen renferment 2 autres balises : et : ces 3 balises  sont les balises de premier niveau.

La section Head

La balise head renferme plusieurs balises qui sont interprétées par le navigateur, mais dont le contenu n'est pas affiché sur la page.

La section Head contient de nombreuses balises, parmi lesquelles nous trouvons : l'encodage de la page (le plus souvent UTF-8), le titre de la page (balise title) . On y trouve également des balises meta, des liens vers des feuilles de style CSS, et parfois des scripts en Javascript.

Les différentes balises meta et title jouent un rôle primordial pour le référencement.

La section Body

Elle contient au contraire tout ce qui sera affiché sur la page web dans le navigateur. Il existe de nombreux types de balises :

- les balises sectionnantes (permettant de diviser la page en plusieurs sections, comme header, nav, section, footer, article. Elles sont primordiales car elles donnent des indicationx aux moteurs de recherche qui parcourent les pages web).

- les balises de structuration du texte (comme les headings, les blockquotes, les paragraphes)

- les balises de listes (numérotées ou non)

- les balises de tableau (désormais déconseillées pour construire une page web, mais parfois très utiles pour construire le template d'une newsletter)

- les balises de formulaire (form, input, textarea...)

- les balises génériques (div, span...)

Mode d'affichage des éléments HTML

Il existe également une autre façon de distinguer certains types de balises.

On parle parfois en effet de :

- balises "inline" qui permettent de définir l'affichage d'un élément sans retour à la ligne. Parmi les balises inline, nous avons par exemple les balises  span, a, strong, img ...

- balises "blocks": elles occupent toute la largeur disponibles. Lorsque 2 éléments de type "blocks" se suivent, ils sont disposés par défaut l'un en dessous de l'autre. Nous avons par exemple les balises div, h1, p, ul, form, table, blockquote.

-de balises "invisibles" : elles ne s'affichent pas sur la page, comme par exemple la balise meta, inclue dans la partie head de la page.

Fonctionnalités
HTML permet d'écrire de l'hypertexte. Il permet de structurer sémantiquement et logiquement le contenu des pages web, mais aussi d'inclure des éléments multimédia tels que des images ou des vidéos.
Année de création
1992
Créateur
Web Hypertext Application Technology Working Group
Dernière version
5.2
Langage
HTML
Liens
Aux dernières nouvelles
Actuellement, la dernière version du HTML est le HTML 5. Mais les membres du groupe de travail du W3C veulent créer un HTML Living Standard, une version du HTML qui n'aurait pas de numéro de version. Ainsi le HTML serait en constante évolution.

2284 Commentaire(s)
  1. user
    realstateindianaaxPn
    08/12/2024 à 00h06  commentaire modifé
    Step-by-step guide to getting your Indiana real estate license | Indiana real estate exam tips for beginners | Overcome challenges in obtaining an Indiana real estate license indiana real estate license com | Achieve financial freedom with an Indiana real estate license | How to register for Indiana real estate courses | Prepare for the future with an Indiana realtor license | Secure your place in the market with Indiana real estate certification | Learn from the best about Indiana real estate licensing process | Learn the tricks to ace your Indiana real estate exam Indiana real estate license requirements.

  2. user
    realstateindianafpPn
    08/12/2024 à 00h06  commentaire modifé
    Discover the best ways to pass the Indiana real estate exam | Tips for preparing for the Indiana real estate license exam | Find reliable resources to get your real estate license in Indiana indiana-real-estate-license com | Prepare for the Indiana realtor license with expert tips | How to register for Indiana real estate courses | Understand the licensing requirements for real estate agents in Indiana | Secure your place in the market with Indiana real estate certification | Learn from the best about Indiana real estate licensing process | Real estate license in Indiana – your path to professional success indiana-real-estate-license.com.

  3. user
    realstateindianafmPn
    08/12/2024 à 00h06  commentaire modifé
    Discover the best ways to pass the Indiana real estate exam | Achieve your goals with an Indiana real estate license | Maximize your potential with an Indiana real estate license real estate licence Indiana | Get professional advice on real estate exams in Indiana | Improve your chances with the right preparation for Indiana real estate exam | Become an expert realtor with Indiana real estate training | Real estate license in Indiana – everything you need to know | Understand the value of an Indiana real estate license for career growth | Everything you need to know about Indiana real estate regulations indiana-real-estate-license com.

  4. user
    realstateindianapcPn
    08/12/2024 à 00h06  commentaire modifé
    Learn how to obtain a real estate license in Indiana easily | Indiana real estate exam tips for beginners | Overcome challenges in obtaining an Indiana real estate license how do you become a realtor in Indiana ssousaorg | Indiana real estate license exam: what you should know | Benefits of having a state of Indiana real estate license | Navigate the real estate licensing process in Indiana smoothly | Enhance your knowledge with Indiana real estate license courses | Learn how to prepare for the Indiana real estate licensing exam | Learn the tricks to ace your Indiana real estate exam how to become a realtor in Indiana.

  5. user
    realstateindianaabPn
    08/12/2024 à 00h05  commentaire modifé
    Find out how to become a successful realtor in Indiana | Achieve your goals with an Indiana real estate license | Make a career move with Indiana real estate license indiana-real-estate-license com | Kickstart your career with Indiana realtor license today | How to apply for an Indiana real estate license without stress | Understand the licensing requirements for real estate agents in Indiana | Indiana state real estate exam preparation tips | Indiana real estate license application steps outlined clearly | Find comprehensive resources for Indiana realtor license preparation indiana-real-estate-license.com.

Ajoutez un commentaire :