NBSP literally means "Non-breaking Space" and creates a space that is not used as a potential breaking point for word wrapping.
The HTML code used to define a blank space is   ...
In HTML, a non-breaking space is coded as " " (without the quotes).
use this: <br> for new lines, and use this: &nbsp; for spaces
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- saved from url=(0033)http://www.google.com/webhp?hl=en --> <HTML><HEAD><TITLE>Google</TITLE> <META http-equiv=content-type content="text/html; charset=UTF-8"> <STYLE>BODY { FONT-FAMILY: arial,sans-serif } TD { FONT-FAMILY: arial,sans-serif } A { FONT-FAMILY: arial,sans-serif } P { FONT-FAMILY: arial,sans-serif } .h { FONT-FAMILY: arial,sans-serif } .h { FONT-SIZE: 20px } .q { COLOR: #0000cc } </STYLE> <SCRIPT> <!-- function sf(){document.f.q.focus();} function c(p,l,e){var f=document.f;if (f.action && document.getElementById) {var hf=document.getElementById("hf");if (hf) {var t = "<input type=hidden name=tab value="+l+">";hf.innerHTML=t;}f.action = 'http://'+p;e.cancelBubble=true;f.submit();return false;}return true;} // --> </SCRIPT> <META content="MSHTML 6.00.2719.2200" name=GENERATOR></HEAD> <BODY text=#000000 vLink=#551a8b aLink=#ff0000 link=#0000cc bgColor=#ffffff onload=sf()> <CENTER> <TABLE cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD><IMG height=110 alt=Google src="Google_soubory/logo.gif" width=276></TD></TR></TBODY></TABLE><BR> <FORM name=f action=/search> <TABLE cellSpacing=0 cellPadding=4 border=0> <TBODY> <TR> <TD class=q noWrap><FONT size=-1><B><FONT color=#000000>Web</FONT></B>&nbsp;&nbsp;&nbsp;&nbsp;<A class=q id=1a onclick="return c('www.google.com/imghp','wi',event);" href="http://www.google.com/imghp?hl=en&amp;tab=wi&amp;ie=UTF-8&amp;oe=UTF-8">Images</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class=q id=2a onclick="return c('www.google.com/grphp','wg',event);" href="http://www.google.com/grphp?hl=en&amp;tab=wg&amp;ie=UTF-8&amp;oe=UTF-8">Groups</A>&nbsp;&nbsp;&nbsp;&nbsp;<A class=q id=4a onclick="return c('www.google.com/nwshp','wn',event);" href="http://www.google.com/nwshp?hl=en&amp;tab=wn&amp;ie=UTF-8&amp;oe=UTF-8">News</A>&nbsp;&nbsp;&nbsp;&nbsp;<B><A class=q href="http://www.google.com/options/index.html">more&nbsp;»</A></B></FONT></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0> <TBODY> <TR> <TD width=75>&nbsp;</TD> <TD align=middle><INPUT type=hidden value=en name=hl><SPAN id=hf></SPAN><INPUT type=hidden value=UTF-8 name=ie><INPUT type=hidden value=UTF-8 name=oe><INPUT maxLength=256 size=55 name=q><BR><INPUT type=submit value="Google Search" name=btnG><INPUT type=submit value="I'm Feeling Lucky" name=btnI></TD> <TD vAlign=top noWrap><FONT size=-2>&nbsp;&nbsp;<A href="http://www.google.com/advanced_search?hl=en">Advanced&nbsp;Search</A><BR>&nbsp;&nbsp;<A href="http://www.google.com/preferences?hl=en">Preferences</A><BR>&nbsp;&nbsp;<A href="http://www.google.com/language_tools?hl=en">Language Tools</A></FONT></TD></TR></TBODY></TABLE></FORM><BR><BR><FONT size=-1><A href="http://www.google.com/ads/">Advertise&nbsp;with&nbsp;us</A> - <A href="http://www.google.com/services/">Business&nbsp;solutions</A> - <A href="http://www.google.com/about.html">About Google</A><SPAN id=hp style="BEHAVIOR: url(#default#homepage)"></SPAN> <SCRIPT> //<!-- if (!hp.isHomePage('http://www.google.com/')) {document.write("<p><a href="/mgyhp.html" onClick="style.behavior='url(#default#homepage)';setHomePage('http://www.google.com/');">Make Google your homepage</a>");} //--> </SCRIPT> </FONT> <P><FONT size=-2>©2004 Google - Searching 4,285,199,774 web pages</FONT></P></CENTER></BODY></HTML>
There is no tag to do this, but you can wrap a span tag around the first word and use CSS to add padding or you can simply add several '&nbsp;' before the first word.
The HTML code used to define a blank space is &nbsp; ...
The answer is : &nbsp;
In HTML, a non-breaking space is coded as "&nbsp;" (without the quotes).
Space can be given by a special command. &nbsp; gives a tabular space in program.
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title></title> <meta name="description" content=""> <meta name="keywords" content=""> <meta name="author" content="fer"> <style> .tblclss {background-color:black; border-color:red; border-style:solid; border-width:3px;} .rowclss {background-color:red; color:white;} </style> </head> <body> <table class="tblclss" border="" width="300" height="100" summary=""> <tr> <td class="rowclss">&nbsp;</td> <td class="rowclss">&nbsp;</td> <td class="rowclss">&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </table> </body> </html>
You can use " " (Without double quotes)
A special space character that acts like a letter or digit, used to prevent multiple-word, proper names from breaking between lines. Also called a "non-breaking space." The HTML code is: nbsp;
use this: <br> for new lines, and use this: &nbsp; for spaces
You can create symbols on a webpage by using entities. Entities reach weird characters that are difficult to punch in on a keyboard, if not impossible. &amp; &nbsp; Those are examples of entities (amp makes an Ampersand appear on an HTML page, nbsp makes a non-breaking space). See the related links for a longer list of useful entities.
A. Marcus
Whitespace (spaces, tabs, newlines) have no meaning in HTML. So if your whitespace coding is being changed, no worries. It doesn't mean anything. That's why we have the non-breaking space entity (&nbsp;) in HTML.
NBSP stands for 'Non-Breaking Space' and is used in HTML coding and text processing software. It is like the space character, except that it prevents an automatic line break wherever it is positioned. You won't often see this feature on modern keyboards, but it is sometimes programmed in, regardless.