Results 1 to 4 of 4

Thread: How to give spaces in html ?

  1. #1
    Join Date
    May 2009

    How to give spaces in html ?


    I am learning HTML programming. I am trying to make HTML program in that i want to put space which code should i use to give space in HTML can someone help me ?


  2. #2
    Join Date
    Oct 2008

    Re: How to give spaces in html ?

    HTML (HyperText Mark-up Language) is a language called "marking" (of "structuring" or "tagging") whose role is to formalize writing a document with formatting tags.


    Paragraph <P> </ P>[*] (end of label often not necessary)

    Text alignment <P ALIGN=LEFT|CENTER|RIGHT> </ P>[*] (double return)

    End of line <BR> (single trip)
    Forced alignment <BR CLEAR=LEFT|RIGHT|ALL>
    Horizontal <HR>


    Thickness <HR SIZE=?> (pixels)
    Width <HR WIDTH=?>

    Width <HR WIDTH=%>

  3. #3
    Join Date
    Aug 2008

    Re: How to give spaces in html ?

    Here is the code for putting blank space. use this code to give blank space in HTML

    Link1&nbsp;|&nbsp; Link2&nbsp;&nbsp; |&nbsp;&nbsp; Link3&nbsp; |&nbsp; link4

  4. #4
    Join Date
    Dec 2008

    Re: How to give spaces in html ?

    One &nbsp; is equal to a single space. If you want to put two space between word use &nbsp

    Example: name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xyz.
    Output: Name XYZ

Similar Threads

  1. SeaMonkey 2.0.5 displays spaces instead of '%20'
    By Aideen in forum Technology & Internet
    Replies: 4
    Last Post: 24-06-2010, 05:04 PM
  2. Javascript - replace HTML tags with spaces
    By Jensen Ackles in forum Software Development
    Replies: 6
    Last Post: 13-05-2010, 12:10 PM
  3. Remove spaces from string
    By MarceloQuad in forum Software Development
    Replies: 3
    Last Post: 29-12-2009, 09:16 AM
  4. How to give colours to the text in html
    By CACTUS101 in forum Software Development
    Replies: 4
    Last Post: 04-12-2009, 02:47 PM
  5. How to give Password to Html Page?
    By ramsun in forum Tips & Tweaks
    Replies: 4
    Last Post: 18-11-2009, 09:57 AM

Posting Permissions

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