SlideShare ist ein Scribd-Unternehmen logo
1 von 52
Downloaden Sie, um offline zu lesen
HTML in the real world
Texte & sémantique
Saut de ligne (1) 
The br element represents a line break. 
Source : w3.org 
br elements must be used only for line 
breaks that are actually part of the content, 
as in poems or addresses. 
Source : w3.org
Saut de ligne (2) 
<p> 
Roses are red,<br/> 
Violets are blue,<br/> 
Sugar is sweet,<br/> 
And so are you.<br/> 
</p> 
<p> 
All children, except one, grow up. They 
soon know that they will grow up, and the way 
Wendy knew was this. One day when she was 
two years old she was playing in a garden, and 
she plucked another flower and ran with it to 
her mother. You always know after you are two. 
Two is the beginning of the end. <br/><br/> 
! 
Of course they lived at 14 [their house 
number on their street], and until Wendy came 
her mother was the chief one. 
</p>
Marquer (1) 
The mark element represents a run of text 
in one document marked or highlighted for 
reference purposes, due to its relevance in 
another context. 
Source : w3.org
Marquer (2) 
<p> 
Wendy came first, then <mark>John</mark>, then Michael. 
</p>
Code informatique (1) 
The code element represents a fragment of 
computer code. 
Source : w3.org
Code informatique (2) 
<code> 
var i = 2; 
alert(i); 
</code>
Importance (1) 
The strong element represents strong 
importance, seriousness, or urgency for its 
contents. 
Source : w3.org
Importance (2) 
<p> 
We are here to ensure that <strong>every child born into this world 
receives a quality education</strong>. 
</p>
Gras (1) 
The b element represents a span of text to 
which attention is being drawn for utilitarian 
purposes without conveying any extra 
importance and with no implication of an 
alternate voice or mood, such as key words 
in a document abstract, product names in a 
review, actionable words in interactive text-driven 
software, or an article lede. 
Source : w3.org
Gras (2) 
<p> 
Le <b>phare de Djeddah</b> est un phare situé à Djeddah. 
</p>
Emphase (1) 
The em element represents stress emphasis 
of its contents. 
Source : w3.org
Emphase (2) 
<p><em>Cats</em> are cute animals.</p> 
<p>Cats <em>are</em> cute animals.</p> 
<p>Cats are <em>cute</em> animals.</p> 
<p>Cats are cute <em>animals</em>.</p>
Italique (1) 
The i element represents a span of text in an 
alternate voice or mood, or otherwise offset 
from the normal prose in a manner indicating 
a different quality of text, such as a 
taxonomic designation, a technical term 
 
Source : w3.org
Italique (2) 
<p>There is a certain <i>je ne sais quoi</i> in the air.</p>
Et bien d’autres 
 
