XHTML and CSS Tutorial - 4 - Paragraphs and Line Breaks


<!doctype html>
<html>
<head>
<title> This is the title </title>
<body>
Thileban is the best ever. 

Because he loves bacons and eat it tooo
</body>
</html>
(it looks as long code)


<!doctype html>
<html>
<head>
<title> This is the title </title>
<body>
<p> Thileban is the best ever.  </p>

<p> Because he loves bacons and eat it tooo </p>
</body>
</html>


<!doctype html>
<html>
<head>
<title> This is the title </title>
<body>
<p> Thileban is the best ever.  <br /> Because he loves bacons and eat it tooo </p>
</body>
</html>

<!doctype html>
<html>
<head>
<title> This is the title </title>
</head>
<body>
<h1>Best Website Ever!</h1>
<p> This is my paragraph </p>

<h2>This is the second header </h2>
<p>This is the second paragraph. <br /> And now I’m done with this tutorial </p>
</body>

</html>

Comments