<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkIGSXczeSp7ImA9WhVRE04.&quot;"><id>tag:blogger.com,1999:blog-8425088560319931065</id><updated>2012-03-21T19:02:08.981+05:00</updated><category term="h5" /><category term="table" /><category term="HTML inheritence" /><category term="Embedded CSS" /><category term="CSS" /><category term="CSS techniques" /><category term="h2" /><category term="h3" /><category term="span" /><category term="Structure" /><category term="img" /><category term="Cascading Style Sheets" /><category term="input" /><category term="Learn HTML" /><category term="html comment" /><category term="a" /><category term="Web page" /><category term="p" /><category term="br tag" /><category term="h4" /><category term="ol" /><category term="a tag" /><category term="h1" /><category term="HTML page" /><category term="i tag" /><category term="div" /><category term="bookmark" /><category term="HTML Tags" /><category term="HTML" /><category term="href" /><category term="HTML document" /><category term="Create a web page" /><category term="CSS inheritence" /><category term="strong tag" /><category term="Heading Tags in HTML" /><category term="b tag" /><category term="ul" /><category term="External CSS" /><category term="h6" /><title>weborafix</title><subtitle type="html">Learn the best practices for Web development</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://weborafix.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://weborafix.blogspot.com/" /><author><name>Umair</name><uri>http://www.blogger.com/profile/11843669076275170510</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/-ir_D6txoPDQ/TgDVGucNU1I/AAAAAAAAAD0/mMhdU9JjKDQ/s220/umair.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/Weborafix" /><feedburner:info uri="weborafix" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CE4AQXk-eCp7ImA9WhZUFkU.&quot;"><id>tag:blogger.com,1999:blog-8425088560319931065.post-331965663733199773</id><published>2011-06-10T10:14:00.001+05:00</published><updated>2011-06-10T10:15:40.750+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-10T10:15:40.750+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CSS inheritence" /><category scheme="http://www.blogger.com/atom/ns#" term="Heading Tags in HTML" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML inheritence" /><category scheme="http://www.blogger.com/atom/ns#" term="CSS" /><title>Advance rules to define External CSS, and CSS Inheritance</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div&gt;&lt;b&gt;Inheritance&amp;nbsp;in HTML with respect to CSS:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;As we know that a web page is composition of Markup tags. One tag contains many tags, and many tag can be defined in single tag. If you assume like Parent-Child relation, that will represents&amp;nbsp;inheritance.&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;Example 1:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;div id="div1"&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&amp;lt;div&amp;nbsp;id="div2"&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div&amp;nbsp;id="div3"&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Here, div1 is parent of div2, and div2 is parent of div3 or you can say div3 is child of div2 and div2 is child of div1&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;OR&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;Example 2:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;div&amp;nbsp;id="div1"&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&amp;lt;div&amp;nbsp;id="div2"&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;...&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&amp;lt;div&amp;nbsp;id="div3"&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;...&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;div1 is parent of div2 &amp;amp; div3 And div2 &amp;amp; div3 are child of div1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;In&amp;nbsp;&lt;b&gt;Example 1&lt;/b&gt;, if we define any css for div1, common properties will&amp;nbsp;be&amp;nbsp;automatically implemented on its all child contents. Suppose we define &lt;b&gt;CSS&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;body{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;font-family:arial;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;color:green;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;All the Markup tag that will be defined in body tag of an HTML document, will inherits font-family and color as defined. i.e because of body tag is parent of all other Markup tags that are defined in HTML document.&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Advance rules:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Question is that, if you need to modify, or you need to apply any specific css rule on any child content, without effecting parent rules, is it possible to implement?&lt;/div&gt;&lt;div&gt;The answer is &lt;b&gt;YES&lt;/b&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Solution to this problem is,&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;1. Inline Style for that child content can be defined in HTML.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;body style="&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;font-family:arial;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;color:green;"&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&amp;lt;h1&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;style="&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;color:red;"&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;This is Red H1&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&amp;lt;p&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;abcdefghijk.........&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-2gTLEQfPD-M/TfGllOJPCEI/AAAAAAAAADk/Bu9caMPFLxg/s1600/post10a.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="242" src="http://1.bp.blogspot.com/-2gTLEQfPD-M/TfGllOJPCEI/AAAAAAAAADk/Bu9caMPFLxg/s320/post10a.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;2. Using CSS (Embedded or External), defined in HTML and CSS files&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;In HTML:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;body&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&amp;lt;h1&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;This is Red H1&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp;&amp;lt;p&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;abcdefghijk.........&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;In CSS document:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;body{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;font-family:arial;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;color:green;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;body h1{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;color:red;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;The code represents that all the contents font-family will be arial, and color will be green except all h1 tags.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-hf2NM30CVJs/TfGoab3pyrI/AAAAAAAAADs/Ncn7a-zqfzs/s1600/post10b.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-hf2NM30CVJs/TfGoab3pyrI/AAAAAAAAADs/Ncn7a-zqfzs/s320/post10b.JPG" width="235" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We'll discuss in next topic about advance External CSS tips.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8425088560319931065-331965663733199773?l=weborafix.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yvelgNBXOTsro79wnDxqGQg_WXA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yvelgNBXOTsro79wnDxqGQg_WXA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yvelgNBXOTsro79wnDxqGQg_WXA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yvelgNBXOTsro79wnDxqGQg_WXA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Weborafix/~4/wfZOmJQcWfI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://weborafix.blogspot.com/feeds/331965663733199773/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://weborafix.blogspot.com/2011/06/advance-rules-to-define-external-css.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/331965663733199773?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/331965663733199773?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Weborafix/~3/wfZOmJQcWfI/advance-rules-to-define-external-css.html" title="Advance rules to define External CSS, and CSS Inheritance" /><author><name>Umair</name><uri>http://www.blogger.com/profile/11843669076275170510</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/-ir_D6txoPDQ/TgDVGucNU1I/AAAAAAAAAD0/mMhdU9JjKDQ/s220/umair.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-2gTLEQfPD-M/TfGllOJPCEI/AAAAAAAAADk/Bu9caMPFLxg/s72-c/post10a.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://weborafix.blogspot.com/2011/06/advance-rules-to-define-external-css.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8DQnk7eip7ImA9WhZUEkg.&quot;"><id>tag:blogger.com,1999:blog-8425088560319931065.post-1938165743216441885</id><published>2011-06-05T11:34:00.001+05:00</published><updated>2011-06-05T12:11:13.702+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-05T12:11:13.702+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="External CSS" /><category scheme="http://www.blogger.com/atom/ns#" term="CSS" /><title>Comparison of CSS techniques, External CSS (Style Sheet) use?</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In today's post, we'll discuss &lt;b&gt;External Styles&lt;/b&gt;&amp;nbsp;of web page. i.e How do we use External Style Sheets.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;(3) External Styles&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
In this technique, we define all CSS rules in a style sheet file (extension .css) and then give reference to that css file in web page. The advantage of using this technique is,&amp;nbsp;re-usability&amp;nbsp;of CSS rules and making style consistent on all the pages. If we use this technique, we don't need to define &lt;b&gt;Embedded&lt;/b&gt;&amp;nbsp;&lt;b&gt;Styles &lt;/b&gt;or &lt;b&gt;Inline Styles&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Link tag is used in Head section, that&amp;nbsp;refers&amp;nbsp;to an external style sheet (reference to CSS file)&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;lt;link type="text/css" rel="stylesheet" href="&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;style.css&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;"&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;b&gt;href&lt;/b&gt;: contains CSS path.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Example for 2 web pages:&amp;nbsp;&lt;/span&gt;Suppose we define two web pages and one CSS&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-fPE57uQTwds/Tesh2X4TIfI/AAAAAAAAADg/5_a9ryzcO54/s1600/post10.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="193" src="http://4.bp.blogspot.com/-fPE57uQTwds/Tesh2X4TIfI/AAAAAAAAADg/5_a9ryzcO54/s320/post10.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Comparison:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Inline Styles:&lt;/b&gt; are used to define rule within tag using its style properly, specifically for that tag within web page.&lt;br /&gt;
&lt;b&gt;Embedded Style: &lt;/b&gt;are used to make presentation of the web page consistent for defined Selectors within web page, i.e consistency between same tags.&lt;br /&gt;
&lt;b&gt;External Styles: &lt;/b&gt;are used to apply consistent look on more then one pages, and all the&amp;nbsp;styling&amp;nbsp;rules are defined &amp;nbsp;in a&amp;nbsp;separate&amp;nbsp;file with extension (.css)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8425088560319931065-1938165743216441885?l=weborafix.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KfhdkOwMqis5Xclz-ipmvKPsz7c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KfhdkOwMqis5Xclz-ipmvKPsz7c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KfhdkOwMqis5Xclz-ipmvKPsz7c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KfhdkOwMqis5Xclz-ipmvKPsz7c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Weborafix/~4/5AUdk5dZdgc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://weborafix.blogspot.com/feeds/1938165743216441885/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://weborafix.blogspot.com/2011/06/comparison-of-css-techniques-external.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/1938165743216441885?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/1938165743216441885?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Weborafix/~3/5AUdk5dZdgc/comparison-of-css-techniques-external.html" title="Comparison of CSS techniques, External CSS (Style Sheet) use?" /><author><name>Umair</name><uri>http://www.blogger.com/profile/11843669076275170510</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/-ir_D6txoPDQ/TgDVGucNU1I/AAAAAAAAAD0/mMhdU9JjKDQ/s220/umair.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-fPE57uQTwds/Tesh2X4TIfI/AAAAAAAAADg/5_a9ryzcO54/s72-c/post10.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://weborafix.blogspot.com/2011/06/comparison-of-css-techniques-external.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4BQn07fCp7ImA9WhZUEUs.&quot;"><id>tag:blogger.com,1999:blog-8425088560319931065.post-568480977726257976</id><published>2011-06-04T10:55:00.000+05:00</published><updated>2011-06-04T10:55:53.304+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-04T10:55:53.304+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CSS techniques" /><category scheme="http://www.blogger.com/atom/ns#" term="Embedded CSS" /><title>How to use CSS (CSS using techniques)?</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;We have already discussed in the last post about one technique using CSS i.e &lt;b&gt;Inline Styles.&lt;/b&gt;&lt;br /&gt;
Today, We'll discuss some other &lt;b&gt;CSS (Cascading Style Sheets)&lt;/b&gt; using techniques i.e&amp;nbsp;&lt;b&gt;Embedded&amp;nbsp;Styles and External Style Sheets.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;(2) Embedded Styles&lt;/b&gt;&lt;br /&gt;
In this technique, we define &lt;b&gt;CSS&lt;/b&gt;&amp;nbsp;within&amp;nbsp;Head Tag of an&amp;nbsp;HTML document (Web page). The block of CSS will look like this:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;style type="text/css"&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/style&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Here&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt; Style &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Tag is new tag that is used to define CSS block within page. It describes all the rules and patterns related to presentation(look &amp;amp; feel) of the page. We define CSS using &lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;Selectors&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: black; font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;style type="text/css"&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;h1{&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace; font-size: 12px; line-height: 16px;"&gt;color:red; font-size:18px; font-family:Arial&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;h3{&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace; font-size: 12px; line-height: 16px;"&gt;color:&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace; font-size: 12px; line-height: 16px;"&gt;green; font-size:14px; font-family:Arial&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;p {&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace; font-size: 12px; line-height: 16px;"&gt;color:blue; font-size:12px; font-family:Arial&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/style&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;This technique is actually use to to make formatting of all &lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;Selector&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt; with same style. It mean, every&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt; h1&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt; will follow same pattern as defined in Style tag. here &lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;h1, h3, p&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt; will be called as &lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;Selector&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black; font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Code Example and output is attached:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/--reud-nATz4/TenIVrDP-uI/AAAAAAAAADc/iFhPCOlgtNg/s1600/post9.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="110" src="http://1.bp.blogspot.com/--reud-nATz4/TenIVrDP-uI/AAAAAAAAADc/iFhPCOlgtNg/s400/post9.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8425088560319931065-568480977726257976?l=weborafix.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PXZnTsqFEj3vtvUEWRpFEUQmI3w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PXZnTsqFEj3vtvUEWRpFEUQmI3w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PXZnTsqFEj3vtvUEWRpFEUQmI3w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PXZnTsqFEj3vtvUEWRpFEUQmI3w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Weborafix/~4/qG3qqewdghs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://weborafix.blogspot.com/feeds/568480977726257976/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://weborafix.blogspot.com/2011/06/how-to-use-css-css-using-techniques.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/568480977726257976?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/568480977726257976?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Weborafix/~3/qG3qqewdghs/how-to-use-css-css-using-techniques.html" title="How to use CSS (CSS using techniques)?" /><author><name>Umair</name><uri>http://www.blogger.com/profile/11843669076275170510</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/-ir_D6txoPDQ/TgDVGucNU1I/AAAAAAAAAD0/mMhdU9JjKDQ/s220/umair.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/--reud-nATz4/TenIVrDP-uI/AAAAAAAAADc/iFhPCOlgtNg/s72-c/post9.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://weborafix.blogspot.com/2011/06/how-to-use-css-css-using-techniques.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04GSXY8fCp7ImA9WhZUEEo.&quot;"><id>tag:blogger.com,1999:blog-8425088560319931065.post-6663802852392586663</id><published>2011-06-03T09:33:00.001+05:00</published><updated>2011-06-03T09:38:48.874+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-03T09:38:48.874+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Cascading Style Sheets" /><category scheme="http://www.blogger.com/atom/ns#" term="CSS" /><title>What is CSS? Why we use CSS in HTML?</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;What is CSS? &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Cascading Style Sheets&lt;/b&gt; (CSS) is a style sheet language used to describe  the &lt;b&gt;presentation&lt;/b&gt; (that is, the look and formatting) of a  document written in a markup language.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Why we use CSS in HTML?&lt;/b&gt; &lt;br /&gt;
It works as cosmetics for an HTML document (a web page). &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How to use CSS?&lt;/b&gt;&lt;br /&gt;
Headings (&lt;code&gt;h1&lt;/code&gt; elements), sub-headings (&lt;code&gt;h2&lt;/code&gt;), sub-sub-headings (&lt;code&gt;h3&lt;/code&gt;), etc., are defined &lt;b&gt;structurally&lt;/b&gt; using HTML. &lt;b&gt;In print and on the screen&lt;/b&gt;, choice of font , size, color and emphasis for these elements is &lt;b&gt;presentational&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
By default, the presentation that you look for any Webpage is known as User Agent style. i.e., the browser's default settings for element presentation.&lt;br /&gt;
&lt;br /&gt;
Better approach to define css is Author styles (provided by the web page author), in the form of: &lt;br /&gt;
&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;b&gt;Inline styles&lt;/b&gt;, inside the HTML document, style information on a single element, specified using the "style" attribute&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Embedded style&lt;/b&gt;, blocks of CSS information inside the HTML itself&lt;/li&gt;
&lt;li&gt;&lt;b&gt;External style sheets&lt;/b&gt;, i.e., a separate CSS file referenced from the document &lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;b&gt;(1)&lt;/b&gt; &lt;b&gt;Inline styles:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &lt;/b&gt;&lt;br /&gt;
&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;h1 style="color:red; font-size:12px; font-family:Arial;"&amp;gt;&lt;/span&gt;This is Heading (h1) Text&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;/h1&amp;gt; &lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;style&lt;/span&gt; attribute will be used within any tag &lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;h1, h2, span, div, a&lt;/span&gt; etc.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;color:&lt;/b&gt; &amp;nbsp; is a key word, where red is user defined value, you can use any color by name, by hexacode like black (#000000) etc&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Size:&lt;/b&gt; is a key word of CSS where you define the size of text in pixel (px) normally. other options related to this units can be used, but we will discuss it later.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Font Family:&lt;/b&gt; is a keyword to define what font style will be presented on screen when you'll open web page in browser. Just remember, you must those fonts, which are known to be Web Safe Fonts (that mean web supported font family).&lt;br /&gt;
&lt;br /&gt;
Example is attached:&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-D1305XhM_5A/TehjK-gI3SI/AAAAAAAAADY/oESem9KJBDg/s1600/post8.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="276" src="http://3.bp.blogspot.com/-D1305XhM_5A/TehjK-gI3SI/AAAAAAAAADY/oESem9KJBDg/s400/post8.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
We'll discuss other techniques in next post.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8425088560319931065-6663802852392586663?l=weborafix.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Tmv-e9G3EUa0EHDAnZHT7VNJQcY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Tmv-e9G3EUa0EHDAnZHT7VNJQcY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Tmv-e9G3EUa0EHDAnZHT7VNJQcY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Tmv-e9G3EUa0EHDAnZHT7VNJQcY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Weborafix/~4/mDvB8-FdH6Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://weborafix.blogspot.com/feeds/6663802852392586663/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://weborafix.blogspot.com/2011/06/what-is-css-why-we-use-css-in-html.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/6663802852392586663?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/6663802852392586663?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Weborafix/~3/mDvB8-FdH6Y/what-is-css-why-we-use-css-in-html.html" title="What is CSS? Why we use CSS in HTML?" /><author><name>Umair</name><uri>http://www.blogger.com/profile/11843669076275170510</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/-ir_D6txoPDQ/TgDVGucNU1I/AAAAAAAAAD0/mMhdU9JjKDQ/s220/umair.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-D1305XhM_5A/TehjK-gI3SI/AAAAAAAAADY/oESem9KJBDg/s72-c/post8.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://weborafix.blogspot.com/2011/06/what-is-css-why-we-use-css-in-html.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcAQngyeCp7ImA9WhZVGUU.&quot;"><id>tag:blogger.com,1999:blog-8425088560319931065.post-1637458517767598589</id><published>2011-06-02T09:14:00.000+05:00</published><updated>2011-06-02T09:14:03.690+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-02T09:14:03.690+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="b tag" /><category scheme="http://www.blogger.com/atom/ns#" term="href" /><category scheme="http://www.blogger.com/atom/ns#" term="bookmark" /><category scheme="http://www.blogger.com/atom/ns#" term="a tag" /><category scheme="http://www.blogger.com/atom/ns#" term="strong tag" /><category scheme="http://www.blogger.com/atom/ns#" term="i tag" /><category scheme="http://www.blogger.com/atom/ns#" term="br tag" /><category scheme="http://www.blogger.com/atom/ns#" term="html comment" /><title>Use of  a tag in HTML, and some special tags</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Use full tags:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To Comment code section that you don't want to display when you load a Web page in a browser, or just for the code section related information.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;!--&lt;/div&gt;&lt;div style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; ..&lt;/div&gt;&lt;div style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;..&lt;/div&gt;&lt;div style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;..&lt;/div&gt;&lt;div style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;--&amp;gt;&lt;/div&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: inherit;"&gt;Any code written in the section will not be render on the browser.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;!-- &lt;/div&gt;&lt;div style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Comment Section of the Code Start&lt;/div&gt;&lt;div style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;div&amp;gt; &lt;/div&gt;&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;span&amp;gt;&lt;/span&gt;Hello World&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;div style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Comment Section of the Code End &lt;/div&gt;&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;--&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: black;"&gt;&lt;span style="font-family: inherit;"&gt;When you will load this code snippet into browser, web page will not display "Hello World"&lt;/span&gt;&lt;/span&gt;. It will consider it as a comment.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;i&amp;gt;...&amp;lt;/i&amp;gt;&lt;/span&gt; is use to make font in italic style&lt;br /&gt;
&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;b&amp;gt;...&amp;lt;/b&amp;gt;&lt;/span&gt; and &lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;strong&amp;gt;...&amp;lt;/strong&amp;gt;&lt;/span&gt; tags are used to make font Bold &lt;br /&gt;
&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;br /&amp;gt;&lt;/span&gt; to insert a line break, to start new line&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;a&amp;gt;&lt;/span&gt; tag is know as hyperlink, link tag is use to link with another document, or to bookmark within same Web page.&lt;br /&gt;
&lt;br /&gt;
Most important attribute of this tag is "href", that is a reference of the linked page/document or section of the page.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Hyper-linking Code:&lt;/b&gt;&lt;br /&gt;
&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;a href="&lt;/span&gt;myfirstpage.html&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;"&amp;gt;&lt;/span&gt;Go to First Page&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;br /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;a href="&lt;/span&gt;mysecondpage.html&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;"&amp;gt;&lt;/span&gt;Go to Second Page&lt;span style="color: magenta; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Suppose we have 3 html pages in the same folder / directory.&lt;br /&gt;
i.e index.html,&amp;nbsp; myfirstpage.html and mysecondpage.html&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;myfistpage.html &lt;/b&gt;and &lt;b&gt;mysecondpage.html&lt;/b&gt; contains its own defined contents.&lt;br /&gt;
In page&lt;b&gt; index.html&lt;/b&gt; we place code as defined above in hyper-linking code example. This code section will be defined within body section of this HTML document. When you done this, open this index page into browser, you'll see two links as mentioned. Here, when you click "Go to First Page", it looks for &lt;b&gt;href &lt;/b&gt;that represents myfirstpage.html in the&amp;nbsp; same folder. It will load href page into browser.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;For Linking Bookmark, within page:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Within href ="#bookmark", # sign is used for the code section that will contain same id. Please look this image&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-nd7XTNPsnqE/TecNW3BsHvI/AAAAAAAAADU/vcv0LP4IAbc/s1600/post7.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="196" src="http://4.bp.blogspot.com/-nd7XTNPsnqE/TecNW3BsHvI/AAAAAAAAADU/vcv0LP4IAbc/s320/post7.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8425088560319931065-1637458517767598589?l=weborafix.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hd0pzKZ9VaaQ7rTSkFVXaBobnXE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hd0pzKZ9VaaQ7rTSkFVXaBobnXE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hd0pzKZ9VaaQ7rTSkFVXaBobnXE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hd0pzKZ9VaaQ7rTSkFVXaBobnXE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Weborafix/~4/hJCVLhK4iqk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://weborafix.blogspot.com/feeds/1637458517767598589/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://weborafix.blogspot.com/2011/06/use-of-tag-in-html-and-some-special.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/1637458517767598589?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/1637458517767598589?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Weborafix/~3/hJCVLhK4iqk/use-of-tag-in-html-and-some-special.html" title="Use of  a tag in HTML, and some special tags" /><author><name>Umair</name><uri>http://www.blogger.com/profile/11843669076275170510</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/-ir_D6txoPDQ/TgDVGucNU1I/AAAAAAAAAD0/mMhdU9JjKDQ/s220/umair.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-nd7XTNPsnqE/TecNW3BsHvI/AAAAAAAAADU/vcv0LP4IAbc/s72-c/post7.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://weborafix.blogspot.com/2011/06/use-of-tag-in-html-and-some-special.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUEQHo5eSp7ImA9WhZVGUw.&quot;"><id>tag:blogger.com,1999:blog-8425088560319931065.post-1071804453946351533</id><published>2011-06-01T11:44:00.002+05:00</published><updated>2011-06-01T12:10:01.421+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-01T12:10:01.421+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="span" /><category scheme="http://www.blogger.com/atom/ns#" term="div" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML Tags" /><category scheme="http://www.blogger.com/atom/ns#" term="p" /><title>Use of  p tag , span tag and div tag in HTML</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In last post we discussed Heading Text and the use of Heading Tags.&amp;nbsp;Today, we'll take a review of contents related tags for an HTML document (web page). As Heading in writing any article, it is used to make title for the contents of that section. Now here, to define the content section (text) or paragraph, we use&amp;nbsp;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;p&amp;gt;...&amp;lt;/p&amp;gt;&amp;nbsp;&lt;/span&gt;tag in HTML document. It manages properly paragraph formatting.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 14px;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer in urna sit amet felis consequat imperdiet nec eu lacus. Phasellus faucibus facilisis quam, at fermentum elit auctor sit amet. Pellentesque adipiscing tempus purus, vel ultrices lorem vestibulum et. Suspendisse quis nisi nisl. Mauris eget tortor justo, eu consequat odio. Etiam tellus felis, tincidunt eget ornare a, aliquam eu quam. Quisque sed urna vitae diam placerat hendrerit et vel neque. Suspendisse convallis ultricies rutrum. Sed porttitor tempus sagittis. Fusce ipsum leo, tempus nec imperdiet ut, ornare a magna. Quisque ac velit nec turpis suscipit interdum gravida at eros. Sed eget tempus metus. Pellentesque vel quam eu ipsum dapibus laoreet at a magna. Integer egestas purus et nisi sagittis convallis. Curabitur mollis, nisi ullamcorper lacinia tincidunt, enim arcu commodo lorem, vitae interdum metus erat ac arcu. Aenean eu libero odio&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans; line-height: 14px;"&gt;.&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;p&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Mauris egestas, nulla at sollicitudin ultrices, felis ante facilisis purus, et interdum elit diam et urna. Nullam gravida, nibh vitae blandit iaculis, nisl purus dapibus sem, ac rutrum nibh mi vitae nunc. Duis sed odio dui, eu pharetra nulla. Suspendisse lacinia vestibulum justo, vitae adipiscing mauris congue ac. Integer a eros a ipsum pharetra feugiat. Curabitur vestibulum elit eu libero commodo fringilla vestibulum diam ornare. Cras tristique vehicula lacus ullamcorper dictum. Donec eleifend egestas erat, at luctus enim scelerisque et. Pellentesque ac purus id tortor sagittis molestie. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean in massa dui, id tincidunt justo. Pellentesque vel nunc lacus. Nullam pharetra malesuada quam, adipiscing congue arcu luctus at. Nam convallis, arcu id adipiscing pretium, turpis urna sodales urna, eu tempor sem justo ut sapien. Proin placerat sapien sit amet risus semper sit amet euismod quam tempus. Curabitur quis volutpat neque.&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-YOvufPUN4mk/TeXYhVOSEuI/AAAAAAAAADI/s0NZgGdUa54/s1600/post6-1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="273" src="http://4.bp.blogspot.com/-YOvufPUN4mk/TeXYhVOSEuI/AAAAAAAAADI/s0NZgGdUa54/s320/post6-1.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Content writing is an art,&amp;nbsp;whether you are writing a word document, or you are creating an HTML document. Properly defined tag represent the standard of your document. And&amp;nbsp;regarding&amp;nbsp;HTML standards,&amp;nbsp;that make your web page quality on top rank, should follow standard.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Now, Lets talk about&amp;nbsp;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;span&amp;gt;...&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/span&amp;gt;&amp;nbsp;&lt;/span&gt;and&amp;nbsp;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;div&amp;gt;...&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;Span&amp;nbsp;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman';"&gt;and&amp;nbsp;&lt;/span&gt;Div&amp;nbsp;&lt;/span&gt;are layout related tags. You can also use it in&amp;nbsp;formatting&amp;nbsp;sections as well.&lt;/div&gt;&lt;br /&gt;
we consider our web page on the screen as a 2-D design, that has X,Y coordinates. Look at this picture&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-hBJU0c4x-4k/TeXcJ5xHuWI/AAAAAAAAADM/HdNslxE5OMs/s1600/post6-2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="316" src="http://1.bp.blogspot.com/-hBJU0c4x-4k/TeXcJ5xHuWI/AAAAAAAAADM/HdNslxE5OMs/s320/post6-2.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;div&amp;gt;&lt;/span&gt;&amp;nbsp;is a layout section that reserves&amp;nbsp;BLOCK level (a complete row by default)&amp;nbsp;area. And a&amp;nbsp;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;span&amp;gt;&lt;/span&gt;&amp;nbsp;is non-Block type (by default) area, that just reserve its space over the page depending on its contents.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Look at this code example:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-ROpijF0-yGM/TeXebVdc1RI/AAAAAAAAADQ/ZRINmVu0TMs/s1600/post6-3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="86" src="http://3.bp.blogspot.com/-ROpijF0-yGM/TeXebVdc1RI/AAAAAAAAADQ/ZRINmVu0TMs/s400/post6-3.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;we can change default layout behaviour of these tags, but will discuss it later in related layout topic soon.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;We can use&amp;nbsp;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;span&amp;gt;&lt;/span&gt;&amp;nbsp;tag within&amp;nbsp;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;div&amp;gt;&lt;/span&gt;&amp;nbsp;tag.&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;b&gt;Tip: &lt;/b&gt;Better practice is to use non-block level tag into block level, but try to avoid use block level into no-block section.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;i.e&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;span&amp;gt;&lt;/span&gt;&amp;nbsp;into&amp;nbsp;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;div&amp;gt;&lt;/span&gt;&amp;nbsp;is OK&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;div&amp;gt;&lt;/span&gt;&amp;nbsp;into&amp;nbsp;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;span&amp;gt;&lt;/span&gt;, Avoid in normal practice&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8425088560319931065-1071804453946351533?l=weborafix.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zw3IG4lJhWuf66UKWsxEOxds_kA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zw3IG4lJhWuf66UKWsxEOxds_kA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zw3IG4lJhWuf66UKWsxEOxds_kA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zw3IG4lJhWuf66UKWsxEOxds_kA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Weborafix/~4/Gexn0ZHVDMM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://weborafix.blogspot.com/feeds/1071804453946351533/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://weborafix.blogspot.com/2011/06/use-of-p-tag-span-tag-and-div-tag-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/1071804453946351533?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/1071804453946351533?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Weborafix/~3/Gexn0ZHVDMM/use-of-p-tag-span-tag-and-div-tag-in.html" title="Use of  p tag , span tag and div tag in HTML" /><author><name>Umair</name><uri>http://www.blogger.com/profile/11843669076275170510</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/-ir_D6txoPDQ/TgDVGucNU1I/AAAAAAAAAD0/mMhdU9JjKDQ/s220/umair.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-YOvufPUN4mk/TeXYhVOSEuI/AAAAAAAAADI/s0NZgGdUa54/s72-c/post6-1.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://weborafix.blogspot.com/2011/06/use-of-p-tag-span-tag-and-div-tag-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8HQn0-fCp7ImA9WhZVGE4.&quot;"><id>tag:blogger.com,1999:blog-8425088560319931065.post-4561785280365333572</id><published>2011-05-31T13:39:00.003+05:00</published><updated>2011-05-31T14:07:13.354+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-31T14:07:13.354+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="h6" /><category scheme="http://www.blogger.com/atom/ns#" term="h2" /><category scheme="http://www.blogger.com/atom/ns#" term="Heading Tags in HTML" /><category scheme="http://www.blogger.com/atom/ns#" term="h4" /><category scheme="http://www.blogger.com/atom/ns#" term="h5" /><category scheme="http://www.blogger.com/atom/ns#" term="h3" /><category scheme="http://www.blogger.com/atom/ns#" term="h1" /><title>Use of Heading Tags with Example</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Why we use &lt;b&gt;large text&lt;/b&gt;&amp;nbsp;when we write any document, any assignment, any article, or design any advertisement banner etc? Just&amp;nbsp;because&amp;nbsp;to gain the focus of user (viewer attention) on that particular section. To make those section more comprehensive for the user attention.&lt;br /&gt;
&lt;br /&gt;
Same here in Web page, we use &lt;b&gt;Heading Tags (&lt;/b&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;h1, h2, h3, h4, h5, h6&lt;/span&gt;&lt;b&gt;)&lt;/b&gt;&amp;nbsp;to make formatting of contents in &amp;nbsp;properly manner, and to gain proper attention of the website users.&lt;br /&gt;
&lt;br /&gt;
One point to remember for further coming post for you all is:&lt;br /&gt;
Every content will be defined in &lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;...&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt; section of an HTML document (HTML Page, Web Page).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;First Web Page&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;h1&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Heading Text using h1 tag&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;h2&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Heading Text using h2 tag&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/h2&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;h3&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Heading Text using h3 tag&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/h3&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;h4&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Heading Text using h4 tag&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/h4&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;h5&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Heading Text using h5 tag&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/h5&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;h6&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Heading Text using h6 tag&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/h6&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;b&gt;Output:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-gi6z9zVbFkE/TeSoRVsGmcI/AAAAAAAAADE/QHEBgs6KblU/s1600/post5.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="286" src="http://4.bp.blogspot.com/-gi6z9zVbFkE/TeSoRVsGmcI/AAAAAAAAADE/QHEBgs6KblU/s320/post5.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8425088560319931065-4561785280365333572?l=weborafix.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JnOZx8KAes9Kyksl3YvTb7Q_8AY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JnOZx8KAes9Kyksl3YvTb7Q_8AY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JnOZx8KAes9Kyksl3YvTb7Q_8AY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JnOZx8KAes9Kyksl3YvTb7Q_8AY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Weborafix/~4/BnGiMtEA2fE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://weborafix.blogspot.com/feeds/4561785280365333572/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://weborafix.blogspot.com/2011/05/use-of-heading-tags-with-example.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/4561785280365333572?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/4561785280365333572?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Weborafix/~3/BnGiMtEA2fE/use-of-heading-tags-with-example.html" title="Use of Heading Tags with Example" /><author><name>Umair</name><uri>http://www.blogger.com/profile/11843669076275170510</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/-ir_D6txoPDQ/TgDVGucNU1I/AAAAAAAAAD0/mMhdU9JjKDQ/s220/umair.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-gi6z9zVbFkE/TeSoRVsGmcI/AAAAAAAAADE/QHEBgs6KblU/s72-c/post5.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://weborafix.blogspot.com/2011/05/use-of-heading-tags-with-example.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkEAQHcycSp7ImA9WhZVF0k.&quot;"><id>tag:blogger.com,1999:blog-8425088560319931065.post-3392081436617636153</id><published>2011-05-30T09:06:00.010+05:00</published><updated>2011-05-30T14:44:01.999+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-30T14:44:01.999+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ul" /><category scheme="http://www.blogger.com/atom/ns#" term="div" /><category scheme="http://www.blogger.com/atom/ns#" term="span" /><category scheme="http://www.blogger.com/atom/ns#" term="h4" /><category scheme="http://www.blogger.com/atom/ns#" term="ol" /><category scheme="http://www.blogger.com/atom/ns#" term="input" /><category scheme="http://www.blogger.com/atom/ns#" term="h5" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML Tags" /><category scheme="http://www.blogger.com/atom/ns#" term="img" /><category scheme="http://www.blogger.com/atom/ns#" term="h6" /><category scheme="http://www.blogger.com/atom/ns#" term="h2" /><category scheme="http://www.blogger.com/atom/ns#" term="h3" /><category scheme="http://www.blogger.com/atom/ns#" term="h1" /><category scheme="http://www.blogger.com/atom/ns#" term="table" /><category scheme="http://www.blogger.com/atom/ns#" term="a" /><title>Markup tags and their use</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Markup Tags&lt;/b&gt; are&amp;nbsp;normally&amp;nbsp;known as HTML Tags. These are actually&amp;nbsp;keywords&amp;nbsp;surrounded&amp;nbsp;by angle brackets like &lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;html&amp;gt;&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
Tag is used as pair like &lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;html&amp;gt;&amp;nbsp;&lt;/span&gt;and&amp;nbsp;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;, where &lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;html&amp;gt;&lt;/span&gt; represents start and &lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt; represents end. Start tag is known as &lt;b&gt;Opening tag&lt;/b&gt; and End tag is known as &lt;b&gt;Closing Tag&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Markup tags&lt;/b&gt; are not case&amp;nbsp;sensitive. There is a term used in HTML document, doctype. If no any doctype is defined when creating an HTML document, Markup tags defined in Upper or Lower. But It is recommended for all of you to practice it in small case like &lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;span&amp;gt;&lt;/span&gt;, not like &lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;SPAN&amp;gt;&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
We'll focus on contents of HTML document related basic Markup tags commonly used:&lt;br /&gt;
All these tags will be used within &lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;body&amp;gt;...&amp;lt;/body&amp;gt;&lt;/span&gt;&amp;nbsp;tag, so that it can be displayed on browser.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;For Text Headings:&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;h1&amp;gt;...&amp;lt;/h1&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;h2&amp;gt;...&amp;lt;/h2&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;h3&amp;gt;...&amp;lt;/h3&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;h4&amp;gt;...&amp;lt;/h4&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;h5&amp;gt;...&amp;lt;/h5&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;h6&amp;gt;...&amp;lt;/h6&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;For Text Paragraphs:&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;p&amp;gt;...&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;For Page Division or Making Sections:&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;span&amp;gt;...&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;div&amp;gt;...&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;For&amp;nbsp;representing&amp;nbsp;contents in the form of rows &amp;amp;&amp;nbsp;columns&amp;nbsp;on HTML page:&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;table&amp;gt;...&amp;lt;/table&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;For linking one Web page with another (Hyperlink):&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;a&amp;gt;...&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;For making Forms:&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;input /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;form&amp;gt;...&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;For placing photos:&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;img /&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;For lists:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman';"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;ul&amp;gt;...&amp;lt;/ul&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;ol&amp;gt;...&amp;lt;/ol&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
There are many other tags available but will learn when we need it.&lt;br /&gt;
In next coming posts, we'll learn deeply the use of each commonly used tags with examples.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8425088560319931065-3392081436617636153?l=weborafix.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/u1ecgRwU1GMCWbDMU_k0Iw8ZeSA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u1ecgRwU1GMCWbDMU_k0Iw8ZeSA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/u1ecgRwU1GMCWbDMU_k0Iw8ZeSA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/u1ecgRwU1GMCWbDMU_k0Iw8ZeSA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Weborafix/~4/JI6xqViCE0w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://weborafix.blogspot.com/feeds/3392081436617636153/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://weborafix.blogspot.com/2011/05/markup-tags-and-their-use.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/3392081436617636153?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/3392081436617636153?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Weborafix/~3/JI6xqViCE0w/markup-tags-and-their-use.html" title="Markup tags and their use" /><author><name>Umair</name><uri>http://www.blogger.com/profile/11843669076275170510</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/-ir_D6txoPDQ/TgDVGucNU1I/AAAAAAAAAD0/mMhdU9JjKDQ/s220/umair.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://weborafix.blogspot.com/2011/05/markup-tags-and-their-use.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYMQno8fip7ImA9WhZVFks.&quot;"><id>tag:blogger.com,1999:blog-8425088560319931065.post-2610687102730734174</id><published>2011-05-29T15:15:00.001+05:00</published><updated>2011-05-29T15:16:23.476+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-29T15:16:23.476+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Structure" /><category scheme="http://www.blogger.com/atom/ns#" term="Web page" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML page" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML document" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML" /><title>Structure of an HTML page</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Markup Tags&lt;/b&gt; are used to construct an HTML page (a Web page).&amp;nbsp;We&amp;nbsp;divide an HTML document into following tags.&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;html&amp;gt;...&amp;lt;/html&amp;gt;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
This tag represents the start and end of an HTML document. It has two sub parts.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. Head&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;2. Body&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Head&lt;/b&gt; can be defined using tag &lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;head&amp;gt;...&amp;lt;/head&amp;gt;&lt;/span&gt;. Head contains processing information and meta data for HTML document.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Body&lt;/b&gt; can be defined using tag &lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;body&amp;gt;...&amp;lt;/body&amp;gt;&lt;/span&gt; that contains displayable information on browser.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Head&lt;/b&gt; contains another important part &lt;b&gt;Title&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;title&amp;gt;...&amp;lt;/title&amp;gt;&lt;/span&gt; this tag is use to display heading of the web page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Simple structure of an HTML page will be&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://1.bp.blogspot.com/-3egX5KkpA_o/TeIcdoljRBI/AAAAAAAAADA/GrPlR7voR18/s1600/post3.jpg" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="191" src="http://1.bp.blogspot.com/-3egX5KkpA_o/TeIcdoljRBI/AAAAAAAAADA/GrPlR7voR18/s400/post3.jpg" width="400" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8425088560319931065-2610687102730734174?l=weborafix.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NUAhXVkrAxNB0N8WXg5ufpk6Cis/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NUAhXVkrAxNB0N8WXg5ufpk6Cis/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NUAhXVkrAxNB0N8WXg5ufpk6Cis/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NUAhXVkrAxNB0N8WXg5ufpk6Cis/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Weborafix/~4/QbjvgmBRNys" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://weborafix.blogspot.com/feeds/2610687102730734174/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://weborafix.blogspot.com/2011/05/structure-of-html-page.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/2610687102730734174?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/2610687102730734174?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Weborafix/~3/QbjvgmBRNys/structure-of-html-page.html" title="Structure of an HTML page" /><author><name>Umair</name><uri>http://www.blogger.com/profile/11843669076275170510</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/-ir_D6txoPDQ/TgDVGucNU1I/AAAAAAAAAD0/mMhdU9JjKDQ/s220/umair.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-3egX5KkpA_o/TeIcdoljRBI/AAAAAAAAADA/GrPlR7voR18/s72-c/post3.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://weborafix.blogspot.com/2011/05/structure-of-html-page.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAESXszcSp7ImA9WhZVFUg.&quot;"><id>tag:blogger.com,1999:blog-8425088560319931065.post-8329231737728474218</id><published>2011-05-28T09:43:00.000+05:00</published><updated>2011-05-28T09:58:28.589+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-28T09:58:28.589+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Web page" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML page" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML document" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML" /><title>What is an HTML document or a Web Page</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;b&gt;HTML&lt;/b&gt; (Hyper Text Markup Language), where Markup language is a set of Markup tags. You'll learn soon the basics and the use of these Tags, that an HTML uses to describe Web Page.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;b&gt;Web page&lt;/b&gt; is a standard WWW (World Wide Web) document or information resource that can be accessed through web browser and can be displayed on a computer display or mobile etc.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;In short, an HTML document is known as a Web page.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8425088560319931065-8329231737728474218?l=weborafix.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/X5uooT8C55lmF6kxBgOnaYnjpmY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X5uooT8C55lmF6kxBgOnaYnjpmY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/X5uooT8C55lmF6kxBgOnaYnjpmY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X5uooT8C55lmF6kxBgOnaYnjpmY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Weborafix/~4/N6mdE6BgapA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://weborafix.blogspot.com/feeds/8329231737728474218/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://weborafix.blogspot.com/2011/05/html-document-or-web-page.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/8329231737728474218?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/8329231737728474218?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Weborafix/~3/N6mdE6BgapA/html-document-or-web-page.html" title="What is an HTML document or a Web Page" /><author><name>Umair</name><uri>http://www.blogger.com/profile/11843669076275170510</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/-ir_D6txoPDQ/TgDVGucNU1I/AAAAAAAAAD0/mMhdU9JjKDQ/s220/umair.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://weborafix.blogspot.com/2011/05/html-document-or-web-page.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQAQ3o7cSp7ImA9WhZVFk0.&quot;"><id>tag:blogger.com,1999:blog-8425088560319931065.post-5531592696288615159</id><published>2011-05-27T11:22:00.001+05:00</published><updated>2011-05-28T22:05:42.409+05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-28T22:05:42.409+05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Learn HTML" /><category scheme="http://www.blogger.com/atom/ns#" term="HTML" /><category scheme="http://www.blogger.com/atom/ns#" term="Create a web page" /><title>Create an HTML page</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;There are many ways to create web pages. But&amp;nbsp;I'll&amp;nbsp;recommend new learners to use simply a notepad editor. It'll help you to learn all HTML basics more&amp;nbsp;effectively...&lt;br /&gt;
&lt;br /&gt;
Learn HTML quickly in 5 easy steps for creating your first web page, that will work on you browser.&lt;br /&gt;
&lt;br /&gt;
Step1: Open notepad editor&lt;br /&gt;
&lt;br /&gt;
Step2:&lt;br /&gt;
copy this code and paste into text editor&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;html&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;First Web Page&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Hello World! This is my first web page.&lt;/span&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span class="Apple-style-span" style="color: magenta; font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Step3: Save file: set save as type to &amp;lt;all file types&amp;gt;, and &amp;lt;file name&amp;gt; to myfirstpage.html or my firstpage.htm&lt;br /&gt;
&lt;br /&gt;
Step4: close notepad text editor&lt;br /&gt;
&lt;br /&gt;
Step5: double click on the myfirstpage.html or myfirstpage.htm, it will be opened into browser.&lt;br /&gt;
&lt;br /&gt;
It works :)&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8425088560319931065-5531592696288615159?l=weborafix.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/X4mIM2MlsCfYXV_o8-qCaBBgcjQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X4mIM2MlsCfYXV_o8-qCaBBgcjQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/X4mIM2MlsCfYXV_o8-qCaBBgcjQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X4mIM2MlsCfYXV_o8-qCaBBgcjQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Weborafix/~4/xVzI2AEn6yc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://weborafix.blogspot.com/feeds/5531592696288615159/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://weborafix.blogspot.com/2011/05/create-html-page.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/5531592696288615159?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8425088560319931065/posts/default/5531592696288615159?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Weborafix/~3/xVzI2AEn6yc/create-html-page.html" title="Create an HTML page" /><author><name>Umair</name><uri>http://www.blogger.com/profile/11843669076275170510</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="24" height="32" src="http://2.bp.blogspot.com/-ir_D6txoPDQ/TgDVGucNU1I/AAAAAAAAAD0/mMhdU9JjKDQ/s220/umair.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://weborafix.blogspot.com/2011/05/create-html-page.html</feedburner:origLink></entry></feed>