small - cite - abbr - time
Sections & structure
Contenu (1) 
The body element represents the content of 
the document. 
Source : w3.org 
In conforming documents, there is only one 
body element. 
Source : w3.org
Contenu (2) 
<!doctype html> 
<html> 
<head> 
<title>Titre de la page</title> 
</head> 
<body> 
<h1>Super titre</h1> 
<p>Lorem ipsum</p> 
</body> 
</html>
Article (1) 
The article element represents a complete, 
or self-contained, composition in a 
document, page, application, or site and that 
is, in principle, independently distributable or 
reusable, e.g. in syndication. This could be a 
forum post, a magazine or newspaper article, 
a blog entry, a user-submitted comment, an 
interactive widget or gadget, or any other 
independent item of content. 
Source : w3.org
Article (2) 
article 
article 
article 
article 
Source : http://qz.com
Article (3) 
article
Article (4) 
<article> 
<h1>Lorem ipsum</h1> 
<p> 
Lorem ipsum dolor sit amet, consectetur 
adipiscing elit. Fusce odio magna, porta ut 
congue gravida, pharetra eu turpis. Donec 
congue pulvinar iaculis. 
</p> 
</article>
Section (1) 
The section element represents a generic 
section of a document or application. A 
section, in this context, is a thematic grouping 
of content. 
Source : w3.org
Section (2) 
Source : http://www.lemonde.fr/ 
section 
section
Section (3) 
<h1>Lorem ipsum</h1> 
<section> 
<h2>Lorem ipsum</h2> 
<p> 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
</p> 
<h2>Lorem ipsum</h2> 
<p> 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
</p> 
</section> 
<section> 
<h2>Lorem ipsum</h2> 
<p> 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
</p> 
<h2>Lorem ipsum</h2> 
<p> 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
</p> 
</section>
Navigation (1) 
The nav element represents a section of a 
page that links to other pages or to parts 
within the page: a section with navigation 
links. 
Source : w3.org
Navigation (2) 
nav 
Source : https://www.fitocracy.com/
Navigation (3) 
<nav> 
<h1>Navigation</h1> 
<ul> 
<li><a href="#">Index</a></li> 
<li><a href="#">Things</a></li> 
<li><a href="#">Other things</a></li> 
</ul> 
</nav>
Informations complémentaires (1) 
The aside element represents a section of a 
page that consists of content that is 
tangentially related to the content around 
the aside element, and which could be 
considered separate from that content. Such 
sections are often represented as sidebars in 
printed typography. 
Source : w3.org
Informations complémentaires (2) 
aside 
Source : http://www.upworthy.com/one-of-the-biggest-impacts-on-an-adults-life-is-how-they-spend-10-minutes-a-day-as-a-child?c=hpstream
Informations complémentaires (3) 
<section> 
<h1>Lorem</h1> 
<article> 
<h2>Lorem ipsum 1</h2> 
<p> 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
</p> 
</article> 
<article> 
<h2>Lorem ipsum 2</h2> 
<p> 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
</p> 
</article> 
<aside> 
<h2>Sidebar</h2> 
<ul> 
<li>Lorem 3</li> 
<li>Lorem 4</li> 
</ul> 
</aside> 
</section>
En-tĂȘte (1) 
The header element represents introductory 
content for its nearest ancestor sectioning 
content or sectioning root element. A header 
typically contains a group of introductory or 
navigational aids. 
Source : w3.org
En-tĂȘte (2) 
Source : https://medium.com/ 
header
En-tĂȘte (2) 
<header> 
<h1>Super title</h1> 
<nav> 
<ul> 
<li><a href="#">Games</a> 
<li><a href="#">Forum</a> 
<li><a href="#">Download</a> 
</ul> 
</nav> 
</header>
Pied de page (1) 
The footer element represents a footer for 
its nearest ancestor sectioning content or 
sectioning root element. A footer typically 
contains information about its section such 
as who wrote it, links to related documents, 
copyright data, and the like. 
Source : w3.org
Pied de page (2) 
Source : http://qz.com 
footer
Pied de page (3) 
<article> 
<h1>Toto</h1> 
<p> 
Lorem ipsum dolor sit amet, consectetur 
adipiscing elit. 
</p> 
<footer> 
<p>published on 2009/10/21 at 6:26pm</p> 
</footer> 
</article>
RĂ©capitulatif 
body 
header 
section 
section 
footer 
article 
article 
aside 
nav 
article nav
balises universelles
div 
The div element has no special meaning at all. 
It represents its children. 
Source : w3.org 
Authors are strongly encouraged to view the 
div element as an element of last resort, for 
when no other element is suitable. 
Source : w3.org
div (2) 
<div> 
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> 
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> 
</div>
span 
The span element doesn't mean anything on 
its own. It represents its children. 
Source : w3.org
span (2) 
<h1>Lorem ipsum <span>dolor</span> sit amet.</h1>
Les Attributs
id 
The id attribute specifies its element's unique 
identifier (ID). 
Source : w3.org 
The value must be unique amongst all the IDs in 
the element's home subtree and must contain 
at least one character. The value must not 
contain any space characters. 
Source : w3.org
id (2) 
<h1 id="brand">Lorem ipsum</h1>
class 
Every HTML element may have a class 
attribute specified. 
Source : w3.org 
The attribute, if specified, must have a value that 
is a set of space-separated tokens representing 
the various classes that the element belongs to. 
Source : w3.org
class (2) 
<p class="lorem"> 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
</p> 
<p class="lorem"> 
Proin quis rutrum justo. 
</p> 
<p class="lorem last"> 
Praesent ut ante ut nibh sollicitudin fermentum ut sed dui. 
</p>
Merci pour votre attention.
Bibliographie 
A vocabulary and associated APIs for HTML and XHTML - W3C 
http://www.w3.org/TR/html5/ 
HTML5 : structure globale du document -Simon-K 
http://www.alsacreations.com/article/lire/1374-html-5-structure-globale-du-document.html

