click to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own textclick to generate your own text
tiAp sAaT waKtU berDeTiK..
aTi iNi kiAn teRtanYa sEndiRiAn.. kE ManA deStiNasi kU..
hANyA ALLaH yG MaHa MenGEtAhui SegALaNya..

Monday, December 8, 2008

mAkE a WeBsiTE (PART 3)

PART 3


Paragraphs

  • Normally we use paragraph elements to place text on a Web page.
  • Between the and tags, you put the text you want .
  • Example:


  • Other examples:
  • However, the end tag for a P ( ) element is optional in HTML.
  • Most Web page creation programs add the end tag of P automatically,
  • Therefore, You don’t need to include it.
  • Between paragraphs, Web browsers automatically add a bit of space.
  • If you want, you can add some extra space by using the line break, or BR element.
  • Example:


  • Other examples:

  • Empty P element : No content between the start and end tags
  • Instead of using a BR element, you can usually using an empty P element to create a blank line between paragraphs.
  • Nevertheless, this technique doesn’t work for all Web browsers.
  • Empty P elements are not allowed under the HTML standard that strictly follow the standard.
  • To solve this, put some invisible content into the P element where you need to put in a nonbreaking space with a special code.
  • Example:

  • Other examples:

  • If you use a nonbreaking space, you have to make sure that you include the semicolon at the end.
  • If you don’t, you end up with the characters &nbsp on-screen rather than a blank space.


Reference : Building A Web Site For Dummies

No comments:

LinkWithin

Related Posts with Thumbnails

Recent Comments