>> DAVID MALAN: Let's create a web page that has a few paragraphs of text.
I've already gotten things started in a file called paragraphs.html.
And notice here I have three paragraphs of Latin text, each
separated by a blank line.
Let's go ahead and save this file, change its permissions, and
view it in a browser.
>> chmod a+r paragraphs.html.
Let's now open up Chrome and visit http://localhost /paragraphs.html.
All I see is one huge paragraph.
Now why might that be?
>> Well, it turns out that HTML is meant to be taken very literally.
You can hit Enter as many times as you want to provide white space between
paragraphs of text, but the browser is not actually going to separate those
lines of text unless you explicitly say start a paragraph here, stop
paragraph here, start a new paragraph here, stop that
paragraph here and so forth.
So we seem to need a new tag, a paragraph tag, if you will.
So let's go back to gedit and tweak things as follows.
>> Above this first paragraph of text, let's insert open
bracket, p, close bracket.
And then for style's sake, let's indent the paragraph itself.
Now below that paragraph, let's actually close the p tag with open
bracket, slash p, close bracket.
And below that, let's start a new one.
Let's indent just as we did before, and now let's close that tag as well
and open our third and final paragraph, indenting it as well and
then specify on a line of its own, close p.
>> Now definitely more verbose, but we're simply telling the browser exactly
what we mean.
So let's save the file and reload the page in Chrome.
Reloading--
and there we have three paragraphs, exactly as I intended.