HomeХобби и стильRelated VideosMore From: TechnicalCafe

HTML Tutorial 2 - Adding and Spacing Text

18 ratings | 9669 views
In this tutorial, we learn how to add text to the body of an HTML webpage, as well as how to use the paragraph tags to include spaces between the lines of text that are on the page, in order to make it look more "clean" and organized. If you have any questions, comments, or suggestions, please feel free to leave a comment below or to contact me on Twitter, or by e-mail, using the "Contact" form on TechnicalCafe.com. Thank you for watching!
Html code for embedding videos on your blog
Text Comments (10)
Anthony Nguyen (1 year ago)
How do we remove spaces sorry I didn't watch the video
Anthony Nguyen (1 year ago)
Thank you : )
TechnicalCafe (1 year ago)
+Anthony Nguyen Spaces between lines can be added and removed by adding and removing <br /> tags. You can also put text within a set of paragraph <p></p> tags to add some spacing above and below the paragraph.
Shacancer (1 year ago)
Thanks man! You saved the day:) !
TechnicalCafe (1 year ago)
Thank you for watching! Please let me know if you have any questions, comments, or suggestions!
TechnicalCafe (5 years ago)
Hello, Alexandra Jordan! My apologies for taking a while to respond to your comment! As for your question, I don't believe there is a way to double space text or paragraphs using HTML alone. However, it is possible to increase (or decrease) line spacing using CSS, which involves altering the values of "line-height" property in CSS. A search may help you find out more about this, or you can send me a message or e-mail and I'd be glad to help! (I used a thread on the SitePoint forums.)
Awesome Me (1 year ago)
There is. For example, <P> Hi <BR> Hello</P> = Hi Hello However, <P> Hi <BR> <BR> Hello</P> = Hi Hello So just put an extra <BR> tag to put an extra line. You can put as many as you want. Sorry for the 4-year late response, just trying to help.
Julio Iglesias (5 years ago)
is there a way to make your words double spaced
Awesome Me (1 year ago)
Of course! For example, <P> Hi <BR> Hello</P> = Hi Hello However, <P> Hi <BR> <BR> Hello</P> = Hi Hello So just put an extra <BR> tag to put an extra line. You can put as many as you want. Sorry for the 4-year late response, just trying to help.
TechnicalCafe (6 years ago)
Haha, congratulations and thank you for watching! :)

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.