Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 3 of 3

Thread: PRE Tutorial

  1. #1
    Join Date
    Mar 2005
    Location
    United Kingdom Swindon
    Posts
    368
    Tokens
    0

    Default PRE Tutorial

    The <PRE> Tag
    The <PRE> tag is used when you want to keep the same amount of whitespace on your web page as you have in your html code in your text editor. This is useful when you have to post programming code. Here is an example:
    <PRE>
    x=1;
    y=2;
    if (x==1)
    y=2;
    </PRE>

    And this somewhat redundant code gives you this:


    x=1;
    y=2;
    if (x==1)
    y=2;

    Notice how we didn't need to use <BR> or &nbsp; inside the <PRE> tags. This can save you some headaches from writing in line breaks and spaces manually so often.

    <NOBR> and <WBR>
    Any text you place between the <NOBR> and the </NOBR> tags will not break to the next line, even after reaching the end of someone's browser window. Here is an example:
    <NOBR>
    I'll just keep writing like this for a long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long time.
    </NOBR>

    When viewed on your web page, this will be one really long line, like this:



    --------------------------------------------------------------------------------
    I'll just keep writing like this for a long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long time.


    Thx to Dimebag for my Signature
    You rule mate

  2. #2
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    intresting never knew them tags

  3. #3
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Stop copying other peoples tutorials, and trying to pretend you made them

    http://www.pageresource.com/html/textags2.htm

    Write your own tutorials

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •