Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me

Margin to the left & right of Tag without CSS
(1 viewing) (1) Guest
All your queries regarding HTML will be solved in this forum
  • Page:
  • 1
TOPIC:

Margin to the left & right of Tag without CSS

Margin to the left & right of Tag without CSS 1 year, 9 months ago #136

  • amelia
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Hi,
I need to have some spacing left and right of a paragraph. I am using multiple <p> tags in one div.
Hence styling with CSS will cause all of them to change their style.
But, I want this result to affect only for one of them. Is there any way to add spacing in HTML except using "&nbsp;"?

Re:Margin to the left & right of Tag without CSS 1 year, 9 months ago #138

  • kate
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Karma: 0
You can use "blockquote" tag in HTML.

A browser inserts white space before and after a blockquote element. It also insert margins for the blockquote element.
  • Page:
  • 1
Time to create page: 1.24 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download