HTML Tutorials


Paragraphs

One the last page, I insinuated something without saying it outright: Your web browser can read text! Think about how remarkable that is. Can you think of any other computer programs that can read? This is where the "Language" aspect of HyperText Markup Language comes into play: HTML is the language that web browsers speak! We write HTML for browsers to understand! This is a very powerful concept: have you ever written something before that something other than a human being could understand?

Let's get back into learning some tags. Want to write some text? Write it inside a paragraph tag! The paragraph tag looks like this: <p></p>. Try the code below and see if you get the same result.



Code

<!DOCTYPE html>
<html>
  <head>
    <title>Paragraphs!</title>
  </head>

  <body>
    <p>This is a paragraph! Super cool right?</p>

    <p>This is another paragraph!</p>
  </body>
</html>

Result

This is a paragraph! Super cool right?

This is another paragraph!