Sunday, 12 May 2013

Lesson 5


Lesson 5 - Text Alignment and Background color


This lesson will teach you how to align your text and to change the background color.
Remember to remove * wherever you see.

TEXT ALIGNMENT

Left Align: <*h1 style ="text-align:left;font-family: arial;"> YOUR TEXT HERE <*/h1>

Center Align:<*h1 style="text-align:center;font-family:arial;"> YOUR TEXT HERE <*/h1>

Right Align:<*h1 style="text-align:right;font-family:arial;"> YOUR TEXT HERE <*/h1>

H1 is the code for header.

BACKGROUND COLOR

<*span style ="text-align:center;font-family:arial; background-color:yellow;">TEXT <*/span>

*Just replace the color with either the code using #FFFFFF or write the name of the color!

ASSIGNMENT
1.Write a sentence in left align.
2. Write a sentence in right align.
3. Write a sentence in center align.
4. Write two sentences in different background color.

19 comments:

  1. mahiCandy here!

    ReplyDelete
  2. HairyHarrysWife :D

    ReplyDelete
  3. WOO! DONe! AliceofWonderland was here

    ReplyDelete
  4. Samisnotonfirexx sir. sorry i'm late, was stuck in traffic.

    ReplyDelete
  5. starryflames here!! c':

    ReplyDelete
  6. NicAthena here :)

    ReplyDelete
  7. @storiesandbooks here (:

    ReplyDelete
  8. InnocentButDeadly has finished and posted :D

    ReplyDelete
  9. @BlosemGilsped was here!

    ReplyDelete
  10. Isabelle is in the houuuuuse c:

    ReplyDelete
  11. Bree_Niah here

    ReplyDelete
  12. MrsNikHoran = DONE!

    ReplyDelete
  13. rood_roosje was here!

    ReplyDelete
  14. SelenaAnd1DLover here :)) (P.S I was once AlwaysDreaming1D :D)

    ReplyDelete
  15. Lesson done and posted

    -HolyLana

    ReplyDelete