476801 vues

HTML

Sébastien Merour
publié le 13/06/2020 à 15h46 | modifé le 13/06/2020 à 19h00
Catégorie : LangagesCommentaires (14951)
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.

14951 Commentaire(s)
  1. user
    Kevinmig
    02/06/2025 à 00h40  commentaire modifé
    Все для планшетов - новости, обзоры устройств, игр, приложений, правильный выбор, ответы на вопросы https://protabletpc.ru/

  2. user
    StanleyWah
    01/06/2025 à 23h58  commentaire modifé
    Why Choose DDoS.Market? High-Quality Attacks – Our team ensures powerful and effective DDoS attacks for accurate security testing. Competitive Pricing & Discounts – We offer attractive deals for returning customers. Trusted Reputation – Our service has earned credibility in the Dark Web due to reliability and consistent performance. Who Needs This? Security professionals assessing network defenses. Businesses conducting penetration tests. IT administrators preparing for real-world threats.

  3. user
    CarlosPar
    01/06/2025 à 23h57  commentaire modifé
    Vaping Culture in Singapore: A Lifestyle Beyond the Hype In today’s fast-paced world, people are always looking for ways to unwind, relax, and enjoy the moment — and for many, vaping has become a go-to ritual . In Singapore, where modern life moves quickly, the rise of vaping culture has brought with it a stylish escape. It's not just about the devices or the clouds of vapor — it's about flavor, convenience, and finding your own vibe. Disposable Vapes: Simple, Smooth, Ready to Go Let’s face it — nobody wants to deal with complicated setups all the time. That’s where disposable vapes shine. They’re perfect for users who want instant satisfaction who still want that satisfying hit without the hassle of charging, refilling, or replacing parts. Popular models like the VAPETAPE UNPLUG / OFFGRID, LANA ULTRA II, and SNOWWOLF SMART HD offer thousands of puffs in one easy-to-use device. Whether you're out for the day or just need something quick and easy, these disposables have got your back. New Arrivals: Fresh Gear, Fresh Experience The best part about being into vaping? There’s always something new around the corner. The latest releases like the ELFBAR ICE KING and ALADDIN ENJOY PRO MAX bring something different to the table — whether it’s colder hits . The ELFBAR RAYA D2 is another standout, offering more than just puff count — it comes with adjustable airflow , so you can really make it your own. Bundles: Smart Choices for Regular Vapers If you vape often, buying in bulk just makes sense. Combo packs like the VAPETAPE OFFGRID COMBO or the LANA BAR 10 PCS COMBO aren’t just practical — they’re also a great value choice. No more running out at the worst time, and you save a bit while you're at it. Flavors That Speak to You At the end of the day, it’s all about taste. Some days you want something icy and refreshing from the Cold Series, other times you're craving the smooth, mellow vibes of the Smooth Series. Then there are those sweet cravings — and trust us, the Sweet Series delivers. Prefer the classic richness of tobacco? There’s a whole series for that too. And if you're trying to cut back on nicotine, the Nicotine-Free Range gives you all the flavor without the buzz. Final Thoughts Vaping in Singapore isn’t just a passing trend — it’s a lifestyle choice for many. With so many options available, from pocket-sized disposables to customizable devices, there's something for everyone. Whether you're taking your first puff, or a regular enthusiast , the experience is all about what feels right to you — made personal for you.

  4. user
    StanleyWah
    01/06/2025 à 23h14  commentaire modifé
    Why Choose DDoS.Market? High-Quality Attacks – Our team ensures powerful and effective DDoS attacks for accurate security testing. Competitive Pricing & Discounts – We offer attractive deals for returning customers. Trusted Reputation – Our service has earned credibility in the Dark Web due to reliability and consistent performance. Who Needs This? Security professionals assessing network defenses. Businesses conducting penetration tests. IT administrators preparing for real-world threats.

  5. user
    vapefrofe
    01/06/2025 à 23h10  commentaire modifé
    vape singapore The Rise of Vaping in Singapore: Not Just a Fad In today’s fast-paced world, people are always looking for ways to unwind, relax, and enjoy the moment — and for many, vaping has become a daily habit. In Singapore, where modern life moves quickly, the rise of vaping culture has brought with it a new kind of chill . It's not just about the devices or the clouds of vapor — it's about flavor, convenience, and finding your own vibe. Disposable Vapes: Simple, Smooth, Ready to Go Let’s face it — nobody wants to deal with complicated setups all the time. That’s where disposable vapes shine. They’re perfect for users who want instant satisfaction who still want that satisfying hit without the hassle of charging, refilling, or replacing parts. Popular models like the VAPETAPE UNPLUG / OFFGRID, LANA ULTRA II, and SNOWWOLF SMART HD offer thousands of puffs in one sleek little package . Whether you're out for the day or just need something quick and easy, these disposables have got your back. New Arrivals: Fresh Gear, Fresh Experience The best part about being into vaping? There’s always something new around the corner. The latest releases like the ELFBAR ICE KING and ALADDIN ENJOY PRO MAX bring something different to the table — whether it’s enhanced user experience. The ELFBAR RAYA D2 is another standout, offering more than just puff count — it comes with adjustable airflow , so you can really make it your own. Bundles: Smart Choices for Regular Vapers If you vape often, buying in bulk just makes sense. Combo packs like the VAPETAPE OFFGRID COMBO or the LANA BAR 10 PCS COMBO aren’t just practical — they’re also a smart investment . No more running out at the worst time, and you save a bit while you're at it. Flavors That Speak to You At the end of the day, it’s all about taste. Some days you want something icy and refreshing from the Cold Series, other times you're craving the smooth, mellow vibes of the Smooth Series. Then there are those sweet cravings — and trust us, the Sweet Series delivers. Prefer the classic richness of tobacco? There’s a whole series for that too. And if you're trying to cut back on nicotine, the Pure Flavor Collection gives you all the flavor without the buzz. Final Thoughts Vaping in Singapore isn’t just a passing trend — it’s a lifestyle choice for many. With so many options available, from pocket-sized disposables to customizable devices, there's something for everyone. Whether you're just starting out , or an experienced user , the experience is all about what feels right to you — made personal for you.

Ajoutez un commentaire :