Weitere Àhnliche Inhalte

Was ist angesagt?

Semantic Web Austin Yahoo
Semantic Web Austin YahooSemantic Web Austin Yahoo
Semantic Web Austin YahooPeter Mika
 
Enhance Your Google Search
Enhance Your Google SearchEnhance Your Google Search
Enhance Your Google SearchValentini Mellas
 
Google search techniques
Google search techniquesGoogle search techniques
Google search techniquesNirav Ranpara
 
Google search techniques
Google search techniquesGoogle search techniques
Google search techniquesOusman Faal
 
basketball theme
basketball themebasketball theme
basketball themeGiwrgos Mpeis
 
Advanced Internet Searching
Advanced Internet SearchingAdvanced Internet Searching
Advanced Internet SearchingPhil Bradley
 

Was ist angesagt? (6)

Semantic Web Austin Yahoo
Semantic Web Austin YahooSemantic Web Austin Yahoo
Semantic Web Austin Yahoo
 
Enhance Your Google Search
Enhance Your Google SearchEnhance Your Google Search
Enhance Your Google Search
 
Google search techniques
Google search techniquesGoogle search techniques
Google search techniques
 
Google search techniques
Google search techniquesGoogle search techniques
Google search techniques
 
basketball theme
basketball themebasketball theme
basketball theme
 
Advanced Internet Searching
Advanced Internet SearchingAdvanced Internet Searching
Advanced Internet Searching
 

Andere mochten auch

Architecture logicielle #2 : TP timezone
Architecture logicielle #2 : TP timezoneArchitecture logicielle #2 : TP timezone
Architecture logicielle #2 : TP timezoneJean Michel
 
Wordpress #3 : content strategie
Wordpress #3 : content strategieWordpress #3 : content strategie
Wordpress #3 : content strategieJean Michel
 
Javascript #4.1 : fonctions for noobs
Javascript #4.1 : fonctions for noobsJavascript #4.1 : fonctions for noobs
Javascript #4.1 : fonctions for noobsJean Michel
 
Gestion de projet #3 : besoin client
Gestion de projet #3 : besoin clientGestion de projet #3 : besoin client
Gestion de projet #3 : besoin clientJean Michel
 
Projet timezone
Projet timezoneProjet timezone
Projet timezoneJean Michel
 
Javascript #8 : événements
Javascript #8 : événementsJavascript #8 : événements
Javascript #8 : événementsJean Michel
 
Javascript #9 : barbarian quest
Javascript #9 : barbarian questJavascript #9 : barbarian quest
Javascript #9 : barbarian questJean Michel
 
Architecture logicielle #3 : object oriented design
Architecture logicielle #3 : object oriented designArchitecture logicielle #3 : object oriented design
Architecture logicielle #3 : object oriented designJean Michel
 
Architecture logicielle #5 : hipsto framework
Architecture logicielle #5 : hipsto frameworkArchitecture logicielle #5 : hipsto framework
Architecture logicielle #5 : hipsto frameworkJean Michel
 
PHP #6 : mysql
PHP #6 : mysqlPHP #6 : mysql
PHP #6 : mysqlJean Michel
 
