Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How White Spaces Are Formatted
How White Spaces Are Formatted? - CSS Tutorials - Understanding Multiple Element Formatting Rules
✍: FYIcenter.com
White spaces are formatted depending where they are located:
The following tutorial exercise shows you some good white space examples in a HTML and CSS document:
<html><head> <style type="text/css"> DIV.page {width: 425px; border: 1px solid black} P {margin: 0px} PRE {margin: 0px} P#p1 {background-color: #ffdddd} P#p2 {background-color: #ddffdd} P#p3 {background-color: #ddddff} P#p4 {background-color: #ffffdd} P#p5 {background-color: #ddffff} PRE#p6 {background-color: #ffddff} </style> </head><body><div class="page"> <H3>Examples of White Spaces</H3> <p id=p1>P1: Wh i t e sp a c es in a non-empty block.</p> <p id=p2>P2: White spaces between this block and the next block.</p> <p id=p3>P3: White spaces between this block and the above block.</p> <p id=p4>P4: The next block is an empty block with white spaces.</p> <p id=p5> <strong></strong> </p> <pre id=p6>P6: Wh i t e sp a c es in a preserved block.</pre> <div></body></html>
Save this document as whiteSpaces.html, and view it with a browser,
you will see something like this:
2007-05-11, 4865👍, 0💬
Popular Posts:
How To Create an Add-to-Bloglines Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News...
What will happen in these three cases? if (a=0) { //somecode } if (a==0) { //do something } if (a===...
How To Enter a New Row into a Table Interactively? - Oracle DBA FAQ - Introduction to Oracle SQL Dev...
If we inherit a class do the private variables also get inherited ? Yes, the variables are inherited...
What Is the Difference between Formal Parameters and Actual Parameters? - Oracle DBA FAQ - Creating ...