Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Confused over use of paragraph
03-02-2014, 06:09 PM #1
- Join Date
- Feb 2014
- Thanked 0 Times in 0 Posts
Confused over use of paragraph
Same comment as earlier - total beginner here. No skills whatsover.
I'm realizing that I apparently don't understand the use of <p>.
Back in the day it was used as a "carriage return". And from what html validator tells me, and from what I've researched, this may no longer be true, and even the number of uses might be limited.
Is <br/> now the proper way to perform a carriage return?
03-02-2014, 07:00 PM #2
- Join Date
- Dec 2006
- Thanked 1,874 Times in 1,858 Posts
You can look to your English classes for the definition of paragraph - paragraph (ˈpærəˌɡrɑːf, -ˌɡræf) —n: 1. (in a piece of writing) one of a series of subsections each usually devoted to one idea and each usually marked by the beginning of a new line, indentation, increased interlinear space, etc
That is what the paragraph tag is for. By default it has a 16px top and bottom margin and you can set an indent if you like.
A line break, <br />, is to insert a break in a line of text. It should never be used to create space.