HTML video tutorial – 07 – html white space

HTML – White Space : When we open our HTML page in any browser. Browser will interpret and execute our HTML code from “left to right” and from “top to down” sequentially. Open tag and closing tags tell to browser where to start and where to end which section. If we have more than one blank spaces in between the text, then browser collapses all those white spaces or blank spaces to a single white space or blank space. Hence To get more control over the design of a webpage, it is important to understand, “how browsers interpret and execute our html code”. To add more than one white spaces use html entity: &nbsp; Example code: <html> <head> <title>HTML white space</title> </head> <body> HTML &nbsp;&nbsp;&nbsp;&nbsp;&nb

It's only fair to share...Tweet about this on TwitterShare on FacebookShare on TumblrShare on Google+Digg thisShare on LinkedInPin on PinterestShare on VKShare on RedditPrint this pageEmail this to someone
Flattr the authorShare on StumbleUponShare on YummlyBuffer this page

Leave a Reply

Your email address will not be published. Required fields are marked *