Dev Web 101 #2 : development for dummies
Dev Web 101 #2 : development for dummiesDev Web 101 #2 : development for dummies
Dev Web 101 #2 : development for dummiesJean Michel
 
WebApp #4 : Consuming REST APIs
WebApp #4 : Consuming REST APIs WebApp #4 : Consuming REST APIs
WebApp #4 : Consuming REST APIs Jean Michel
 
PHP #4 : sessions & cookies
PHP #4 : sessions & cookiesPHP #4 : sessions & cookies
PHP #4 : sessions & cookiesJean Michel
 
Gestion de projet #4 : spécification
Gestion de projet #4 : spécificationGestion de projet #4 : spécification
Gestion de projet #4 : spécificationJean Michel
 
Javascript #10 : canvas
Javascript #10 : canvasJavascript #10 : canvas
Javascript #10 : canvasJean Michel
 
WebApp #2 : responsive design
WebApp #2 : responsive designWebApp #2 : responsive design
WebApp #2 : responsive designJean Michel
 
PHP #7 : guess who?
PHP #7 : guess who?PHP #7 : guess who?
PHP #7 : guess who?Jean Michel
 
Architecture logicielle #4 : mvc
Architecture logicielle #4 : mvcArchitecture logicielle #4 : mvc
Architecture logicielle #4 : mvcJean Michel
 
Wordpress #2 : customisation
Wordpress #2 : customisationWordpress #2 : customisation
Wordpress #2 : customisationJean Michel
 
Javascript #11: Space invader
Javascript #11: Space invaderJavascript #11: Space invader
Javascript #11: Space invaderJean Michel
 

Andere mochten auch (20)

Architecture logicielle #2 : TP timezone
Architecture logicielle #2 : TP timezoneArchitecture logicielle #2 : TP timezone
Architecture logicielle #2 : TP timezone
 
Wordpress #3 : content strategie
Wordpress #3 : content strategieWordpress #3 : content strategie
Wordpress #3 : content strategie
 
Javascript #4.1 : fonctions for noobs
Javascript #4.1 : fonctions for noobsJavascript #4.1 : fonctions for noobs
Javascript #4.1 : fonctions for noobs
 
Gestion de projet #3 : besoin client
Gestion de projet #3 : besoin clientGestion de projet #3 : besoin client
Gestion de projet #3 : besoin client
 
Projet timezone
Projet timezoneProjet timezone
Projet timezone
 
Javascript #8 : événements
Javascript #8 : événementsJavascript #8 : événements
Javascript #8 : événements
 
Javascript #9 : barbarian quest
Javascript #9 : barbarian questJavascript #9 : barbarian quest
Javascript #9 : barbarian quest
 
Architecture logicielle #3 : object oriented design
Architecture logicielle #3 : object oriented designArchitecture logicielle #3 : object oriented design
Architecture logicielle #3 : object oriented design
 
Architecture logicielle #5 : hipsto framework
Architecture logicielle #5 : hipsto frameworkArchitecture logicielle #5 : hipsto framework
Architecture logicielle #5 : hipsto framework
 
PHP #6 : mysql
PHP #6 : mysqlPHP #6 : mysql
PHP #6 : mysql
 
Dev Web 101 #2 : development for dummies
Dev Web 101 #2 : development for dummiesDev Web 101 #2 : development for dummies
Dev Web 101 #2 : development for dummies
 
WebApp #4 : Consuming REST APIs
WebApp #4 : Consuming REST APIs WebApp #4 : Consuming REST APIs
WebApp #4 : Consuming REST APIs
 
PHP #4 : sessions & cookies
PHP #4 : sessions & cookiesPHP #4 : sessions & cookies
PHP #4 : sessions & cookies
 
Gestion de projet #4 : spécification
Gestion de projet #4 : spécificationGestion de projet #4 : spécification
Gestion de projet #4 : spécification
 
