November 29, 2006
HTML for Bloggers… (3) HTML Paragraphs
Let’s continue with our HTML for Bloggers series by talking about HTML "Paragraphs". Paragraphs Paragraphs are some of the most comon html tags — they look like this:
The best way to explain the effect of the paragraph tag is by demonstration. Consider the following two lines:
If we execute them in an html browswer, they will look like this:
Notice that 2nd line was joined together with the first line. This is because html doesn’t recognize line breaks — not without a tag to help out. Consider the following code:
If we execute them in an html browswer, they will look like this:
Notice the effect of the paragraph tags — each line is now separated by a blank line. In summary:
- An HTML Paragraph separates the text into ‘paragraphs’.
- The effect of an HTML Paragraph is that the block of text in a paragraph will be separated from another block of text by a blank line.
Next time, we’ll talk about the Line Break Tag — similar in some ways to the Paragraph Tag, but has a slightly different effect. Till Then…
Spread the word
del.icio.us Digg Furl Reddit Ask BlinkList blogmarks Google Ma.gnolia RawSugar Rojo Shadows Simpy Socializer Spurl StumbleUpon Tailrank Technorati Wists Yahoo! Help











Leave a comment