L1 Info : Informatique et Document, HTML
 
◃  Ch. 9 HTML 5  ▹
 

Nouveau squelette logo html5

  • Le squelette xHTML1.0
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    	<link rel="stylesheet" type="text/css" href="style.css" />
    	<script type="text/javascript" src="script.js"></script>
    	  </head>
  • Le squelette HTML5
    <!DOCTYPE html>
    <html lang="fr">
    <head>
    	<meta charset="utf-8" />
    	<link rel="stylesheet" href="style.css" />
    	<script src="script.js"></script>
    	</head>
  • Un peu de laxisme ne fait pas de mal...