Javascript #10 : canvas
Javascript #10 : canvasJavascript #10 : canvas
Javascript #10 : canvas
 
WebApp #2 : responsive design
WebApp #2 : responsive designWebApp #2 : responsive design
WebApp #2 : responsive design
 
PHP #7 : guess who?
PHP #7 : guess who?PHP #7 : guess who?
PHP #7 : guess who?
 
Architecture logicielle #4 : mvc
Architecture logicielle #4 : mvcArchitecture logicielle #4 : mvc
Architecture logicielle #4 : mvc
 
Wordpress #2 : customisation
Wordpress #2 : customisationWordpress #2 : customisation
Wordpress #2 : customisation
 
Javascript #11: Space invader
Javascript #11: Space invaderJavascript #11: Space invader
Javascript #11: Space invader
 

Ähnlich wie #3 html in the real world

Bangla HTML Tutorial
Bangla HTML TutorialBangla HTML Tutorial
Bangla HTML TutorialDhiman Biswas
 
BUSN 201 Writing Assignment Rubric NO ABSTRACTS PLEASE .docx
BUSN 201 Writing Assignment Rubric NO ABSTRACTS PLEASE  .docxBUSN 201 Writing Assignment Rubric NO ABSTRACTS PLEASE  .docx
BUSN 201 Writing Assignment Rubric NO ABSTRACTS PLEASE .docxRAHUL126667
 
presentation_html_5_ppt_1444491485_163390.pptx
presentation_html_5_ppt_1444491485_163390.pptxpresentation_html_5_ppt_1444491485_163390.pptx
presentation_html_5_ppt_1444491485_163390.pptxssuser8001a61
 
Coding for Designers. A primer. By Fabian Fabian
Coding for Designers. A primer. By Fabian FabianCoding for Designers. A primer. By Fabian Fabian
Coding for Designers. A primer. By Fabian FabianCodemotion
 
Let's write a PDF file
Let's write a PDF fileLet's write a PDF file
Let's write a PDF fileAnge Albertini
 
RDataMining slides-text-mining-with-r
RDataMining slides-text-mining-with-rRDataMining slides-text-mining-with-r
RDataMining slides-text-mining-with-rYanchang Zhao
 
03 HTML #burningkeyboards
03 HTML #burningkeyboards03 HTML #burningkeyboards
03 HTML #burningkeyboardsDenis Ristic
 
Can You Use I In A Narrative Essay
Can You Use I In A Narrative EssayCan You Use I In A Narrative Essay
Can You Use I In A Narrative EssayAndrea Lawson
 

Ähnlich wie #3 html in the real world (12)

Bangla HTML Tutorial
Bangla HTML TutorialBangla HTML Tutorial
Bangla HTML Tutorial
 
BUSN 201 Writing Assignment Rubric NO ABSTRACTS PLEASE .docx
BUSN 201 Writing Assignment Rubric NO ABSTRACTS PLEASE  .docxBUSN 201 Writing Assignment Rubric NO ABSTRACTS PLEASE  .docx
BUSN 201 Writing Assignment Rubric NO ABSTRACTS PLEASE .docx
 
presentation_html_5_ppt_1444491485_163390.pptx
presentation_html_5_ppt_1444491485_163390.pptxpresentation_html_5_ppt_1444491485_163390.pptx
presentation_html_5_ppt_1444491485_163390.pptx
 
Coding for Designers. A primer. By Fabian Fabian
Coding for Designers. A primer. By Fabian FabianCoding for Designers. A primer. By Fabian Fabian
Coding for Designers. A primer. By Fabian Fabian
 
web terms
web termsweb terms
web terms
 
Resource Browser
Resource BrowserResource Browser
Resource Browser
 
Data in RDF
Data in RDFData in RDF
Data in RDF
 
Let's write a PDF file
Let's write a PDF fileLet's write a PDF file
Let's write a PDF file
 
RDataMining slides-text-mining-with-r
RDataMining slides-text-mining-with-rRDataMining slides-text-mining-with-r
RDataMining slides-text-mining-with-r
 
