A slightly more complex "Hello World" page : em « Tags « HTML / CSS






A slightly more complex "Hello World" page

  
<!DOCTYPE html> 
<html> 
<head> 
<title></title> 
<style> 
h1 { text-align: center; } 
.intro-text { font: 12pt sans-serif; } 
</style> 
</head> 
<body> 
<h1> Hello World Wide Web</h1> 
<p class="intro-text"> 
Welcome to first of many webpages.<br/> 
<em>I promise</em> they will get more interesting than this. 
</p> 
</body> 
</html>

   
    
  








Related examples in the same category

1.'em' Example
2.Logical Text Elements