us
tagline

 Home/  Tutorials/  HTML/  forms/  set writing in from the margin/  arrowyou are here

  Tutorials

 a. HTML

 1. forms

 Set writing in from the margin

we're going to use the blockquote tag (<blockquote>) to set writing in from the margin like this:

blockquote is used when you want to quote from someone else's work
It marks the blockquote out from the rest of the page.
  1. write something you want to set in from the margin
    There's an old story that starts like this: There was once a man named Ulf, son of Bjalf.. It doesn't end very well for Ulf.
  2. write this round it:
    There's an old story that starts like this: <blockquote>There was once a man named Ulf, son of Bjalf..</blockquote>It doesn't end very well for Ulf.
  3. save the code and open the page in a browser
    you'll see this:
    There's an old story that starts like this:
    There was once a man named Ulf, son of Bjalf..
    It doesn't end very well for Ulf.

more tutorials to try

you might like to try these tutorials too:



PayPal verified merchant
Find Us on Facebook
Allstate