03 HTML #burningkeyboards
03 HTML #burningkeyboards03 HTML #burningkeyboards
03 HTML #burningkeyboards
 
Introduction to WEB HTML, CSS
Introduction to WEB HTML, CSSIntroduction to WEB HTML, CSS
Introduction to WEB HTML, CSS
 
Can You Use I In A Narrative Essay
Can You Use I In A Narrative EssayCan You Use I In A Narrative Essay
Can You Use I In A Narrative Essay
 

Mehr von Jean Michel

Startup #7 : how to get customers
Startup #7 : how to get customersStartup #7 : how to get customers
Startup #7 : how to get customersJean Michel
 
Javascript #2.2 : jQuery
Javascript #2.2 : jQueryJavascript #2.2 : jQuery
Javascript #2.2 : jQueryJean Michel
 
HTML & CSS #10 : Bootstrap
HTML & CSS #10 : BootstrapHTML & CSS #10 : Bootstrap
HTML & CSS #10 : BootstrapJean Michel
 
Architecture logicielle #1 : introduction
Architecture logicielle #1 : introductionArchitecture logicielle #1 : introduction
Architecture logicielle #1 : introductionJean Michel
 
Wordpress #1 : introduction
Wordpress #1 : introductionWordpress #1 : introduction
Wordpress #1 : introductionJean Michel
 
PHP & MYSQL #5 : fonctions
PHP & MYSQL #5 :  fonctionsPHP & MYSQL #5 :  fonctions
PHP & MYSQL #5 : fonctionsJean Michel
 
PHP #3 : tableaux & formulaires
PHP #3 : tableaux & formulairesPHP #3 : tableaux & formulaires
PHP #3 : tableaux & formulairesJean Michel
 
PHP #2 : variables, conditions & boucles
PHP #2 : variables, conditions & boucles PHP #2 : variables, conditions & boucles
PHP #2 : variables, conditions & boucles Jean Michel
 
PHP #1 : introduction
PHP #1 : introductionPHP #1 : introduction
PHP #1 : introductionJean Michel
 
Startup #5 : pitch
Startup #5 : pitchStartup #5 : pitch
Startup #5 : pitchJean Michel
 
Projet timezone
Projet timezoneProjet timezone
Projet timezoneJean Michel
 
WebApp #3 : API
WebApp #3 : APIWebApp #3 : API
WebApp #3 : APIJean Michel
 
WebApp #1 : introduction
WebApp #1 : introductionWebApp #1 : introduction
WebApp #1 : introductionJean Michel
 

Mehr von Jean Michel (13)

Startup #7 : how to get customers
Startup #7 : how to get customersStartup #7 : how to get customers
Startup #7 : how to get customers
 
Javascript #2.2 : jQuery
Javascript #2.2 : jQueryJavascript #2.2 : jQuery
Javascript #2.2 : jQuery
 
HTML & CSS #10 : Bootstrap
HTML & CSS #10 : BootstrapHTML & CSS #10 : Bootstrap
HTML & CSS #10 : Bootstrap
 
Architecture logicielle #1 : introduction
Architecture logicielle #1 : introductionArchitecture logicielle #1 : introduction
Architecture logicielle #1 : introduction
 
Wordpress #1 : introduction
Wordpress #1 : introductionWordpress #1 : introduction
Wordpress #1 : introduction
 
PHP & MYSQL #5 : fonctions
PHP & MYSQL #5 :  fonctionsPHP & MYSQL #5 :  fonctions
PHP & MYSQL #5 : fonctions
 
PHP #3 : tableaux & formulaires
PHP #3 : tableaux & formulairesPHP #3 : tableaux & formulaires
PHP #3 : tableaux & formulaires
 
PHP #2 : variables, conditions & boucles
PHP #2 : variables, conditions & boucles PHP #2 : variables, conditions & boucles
PHP #2 : variables, conditions & boucles
 
PHP #1 : introduction
PHP #1 : introductionPHP #1 : introduction
PHP #1 : introduction
 
Startup #5 : pitch
Startup #5 : pitchStartup #5 : pitch
Startup #5 : pitch
 
Projet timezone
Projet timezoneProjet timezone
Projet timezone
 
WebApp #3 : API
WebApp #3 : APIWebApp #3 : API
WebApp #3 : API
 
WebApp #1 : introduction
WebApp #1 : introductionWebApp #1 : introduction
WebApp #1 : introduction
 

KĂŒrzlich hochgeladen

How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...
(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...
(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...gurkirankumar98700
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
CALL ON ➄8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂
CALL ON ➄8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂CALL ON ➄8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂
CALL ON ➄8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂anilsa9823
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 

KĂŒrzlich hochgeladen (20)

How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...
(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...
(Genuine) Escort Service Lucknow | Starting â‚č,5K To @25k with A/C đŸ§‘đŸœâ€â€ïžâ€đŸ§‘đŸ» 89...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
CALL ON ➄8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂
CALL ON ➄8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂CALL ON ➄8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂
CALL ON ➄8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂
 
Call Girls In Mukherjee Nagar đŸ“± 9999965857 đŸ€© Delhi đŸ«Š HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar đŸ“±  9999965857  đŸ€© Delhi đŸ«Š HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar đŸ“±  9999965857  đŸ€© Delhi đŸ«Š HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar đŸ“± 9999965857 đŸ€© Delhi đŸ«Š HOT AND SEXY VVIP 🍎 SE...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 

#3 html in the real world

  • 1. HTML in the real world
  • 3. Saut de ligne (1) The br element represents a line break. Source : w3.org br elements must be used only for line breaks that are actually part of the content, as in poems or addresses. Source : w3.org
  • 4. Saut de ligne (2) <p> Roses are red,<br/> Violets are blue,<br/> Sugar is sweet,<br/> And so are you.<br/> </p> <p> All children, except one, grow up. They soon know that they will grow up, and the way Wendy knew was this. One day when she was two years old she was playing in a garden, and she plucked another flower and ran with it to her mother. You always know after you are two. Two is the beginning of the end. <br/><br/> ! Of course they lived at 14 [their house number on their street], and until Wendy came her mother was the chief one. </p>
  • 5. Marquer (1) The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. Source : w3.org
  • 6. Marquer (2) <p> Wendy came first, then <mark>John</mark>, then Michael. </p>
  • 7. Code informatique (1) The code element represents a fragment of computer code. Source : w3.org
  • 8. Code informatique (2) <code> var i = 2; alert(i); </code>
  • 9. Importance (1) The strong element represents strong importance, seriousness, or urgency for its contents. Source : w3.org
  • 10. Importance (2) <p> We are here to ensure that <strong>every child born into this world receives a quality education</strong>. </p>
  • 11. Gras (1) The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede. Source : w3.org
  • 12. Gras (2) <p> Le <b>phare de Djeddah</b> est un phare situĂ© Ă  Djeddah. </p>
  • 13. Emphase (1) The em element represents stress emphasis of its contents. Source : w3.org
  • 14. Emphase (2) <p><em>Cats</em> are cute animals.</p> <p>Cats <em>are</em> cute animals.</p> <p>Cats are <em>cute</em> animals.</p> <p>Cats are cute <em>animals</em>.</p>
  • 15. Italique (1) The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term 
 Source : w3.org
  • 16. Italique (2) <p>There is a certain <i>je ne sais quoi</i> in the air.</p>
  • 17. Et bien d’autres 
 small - cite - abbr - time
  • 19. Contenu (1) The body element represents the content of the document. Source : w3.org In conforming documents, there is only one body element. Source : w3.org
  • 20. Contenu (2) <!doctype html> <html> <head> <title>Titre de la page</title> </head> <body> <h1>Super titre</h1> <p>Lorem ipsum</p> </body> </html>
  • 21. Article (1) The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Source : w3.org
  • 22. Article (2) article article article article Source : http://qz.com
  • 24. Article (4) <article> <h1>Lorem ipsum</h1> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce odio magna, porta ut congue gravida, pharetra eu turpis. Donec congue pulvinar iaculis. </p> </article>
  • 25. Section (1) The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Source : w3.org
  • 26. Section (2) Source : http://www.lemonde.fr/ section section
  • 27. Section (3) <h1>Lorem ipsum</h1> <section> <h2>Lorem ipsum</h2> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p> <h2>Lorem ipsum</h2> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p> </section> <section> <h2>Lorem ipsum</h2> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p> <h2>Lorem ipsum</h2> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p> </section>
  • 28. Navigation (1) The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links. Source : w3.org
  • 29. Navigation (2) nav Source : https://www.fitocracy.com/
  • 30. Navigation (3) <nav> <h1>Navigation</h1> <ul> <li><a href="#">Index</a></li> <li><a href="#">Things</a></li> <li><a href="#">Other things</a></li> </ul> </nav>
  • 31. Informations complĂ©mentaires (1) The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography. Source : w3.org
  • 32. Informations complĂ©mentaires (2) aside Source : http://www.upworthy.com/one-of-the-biggest-impacts-on-an-adults-life-is-how-they-spend-10-minutes-a-day-as-a-child?c=hpstream
  • 33. Informations complĂ©mentaires (3) <section> <h1>Lorem</h1> <article> <h2>Lorem ipsum 1</h2> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p> </article> <article> <h2>Lorem ipsum 2</h2> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p> </article> <aside> <h2>Sidebar</h2> <ul> <li>Lorem 3</li> <li>Lorem 4</li> </ul> </aside> </section>
  • 34. En-tĂȘte (1) The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. Source : w3.org
  • 35. En-tĂȘte (2) Source : https://medium.com/ header
  • 36. En-tĂȘte (2) <header> <h1>Super title</h1> <nav> <ul> <li><a href="#">Games</a> <li><a href="#">Forum</a> <li><a href="#">Download</a> </ul> </nav> </header>
  • 37. Pied de page (1) The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like. Source : w3.org
  • 38. Pied de page (2) Source : http://qz.com footer
  • 39. Pied de page (3) <article> <h1>Toto</h1> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p> <footer> <p>published on 2009/10/21 at 6:26pm</p> </footer> </article>
  • 40. RĂ©capitulatif body header section section footer article article aside nav article nav
  • 42. div The div element has no special meaning at all. It represents its children. Source : w3.org Authors are strongly encouraged to view the div element as an element of last resort, for when no other element is suitable. Source : w3.org
  • 43. div (2) <div> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> </div>
  • 44. span The span element doesn't mean anything on its own. It represents its children. Source : w3.org
  • 45. span (2) <h1>Lorem ipsum <span>dolor</span> sit amet.</h1>
  • 47. id The id attribute specifies its element's unique identifier (ID). Source : w3.org The value must be unique amongst all the IDs in the element's home subtree and must contain at least one character. The value must not contain any space characters. Source : w3.org
  • 48. id (2) <h1 id="brand">Lorem ipsum</h1>
  • 49. class Every HTML element may have a class attribute specified. Source : w3.org The attribute, if specified, must have a value that is a set of space-separated tokens representing the various classes that the element belongs to. Source : w3.org
  • 50. class (2) <p class="lorem"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p> <p class="lorem"> Proin quis rutrum justo. </p> <p class="lorem last"> Praesent ut ante ut nibh sollicitudin fermentum ut sed dui. </p>
  • 51. Merci pour votre attention.
  • 52. Bibliographie A vocabulary and associated APIs for HTML and XHTML - W3C http://www.w3.org/TR/html5/ HTML5 : structure globale du document -Simon-K http://www.alsacreations.com/article/lire/1374-html-5-structure-globale-du-document.html