<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-7576053877495066727</atom:id><lastBuildDate>Thu, 24 Oct 2024 11:53:28 +0000</lastBuildDate><category>HTML</category><title>﻿LEARN WEB DESIGN</title><description>Learn Web Designing and Development. We teach web designing and development. Our service charge is totally FREE! We also making video tutorials for HTML, CSS, PHP, JavaScript, jQuery, Ruby, Python etc. Being with us and be a Web Designer and Developer. </description><link>http://learnhtmlandcssonline.blogspot.com/</link><managingEditor>noreply@blogger.com (Anonymous)</managingEditor><generator>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-4528891150264447638</guid><pubDate>Thu, 24 Oct 2013 05:33:00 +0000</pubDate><atom:updated>2013-10-29T07:00:56.845-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>Soft Hyphens</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Occasionally, you will want to allow a browser to hyphenate long words to better justify a paragraph. For example, consider the following code and its resulting output. &lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;p style=&quot;text-align: justify;&quot;&amp;gt; The morbid fear of the number 13, or triskaidekaphobia, has plagued some important historic figures like Mahamiya and Nanao.&amp;lt;/p&amp;gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In cases where you want a client browser to be able to hyphenate a word if necessary, use the soft hyphen entity (&amp;amp;shy;) to specify where a word should be hyphenated. So above example should be written as follows:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;p style=&quot;text-align: justify;&quot;&amp;gt; Example for soft hyphen - The morbid fear of the number 13, or tri&amp;amp;shy;skai&amp;amp;shy;deka&amp;amp;shy;phobia, has plagued some important historic figures like Mahamiya and Nanao.&amp;lt;/p&amp;gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;b&gt;NOTE:&lt;/b&gt; This may notwork with some web browsers.&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Preserve Formatting - The &amp;lt;pre&amp;gt; Element:&lt;/span&gt;&lt;/h3&gt;
Sometimes you want your text to follow the exact format of how it is written in the HTML document. In those cases, you can use the preformatted tag (&amp;lt;pre&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Any text between the opening &amp;lt;pre&amp;gt; tag and the closing &amp;lt;/pre&amp;gt; tag will preserve the formatting of the source document.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function demoFunction( strText ){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; alert (strText) }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/blockquote&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Horizontal Rules - The &amp;lt;hr /&amp;gt; Element:&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Horizontal rules are used to visually break up sections of a document. The &amp;lt;hr&amp;gt; tag creates a line from the current position in the document to the right margin and breaks the line accordingly.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
For example you may want to give a line between two paragraphs as follows:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;p&amp;gt;This is paragraph one and should be on top&amp;lt;/p&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;hr /&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;p&amp;gt;This is paragraph two and should be at bottom&amp;lt;/p&amp;gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Again &amp;lt;hr /&amp;gt; tag is an example of an empty element, where you do not need opening and closing tags, as there is nothing to go in between them.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Note: &lt;/b&gt;The &amp;lt;hr /&amp;gt; element has a space between the characters br and the forward slash. If you omit this space, older browsers will have trouble rendering the line break, while if you miss the forward slash character and just use &amp;lt;hr&amp;gt; it is not valid XHTML&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Presentational Tags:&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
If you use a word processor, you are familiar with the ability to make text bold, italicized, or underlined; these are just three of the ten options available to indicate how text can appear in HTML and XHTML.&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Bold Text - The &amp;lt;b&amp;gt; Element:&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Anything that appears in a &amp;lt;b&amp;gt;...&amp;lt;/b&amp;gt; element is displayed in bold, like the word bold here:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;p&amp;gt;The following word uses a &amp;lt;b&amp;gt;bold&amp;lt;/b&amp;gt; typeface.&amp;lt;/p&amp;gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Italic Text - The &amp;lt;i&amp;gt; Element:&lt;/span&gt;&lt;/h3&gt;
Anything that appears in a &amp;lt;i&amp;gt;...&amp;lt;/i&amp;gt; element is displayed in italicized, like the word italicized here:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;p&amp;gt;The following word uses a &amp;lt;i&amp;gt;italicized&amp;lt;/i&amp;gt; typeface.&amp;lt;/p&amp;gt; &lt;/blockquote&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&amp;lt;&amp;lt; Previous Next &amp;gt;&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;center&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;1&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;2&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;3&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;4&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;5&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;6&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;7&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;8&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;9&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;10&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;11&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;12&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;13&lt;/a&gt;  14&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/center&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
&lt;/div&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-7987759938010061722</guid><pubDate>Thu, 24 Oct 2013 05:03:00 +0000</pubDate><atom:updated>2013-10-25T11:22:20.951-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>Create Line Breaks - The  Element</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Whenever we use the &amp;lt;br /&amp;gt; element, anything following it starts on the next line. This tag is an example of an empty element, where we do not need opening and closing tags, as there is nothing to go in between them.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; The &amp;lt;br /&amp;gt; element has a space between the characters br and the forward slash. If we omit this space, older browsers will have trouble rendering the line break, while if we miss the forward slash character and just use &amp;lt;br&amp;gt; it is not valid XHTML &lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Example:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
My Dear&amp;lt;br /&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio.&amp;lt;br /&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Regards&amp;lt;br /&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Ahmad Bin Musa&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Centring Content - The &amp;lt;center&amp;gt; Element:&lt;/span&gt;&lt;/h3&gt;
We can use &amp;lt;center&amp;gt; tag to put any content in the center of the page or any table cell.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;p&amp;gt;This is not in the center.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;p&amp;gt;This is in the center.&amp;lt;/p&amp;gt;&amp;lt;/center&amp;gt;&lt;/blockquote&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Nonbreaking Spaces:&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
For example we were to use the phrase &quot;10 Hungry Men.&quot; Here we would not want a browser to split the &quot;10&quot; and &quot;Hungry&quot; across two lines: &lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
A good example of this technique appears in the movie &quot;10 Hungry Men.&quot;&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
In cases where we do not want the client browser to break text, we should use a nonbreaking space entity (&amp;amp;nbsp;) instead of a normal space. For example, when coding the &quot;10 Hungry Men&quot; paragraph, we would use something similar to the following code:&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;p&amp;gt;A good example of this technique appears in the movie &quot;10&amp;amp;nbsp;Hungry&amp;amp;nbsp;Men.&quot;&amp;lt;/p&amp;gt;&lt;/blockquote&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;&amp;lt;&amp;lt; Previous&lt;/a&gt; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;Next &amp;gt;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;center&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;1&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;2&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;3&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;4&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;5&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;6&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;7&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;8&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;9&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;10&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;11&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;12&lt;/a&gt;&amp;nbsp; 13  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;14&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/center&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-1146144798093320821</guid><pubDate>Thu, 24 Oct 2013 00:56:00 +0000</pubDate><atom:updated>2013-10-25T11:22:37.651-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>HTML Formatting Tags</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
If we want people to read what we have written, then structuring our text well is even more important on the Web than when writing for print. People have trouble reading wide, long, paragraphs of text on Web sites unless they are broken up well. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
This section will teach us a basic text formatting elements like heading elements and paragraph elements.&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;
&lt;span style=&quot;font-size: large;&quot;&gt;White-spaced Flow:&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Before we start to mark up our text, it is best to understand what HTML does when it comes across spaces and how browsers treat long sentences and paragraphs of text.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;We might think that if we put several consecutive spaces between two words, the spaces would appear between those words onscreen, but this is not the case; by default, only one space will be displayed. This is known as white space collapsing. So we need to use special HTML tags to create multiple spaces.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;Similarly, if we start a new line in our source document, or we have consecutive empty lines, these will be ignored and simply treated as one space. So we need to use special HTML tags to create more number of empty lines.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Create Headings - The &amp;lt;hn&amp;gt; Elements:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Any documents starts with a heading. We use different sizes for our headings. HTML also have six levels of headings, which use the elements &amp;lt;h1&amp;gt;, &amp;lt;h2&amp;gt;, &amp;lt;h3&amp;gt;, &amp;lt;h4&amp;gt;, &amp;lt;h5&amp;gt;, and &amp;lt;h6&amp;gt;. While displaying any heading, browser adds one line before and after that heading.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code&gt;&amp;lt;h1&amp;gt;This is heading number 1&amp;lt;/h1&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code&gt;
&amp;lt;h2&amp;gt;This is heading number 2&amp;lt;/h2&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code&gt;
&lt;/code&gt;
&lt;code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code&gt;
&amp;lt;h3&amp;gt;This is heading number 3&amp;lt;/h3&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code&gt;
&lt;/code&gt;
&lt;code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code&gt;
&amp;lt;h4&amp;gt;This is heading number 4&amp;lt;/h4&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code&gt;
&lt;/code&gt;
&lt;code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code&gt;
&amp;lt;h5&amp;gt;This is heading number 5&amp;lt;/h5&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code&gt;
&lt;/code&gt;
&lt;code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code&gt;
&amp;lt;h6&amp;gt;This is heading number 6&amp;lt;/h6&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;code&gt;
&lt;/code&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Create Paragraph - The &amp;lt;p&amp;gt; Element: &lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
The &amp;lt;p&amp;gt; element offers a way to structure our text. Each paragraph of text should go in between an opening &amp;lt;p&amp;gt; and closing &amp;lt;/p&amp;gt; tag as shown below in the &lt;b&gt;example:&lt;/b&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;lt;p&amp;gt;Our first paragraph.&amp;lt;/p&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;lt;p&amp;gt;Our second paragraph.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Our third paragraph.&amp;lt;/p&amp;gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
We can use align attribute to align our paragraphs.&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;p align=&quot;left&quot;&amp;gt;This is left aligned.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p align=&quot;center&quot;&amp;gt;This is center aligned.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p align=&quot;right&quot;&amp;gt;This is right aligned.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p align=&quot;justify&quot;&amp;gt;This is jutified. This works when you have multiple lines in your paragraph and you want to justfy all the lines so that they can look more nice.&amp;lt;/p&amp;gt;&amp;nbsp; &lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;&amp;lt;&amp;lt; Previous&lt;/a&gt; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;Next &amp;gt;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;center&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;1&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;2&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;3&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;4&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;5&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;6&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;7&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;8&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;9&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;10&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;11&lt;/a&gt;  12&amp;nbsp; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;13&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;14&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/center&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-2764942731941744422</guid><pubDate>Tue, 15 Oct 2013 04:18:00 +0000</pubDate><atom:updated>2013-10-25T11:22:56.875-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>The lang Attribute</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The lang attribute allows we to indicate the main language used in a document, but this attribute was kept in &lt;b&gt;HTML&lt;/b&gt; only for backwards compatibility with earlier versions of &lt;b&gt;HTML&lt;/b&gt;. This attribute has been replaced by the &lt;b&gt;xml:lang &lt;/b&gt;attribute in new &lt;b&gt;XHTML&lt;/b&gt; documents.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
When included within the &lt;b&gt;&amp;lt;html&amp;gt;&lt;/b&gt; tag, the lang attribute specifies the language we&#39;ve generally used within the document. When we used within other tags, the lang attribute specifies the language we used within that tag&#39;s content. Ideally, the browser will use lang to better render the text for the user. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The values of the lang attribute are &lt;b&gt;ISO-639&lt;/b&gt; standard two-character language codes. Check &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/p/blog-page_14.html&quot; target=&quot;_blank&quot;&gt;HTML Language Codes: &lt;b&gt;ISO 639&lt;/b&gt;&lt;/a&gt; for a complete list of language codes.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Sample:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;html lang=fr&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;head&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;title&amp;gt;French Language Page&amp;lt;/title&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;/head&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;body&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
This page is using French Language&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;/body&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;/html&amp;gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;The xml:lang Attribute: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
The &lt;b&gt;xml:lang &lt;/b&gt;attribute is the &lt;b&gt;XHTML&lt;/b&gt; replacement for the lang attribute. The value of the &lt;b&gt;xml:lang&lt;/b&gt; attribute should be an &lt;b&gt;ISO-639 &lt;/b&gt;country code as mentioned in previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Generic Attributes:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
Here&#39;s a table of some other attributes that are readily usable with many of HTML&#39;s tags.&lt;/div&gt;
&lt;style type=&quot;text/css&quot;&gt;
.tg-table-blue { border-collapse: collapse; border-spacing: 0; }
.tg-table-blue td, .tg-table-blue th { background-color: #F7FDFA; border: 1px #999 solid; color: #444; font-family: sans-serif; font-size: 100%; padding: 10px; vertical-align: top; }
.tg-table-blue .tg-even td  { background-color: #D2E4FC; }
.tg-table-blue th  { background-color: #26ADE4; color: #FFF; font-size: 110%; font-weight: bold; }
.tg-table-blue tr:hover td, .tg-table-blue tr.even:hover td  { color: #333; background-color: #FFCC00; }
.tg-bf { font-weight: bold; } .tg-it { font-style: italic; }
.tg-left { text-align: left; } .tg-right { text-align: right; } .tg-center { text-align: center; }
&lt;/style&gt;

&lt;br /&gt;
&lt;table class=&quot;tg-table-blue&quot;&gt;
  &lt;tbody&gt;
&lt;tr&gt;
    &lt;th&gt;Attribute &lt;/th&gt;
    &lt;th&gt;Options &lt;/th&gt;
    &lt;th&gt;Function &lt;/th&gt;
  &lt;/tr&gt;
&lt;tr class=&quot;tg-even&quot;&gt;
    &lt;td&gt;align &lt;/td&gt;
    &lt;td&gt;right, left, center &lt;/td&gt;
    &lt;td&gt;Horizontally aligns tags &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;valign &lt;/td&gt;
    &lt;td&gt;top, middle, bottom &lt;/td&gt;
    &lt;td&gt;Vertically aligns tags within an HTML element.&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr class=&quot;tg-even&quot;&gt;
    &lt;td&gt;bgcolor &lt;/td&gt;
    &lt;td&gt;numeric, hexidecimal, RGB values&amp;nbsp; &lt;/td&gt;
    &lt;td&gt;Places a background color behind an element&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;background &lt;/td&gt;
    &lt;td&gt;URL &lt;/td&gt;
    &lt;td&gt;Places an background image behind an element&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr class=&quot;tg-even&quot;&gt;
    &lt;td&gt;id&lt;/td&gt;
    &lt;td&gt;User Defined&lt;/td&gt;
    &lt;td&gt;Names an element for use with Cascading Style Sheets.&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;class&lt;/td&gt;
    &lt;td&gt;User Defined&lt;/td&gt;
    &lt;td&gt;Classifies an element for use with Cascading Style Sheets.&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr class=&quot;tg-even&quot;&gt;
    &lt;td&gt;width&lt;/td&gt;
    &lt;td&gt;Numeric Value&lt;/td&gt;
    &lt;td&gt;Specifies the width of tables, images, or table cells.&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;height&lt;/td&gt;
    &lt;td&gt;Numeric Value&lt;/td&gt;
    &lt;td&gt;Specifies the height of tables, images, or table cells. &lt;/td&gt;
  &lt;/tr&gt;
&lt;tr class=&quot;tg-even&quot;&gt;
    &lt;td&gt;title&lt;/td&gt;
    &lt;td&gt;User Defined&lt;/td&gt;
    &lt;td&gt;&quot;Pop-up&quot; title for your elements.&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;We will see related examples as we will proceed to study other HTML tags.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;For a complete list of HTML Tags and related attributes please check reference to &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/p/tag-description-defines-comment-defines.html&quot; target=&quot;_blank&quot;&gt;HTML Tags List&lt;/a&gt;. &lt;/span&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;&amp;lt;&amp;lt; Previous&lt;/a&gt; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;Next &amp;gt;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;1&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;2&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;3&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;4&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;5&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;6&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;7&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;8&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;9&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;10&lt;/a&gt;  11  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;12&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;13&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;14&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt; &lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;//www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-44808176-1&#39;, &#39;learnhtmlandcssonline.blogspot.com&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-5056724116254474100</guid><pubDate>Mon, 14 Oct 2013 15:29:00 +0000</pubDate><atom:updated>2013-10-25T11:23:20.864-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>The Class Attribute</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The class attribute is used to associate an element with a style sheet, and specifies the class of element. We learn more about the use of the class attribute when we will learn &lt;b&gt;Casecading Style Sheet (CSS&lt;/b&gt;). So for now we can avoid it. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The value of the attribute may also be a space-separated list of class names. For example:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
class=&quot;yourClass1 yourClass2 yourClass3&quot;&lt;/blockquote&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;The style Attribute:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The style attribute allows we to specify &lt;b&gt;CSS&lt;/b&gt; rules within the element. For example:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;lt;p style=&quot;font-family:arial; color:#FF0000;&quot;&amp;gt;Your text...&amp;lt;/p&amp;gt; &amp;nbsp;&lt;/span&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Internationalization Attributes:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
There are three internationalization attributes, which are available to most (although not all) XHTML elements.&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;dir&lt;/li&gt;
&lt;li&gt;lang&lt;/li&gt;
&lt;li&gt;xml:lang &lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The &lt;i&gt;dir&lt;/i&gt; attribute allows we to indicate to the browser the direction in which the text should flow.The dir attribute can take one of two values, as we can see in the table that follows:&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;style type=&quot;text/css&quot;&gt;
.tg-table-blue { border-collapse: collapse; border-spacing: 0; }
.tg-table-blue td, .tg-table-blue th { background-color: #F7FDFA; border: 1px #999 solid; color: #444; font-family: sans-serif; font-size: 100%; padding: 10px; vertical-align: top; }
.tg-table-blue .tg-even td  { background-color: #D2E4FC; }
.tg-table-blue th  { background-color: #26ADE4; color: #FFF; font-size: 110%; font-weight: bold; }
.tg-table-blue tr:hover td, .tg-table-blue tr.even:hover td  { color: #333; background-color: #FFCC00; }
.tg-bf { font-weight: bold; } .tg-it { font-style: italic; }
.tg-left { text-align: left; } .tg-right { text-align: right; } .tg-center { text-align: center; }
&lt;/style&gt;

&lt;br /&gt;
&lt;table class=&quot;tg-table-blue&quot;&gt;
  &lt;tbody&gt;
&lt;tr&gt;
    &lt;th class=&quot;tg-center&quot;&gt;Value&amp;nbsp;&lt;/th&gt;
    &lt;th class=&quot;tg-center&quot;&gt;Meaning&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr class=&quot;tg-even&quot;&gt;
    &lt;td&gt;ltr&lt;/td&gt;
    &lt;td&gt;The default value (left to right)&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;rtl&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;The default value (right to left). Arabic language start from right side.&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Example:&lt;/b&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;html dir=rtl&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;Website Title&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;Write something and check on your browser.&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;nbsp; &lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
When we used &lt;i&gt;dir&lt;/i&gt; attribute within the &lt;b&gt;HTML&lt;/b&gt; tag, it determines how text will be present within the entire SITE or DOC. When we used within other tag, it change the text&#39;s position for just the content of that tag.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;&amp;lt;&amp;lt; Previous&lt;/a&gt; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot; target=&quot;_blank&quot;&gt;Next &amp;gt;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;//www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-44808176-1&#39;, &#39;learnhtmlandcssonline.blogspot.com&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;1&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;2&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;3&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;4&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;5&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;6&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;7&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;8&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;9&lt;/a&gt;  10  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;11&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;12&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;13&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;14&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-1387633212820264949</guid><pubDate>Mon, 14 Oct 2013 15:11:00 +0000</pubDate><atom:updated>2013-10-25T11:23:41.511-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>HTML Attributes</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Attributes are important part of &lt;b&gt;HTML&lt;/b&gt;. Attribute is used to define the peculiarity of an element and is place inside the element&#39;s opening tag. Every attributes are made up of two parts: name and value:&lt;/div&gt;
&lt;ul style=&quot;text-align: justify;&quot;&gt;
&lt;li&gt;The name is the property we want to setup. Example, the &lt;b&gt;&amp;lt;font&amp;gt;&lt;/b&gt; element in the example carry&amp;nbsp; an attribute whose name is face, which we can use to indicate which typeface we want the text to appear in.&lt;/li&gt;
&lt;li&gt;The value is what we want the value of the property to be. The first example was supposed to use the Arial typeface, so the value of the face attribute is Arial.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The value of the attribute should be put in double quotation marks, and is separated from the name by the equals sign. We can see that a color for the text has been specified as well as the typeface in this &lt;b&gt;&amp;lt;font&amp;gt;&lt;/b&gt; element:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;font face=&quot;arial&quot; color=&quot;#CC0000&quot;&amp;gt; &lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Many &lt;b&gt;HTML&lt;/b&gt; tags have a unique set of their own attributes. These will be discussed as each tag is introduced throughout the tutorial. Right now we want to focus on a set of generic attributes that can be used with just about every &lt;b&gt;HTML&lt;/b&gt; Tag in existence.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Core Attributes:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The four core attributes that can be used on the majority of &lt;b&gt;HTML&lt;/b&gt; elements (although not all) are:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;id&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;title&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;class&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;style&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;The id Attribute:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The id attribute can be used to uniquely identify any element within a page ( or &lt;b&gt;style sheet&lt;/b&gt; ). There are two primary reasons that we might want to use an id attribute on an element:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;If an element carries an id attribute as a unique identifier it is possible to identify just that element and its content.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;If we have two elements of the same name within a Web page (or &lt;b&gt;style sheet&lt;/b&gt;), we can use the id attribute to distinguish between elements that have the same name. &lt;/span&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
We will discuss style sheet in separate tutorial. For now, the id attribute could be used to distinguish between two paragraph elements, like so: &lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;p id=&quot;html&quot;&amp;gt;This para explains what is &lt;b&gt;HTML&lt;/b&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;p id=&quot;css&quot;&amp;gt;This para explains what is &lt;b&gt;Casecading Style Sheet (CSS)&lt;/b&gt;&amp;lt;/p&amp;gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;b&gt;Note:&lt;/b&gt; that there are some special rules for the value of the id attribute, it must:&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Begin with a letter (A.Z or a.z) and can then be followed by any number of letters, digits (0.9), hyphens, underscores, colons, and periods. &lt;/li&gt;
&lt;li&gt;Remain unique within that document; no two attributes may have the same value within that HTML document.&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;The title Attribute:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The title attribute gives a suggested title for the element. They syntax for the title attribute is similar as explained for id attribute: &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The behavior of this attribute will depend upon the element that carries it, although it is often displayed as a tooltip or while the element is loading.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;For example: &lt;/b&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;h4 title=&quot;Hello HTML!&quot;&amp;gt;Titled Heading Tag Example&amp;lt;/h4&amp;gt;&lt;/div&gt;
&lt;/blockquote&gt;
Above code will generate following result:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;h4 title=&quot;Hello HTML!&quot;&gt;
Titled Heading Tag Example&lt;/h4&gt;
&lt;/blockquote&gt;
Now try to bring our cursor over &quot;&lt;b&gt;Titled Heading Tag Example&lt;/b&gt;&quot; and see the result.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;&amp;lt;&amp;lt; Previous&lt;/a&gt; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;Next &amp;gt;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;//www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-44808176-1&#39;, &#39;learnhtmlandcssonline.blogspot.com&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;1&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;2&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;3&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;4&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;5&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;6&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;7&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;8&lt;/a&gt;  9  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;10&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;11&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;12&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;13&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;14&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-7205453837381394210</guid><pubDate>Mon, 14 Oct 2013 14:54:00 +0000</pubDate><atom:updated>2013-10-25T11:23:57.083-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>Setting Cookies</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
We can use Meta Tag to store cookies on client side later information can be used by then Web Server to track a site visitor. &lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&quot;cookie&quot; content=&quot;userid=xyz; expires=Wednesday, 14-Oct-13 23:59:59 GMT; /&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt; &lt;/blockquote&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
If we do not include the expiration date and time, the cookie is considered a session cookie and will be deleted when the user exits the browser.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Setting Author Name:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
We can set an author name in a web page using Meta Tag. See an example below:&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;head&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;meta name=&quot;author&quot; content=&quot;Ahmad Bin Musa&quot; /&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;/head&amp;gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
If you do not include the expiration date and time, the cookie is considered a session cookie and will be deleted when the user exits the browser.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;&amp;lt;&amp;lt; Previous&lt;/a&gt; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;Next &amp;gt;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;//www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-44808176-1&#39;, &#39;learnhtmlandcssonline.blogspot.com&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;1&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;2&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;3&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;4&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;5&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;6&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;7&lt;/a&gt;  8  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;9&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;10&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;11&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;12&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;13&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;14&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-3382836446186852717</guid><pubDate>Mon, 14 Oct 2013 14:47:00 +0000</pubDate><atom:updated>2013-10-25T11:24:13.943-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>Specifying Keywords</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
We specify keywords which will be used by the search engine to search a web page. So using following tag you can specify important keywords related to your page.&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;head&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;meta name=&quot;keywords&quot; content=&quot;HTML, meta tags, metadata&quot; /&amp;gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;/head&amp;gt; &lt;/div&gt;
&lt;/blockquote&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large; text-align: justify;&quot;&gt;Document Description: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
This is again important information and many search engine use this information as well while searching a web page. So we should give an appropriate description of the page.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta name=&quot;description&quot; content=&quot;Learn about Meta Tags.&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&amp;nbsp; &lt;/blockquote&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Document Revision date: &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
This information tells about last time the document was updated.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta name=&quot;revised&quot; content=&quot;HTML Tutorials, 14/10/2013&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&amp;nbsp; &lt;/blockquote&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Document Refreshing: &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
We can specify a duration after which your web page will keep refreshing. If we want our page keep refreshing after every 10 seconds then use the following syntax. &lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&quot;refresh&quot; content=&quot;10&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt; &lt;/blockquote&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Page Redirection: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
We can specify a page redirection using Meta Tag. Following is an example of redirecting current page to another page. We can specify a duration after which page will be redirected. &lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&quot;refresh&quot; content=&quot;10; url=http://learnhtmlandcssonline.blogspot.com&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;/blockquote&gt;
If we don&#39;t provide a duration then page will be redirected immediately.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;&amp;lt;&amp;lt; Previous&lt;/a&gt; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;Next &amp;gt;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;//www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-44808176-1&#39;, &#39;learnhtmlandcssonline.blogspot.com&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;1&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;2&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;3&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;4&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;5&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;6&lt;/a&gt;  7  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;8&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;9&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;10&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;11&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;12&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;13&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;14&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-6097145619662905289</guid><pubDate>Mon, 14 Oct 2013 14:38:00 +0000</pubDate><atom:updated>2013-10-25T11:24:31.334-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>HTML Meta Tags</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
HTML lets you specify metadata - information about a document rather than document content - in a variety of ways. The META element can be used to include name/value pairs describing properties of the HTML document, such as author, Expiry Date, a list of key words, author etc. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
The &lt;b&gt;&amp;lt;meta&amp;gt;&lt;/b&gt; tag is an empty element and so does not have a closing tag, rather, &lt;b&gt;&amp;lt;meta&amp;gt;&lt;/b&gt; tags carry information within attributes, so you need a forward slash character at the end of the element. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Metadata provided by using meta tag is a very important part of the web. It can assist search engines in finding the best match when a user performs a search. Search engines will often look at any metadata attached to a page - especially keywords - and rank it higher than another page with less relevant metadata, or with no metadata at all. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Adding Meta Tags to Your Documents: &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
You can add metadata to your web pages by placing &lt;b&gt;&amp;lt;meta&amp;gt;&lt;/b&gt; tags between the &lt;b&gt;&amp;lt;head&amp;gt;&lt;/b&gt; and &lt;b&gt;&amp;lt;/head&amp;gt;&lt;/b&gt; tags. The can include the following attributes:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;style type=&quot;text/css&quot;&gt;
.tg-table-blue { border-collapse: collapse; border-spacing: 0; }
.tg-table-blue td, .tg-table-blue th { background-color: #F7FDFA; border: 1px #999 solid; color: #444; font-family: sans-serif; font-size: 100%; padding: 10px; vertical-align: top; }
.tg-table-blue .tg-even td  { background-color: #D2E4FC; }
.tg-table-blue th  { background-color: #26ADE4; color: #FFF; font-size: 110%; font-weight: bold; }
.tg-table-blue tr:hover td, .tg-table-blue tr.even:hover td  { color: #333; background-color: #FFCC00; }
.tg-bf { font-weight: bold; } .tg-it { font-style: italic; }
.tg-left { text-align: left; } .tg-right { text-align: right; } .tg-center { text-align: center; }
&lt;/style&gt;

&lt;br /&gt;
&lt;table class=&quot;tg-table-blue&quot;&gt;
  &lt;tbody&gt;
&lt;tr&gt;
    &lt;th class=&quot;tg-center&quot;&gt;Attribute&amp;nbsp;&lt;/th&gt;
    &lt;th class=&quot;tg-center&quot;&gt;Description&amp;nbsp;&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr class=&quot;tg-even&quot;&gt;
    &lt;td&gt;Name&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;Name for the property. Can be anything. Examples include, keywords, description, author, revised, generator etc.&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;content&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&lt;br /&gt;
Specifies the property&#39;s value.&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr class=&quot;tg-even&quot;&gt;
    &lt;td&gt;scheme&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;Specifies a scheme to use to interpret the property&#39;s value (as declared in the content attribute).&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td&gt;http-equiv&amp;nbsp;&lt;/td&gt;
    &lt;td&gt;&lt;br /&gt;
Used for http response message headers. For example http-equiv can be used to refresh the page or to set a cookie. Values include content-type, expires, refresh and set-cookie.&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;NOTE:&lt;/b&gt; Core attributes for all the elements are discussed in next chapter. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Meta Tag Examples: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Let&#39;s see few important usage of Meta Tags.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;&amp;lt;&amp;lt; Previous&lt;/a&gt; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;Next &amp;gt;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;//www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-44808176-1&#39;, &#39;learnhtmlandcssonline.blogspot.com&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;1&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;2&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;3&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;4&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;5&lt;/a&gt;  6  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;7&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;8&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;9&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;10&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;11&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;12&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;13&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;14&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-4875815129570503741</guid><pubDate>Mon, 14 Oct 2013 13:58:00 +0000</pubDate><atom:updated>2013-10-25T11:24:48.774-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>The BODY Element</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The &lt;b&gt;&amp;lt;body&amp;gt;&lt;/b&gt; element appears after the &lt;b&gt;&amp;lt;head&amp;gt;&lt;/b&gt; element and contains the part of the Web page that we actually see in the main browser window, which is sometimes referred to as body content. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
A &lt;b&gt;&amp;lt;body&amp;gt;&lt;/b&gt; element may contain anything from a couple of paragraphs under a heading to more complicated layouts containing forms and tables. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Most of what you will be learning in this and the following five chapters will be written between the opening &lt;b&gt;&amp;lt;body&amp;gt; &lt;/b&gt;tag and closing &lt;b&gt;&amp;lt;/body&amp;gt;&lt;/b&gt; tag. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Example: &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
Here is the example of using body tag. &lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;lt;body&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;p&amp;gt;This is a paragraph tag.&amp;lt;/p&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&amp;lt;/body&amp;gt; &lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Putting all together:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Now if we will put all these tags together, it will constitute a complete HTML document as follows: &lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;html&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;head&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;title&amp;gt;HTML Basic tags&amp;lt;/title&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;meta name=&quot;Keywords&quot; content=&quot;HTML, Web Pages&quot; /&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;meta name=&quot;description&quot; content=&quot;HTML Basic Tags&quot; /&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;base href=&quot;http://learnhtmlandcssonline.blogspot.com/&quot; /&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;tp.css&quot; /&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt; _uacct = &quot;&lt;code&gt;&lt;/code&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;code&gt;UA-44808176-1&lt;/code&gt;&lt;/span&gt;&quot;; urchinTracker(); &amp;lt;/script&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;/head&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;body&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;lt;p&amp;gt;This is a paragraph tag.&amp;lt;/p&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&amp;lt;/body&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;lt;/html&amp;gt; &lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;&amp;lt;&amp;lt; Previous&lt;/a&gt; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;Next &amp;gt;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;//www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-44808176-1&#39;, &#39;learnhtmlandcssonline.blogspot.com&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;1&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;2&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;3&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;4&lt;/a&gt;  5  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;6&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;7&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;8&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;9&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;10&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;11&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;12&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;13&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;14&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-8797665378995361389</guid><pubDate>Sun, 13 Oct 2013 02:26:00 +0000</pubDate><atom:updated>2013-10-25T11:25:08.306-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>The HEAD element</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The &lt;b&gt;&amp;lt;head&amp;gt;&lt;/b&gt; element is just a container for all other header elements. It should be the first thing to appear after the opening &lt;b&gt;&amp;lt;html&amp;gt;&lt;/b&gt; tag.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Each &lt;b&gt;&amp;lt;head&amp;gt;&lt;/b&gt; element should contain a &lt;b&gt;&amp;lt;title&amp;gt;&lt;/b&gt; element indicating the title of the document, although it may also contain any combination of the following elements, in any order:&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;The &lt;b&gt;&amp;lt;base&amp;gt;&lt;/b&gt; tag is used to areate a &quot;base&quot; url for all links on the page. Check HTML Base tag.&lt;/li&gt;
&lt;li&gt;The &lt;b&gt;&amp;lt;object&amp;gt;&lt;/b&gt; tag is designed to include images, JavaScript objects, Flash animations, MP3 files, QuickTime movies and other components of a page. Check HTML Object tag.&lt;/li&gt;
&lt;li&gt;The &lt;b&gt;&amp;lt;link&amp;gt;&lt;/b&gt; tag is used to link to an external file, such as a style sheet or JavaScript file. Check HTML Link tag.&lt;/li&gt;
&lt;li&gt;The&lt;b&gt; &amp;lt;style&amp;gt; &lt;/b&gt;tag is used to include CSS rules inside the document. Check HTML Style tag.&lt;/li&gt;
&lt;li&gt;The&lt;b&gt; &amp;lt;script&amp;gt; &lt;/b&gt;tag is used to include JAVAScript or VBScript inside the document. Check HTML Script tag.&lt;/li&gt;
&lt;li&gt;The &lt;b&gt;&amp;lt;meta&amp;gt;&lt;/b&gt; tag includes information about the document such as keywords and a description, which are particularly helpful for search applications. Check HTML Meta tag. &lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Example: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Following is the example of head tag.&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;HTML Basic tags&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;meta name=&quot;Keywords&quot; content=&quot;HTML, Web Pages&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;meta name=&quot;description&quot; content=&quot;HTML Basic Tags&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;base href=&quot;http://learnhtmlandcssonline.blogspot.com/&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;tp.css&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt; _uacct = &quot;&lt;/code&gt;&lt;code&gt;UA-44808176-1&quot;; urchinTracker(); &amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt; &lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;The &amp;lt;title&amp;gt; Element: &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
You should specify a title for every page that you write inside the &amp;lt;title&amp;gt; element. This element is a child of the &amp;lt;head&amp;gt; element). It is used in several ways:&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;It displays at the very top of a browser window.&lt;/li&gt;
&lt;li&gt;It is used as the default name for a bookmark in browsers such as IE and Netscape.&lt;/li&gt;
&lt;li&gt;Its is used by search engines that use its content to help index pages. &lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Therefore it is important to use a title that really describes the content of your site. The &amp;lt;title&amp;gt; element should contain only the text for the title and it may not contain any other elements. &lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Example: &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
Here is the example of using title tag. &lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;
&amp;lt;head&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code&gt;&amp;lt;title&amp;gt;HTML Basic tags&amp;lt;/title&amp;gt;&amp;nbsp;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;code&gt;&amp;lt;/head&amp;gt; &lt;/code&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;&amp;lt;&amp;lt; Previous&lt;/a&gt; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;Next &amp;gt;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;//www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-44808176-1&#39;, &#39;learnhtmlandcssonline.blogspot.com&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;1&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;2&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;3&lt;/a&gt;  4  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;5&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;6&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;7&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;8&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;9&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;10&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;11&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;12&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;13&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;14&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-7274997802153512320</guid><pubDate>Sat, 12 Oct 2013 22:01:00 +0000</pubDate><atom:updated>2013-10-25T11:25:29.248-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>HTML Document Structure</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
An HTML document starts and ends with &amp;lt;html&amp;gt; and &amp;gt;/html&amp;gt; tags. These tags tell the browser that the entire document is composed in HTML. Inside these two tags, the document is split into two sections:&amp;nbsp;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;The &amp;lt;head&amp;gt;...&amp;lt;/head&amp;gt; elements, which contain information about the document such as title of the document, author of the document etc. Information inside this tag does not display outside.&lt;/li&gt;
&lt;li&gt;The &amp;lt;body&amp;gt;...&amp;lt;/body&amp;gt; elements, which contain the real content of the document that you see on your screen.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;HTML Tags and Elements: &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
HTML language is a markup language and we use many tags to markup text. In the above example we have seen &amp;lt;html&amp;gt;, &amp;lt;body&amp;gt; etc. are called HTML tags or HTML elements. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Every tag consists of a tag name, sometimes followed by an optional list of tag attributes , all placed between opening and closing brackets (&amp;lt; and &amp;gt;). The simplest tag is nothing more than a name appropriately enclosed in brackets, such as &amp;lt;head&amp;gt; and &amp;lt;i&amp;gt;. More complicated tags contain one or more attributes , which specify or modify the behaviour of the tag. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
According to the HTML standard, tag and attribute names are not case-sensitive. There&#39;s no difference in effect between &amp;lt;head&amp;gt;, &amp;lt;Head&amp;gt;, &amp;lt;HEAD&amp;gt;, or even &amp;lt;HeaD&amp;gt;; they are all equivalent. But with XHTML, case is important: all current standard tag and attribute names are in lowercase. &lt;br /&gt;
HTML is Forgiving? &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
A very good quality associated with all the browsers is that they would not give any error if we have not put any HTML tag or attribute properly. They will just ignore that tag or attribute and will apply only correct tags and attributes before displaying the result. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
We can not say, HTML is forgiving because this is just a markup language and required to format documents. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;HTML Basic Tags &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
The basic structure for all HTML documents is simple and should include the following minimum elements or tags:&amp;nbsp;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&amp;lt;html&amp;gt; - The main container for HTML pages&lt;/li&gt;
&lt;li&gt;&amp;lt;head&amp;gt; - The container for page header information&lt;/li&gt;
&lt;li&gt;&amp;lt;title&amp;gt; - The title of the page&lt;/li&gt;
&lt;li&gt;&amp;lt;body&amp;gt; - The main body of the page &lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Remember that before an opening &amp;lt;html&amp;gt; tag, an XHTML document can contain the optional XML declaration, and it should always contain a DOCTYPE declaration indicating which version of XHTML it uses. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Now we will explain each of these tags one by one. In this tutorial you will find the terms element and tag are used interchangeably. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;The &amp;lt;html&amp;gt; Element: &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
The &amp;lt;html&amp;gt; element is the containing element for the whole HTML document. Each HTML document should have one &amp;lt;html&amp;gt; and each document should end with a closing &amp;lt;/html&amp;gt; tag. &lt;br /&gt;
Following two elements appear as direct children of an &amp;lt;html&amp;gt; element: &lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&amp;lt;head&amp;gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&amp;lt;body&amp;gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
As such, start and end HTML tags enclose all the other HTML tags you use to describe the Web page.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;&amp;lt;&amp;lt; Previous&lt;/a&gt; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;Next &amp;gt;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;//www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-44808176-1&#39;, &#39;learnhtmlandcssonline.blogspot.com&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;1&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;2&lt;/a&gt;  3  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;4&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;5&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;6&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;7&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;8&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;9&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;10&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;11&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;12&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;13&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;14&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-2341348458099008261</guid><pubDate>Sat, 12 Oct 2013 21:07:00 +0000</pubDate><atom:updated>2013-10-25T11:25:46.972-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>Creating HTML Document</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Creating an HTML document is easy. To begin coding HTML you need only two things: a simple- text editor and a web browser. Notepad is the most basic of simple-text editors and you will probably code a fair amount of HTML with it. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
We can use our HTML Online Editor to learn HTML. Here are the simple steps to create a baisc HTML document: &lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Open Notepad or another text editor.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;At the top of the page type &amp;lt;html&amp;gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;On the next line, indent five spaces and now add the opening header tag: &amp;lt;head&amp;gt;.&lt;/li&gt;
&lt;li&gt;On the next line, indent ten spaces and type &amp;lt;title&amp;gt; &amp;lt;/title&amp;gt;.&lt;/li&gt;
&lt;li&gt;Go to the next line, indent five spaces from the margin and insert the closing header tag: &amp;lt;/head&amp;gt;.&lt;/li&gt;
&lt;li&gt;Five spaces in from the margin on the next line, type&amp;lt;body&amp;gt;.&lt;/li&gt;
&lt;li&gt;Now drop down another line and type the closing tag right below its mate: &amp;lt;/body&amp;gt;.&lt;/li&gt;
&lt;li&gt;Finally, go to the next line and type &amp;lt;/html&amp;gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;In the File menu, choose Save As.&lt;/li&gt;
&lt;li&gt;In the Save as Type option box, choose All Files.&lt;/li&gt;
&lt;li&gt;Name the file template.htm.&lt;/li&gt;
&lt;li&gt;Click Save.&amp;nbsp; &lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
We have basic HTML document now, to see some result put the following code in title and body tags.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;This is document title&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;h1&amp;gt;This is a heading&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Document description goes here.....&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt; &lt;br /&gt;&amp;nbsp;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Now we have created one &lt;b&gt;HTML&lt;/b&gt; page and we can use a Web Browser to open this HTML file to see the result. Hope you understood that Web Pages are nothing but they are simple HTML files with some content which can be rendered using Web Browsers. &lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;html&amp;gt;, &amp;lt;head&amp;gt;,...&amp;lt;p&amp;gt;, &amp;lt;h1&amp;gt; etc. are called HTML tags.&lt;br /&gt;
HTML tags are building blocks of an HTML document and we will learn all the HTML tags in subsequent chapters. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;NOTE:&lt;/b&gt; One HTML file can have extension as &lt;b&gt;.htm&lt;/b&gt; or &lt;b&gt;.html&lt;/b&gt;. So you can use either of them based on your comfort. &lt;/div&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;&amp;lt;&amp;lt; Previous&lt;/a&gt; &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;Next &amp;gt;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html&quot;&gt;1&lt;/a&gt;  2  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;3&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;4&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;5&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;6&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;7&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;8&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;9&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;10&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;11&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;12&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;13&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;14&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7576053877495066727.post-8943110982747019188</guid><pubDate>Sat, 12 Oct 2013 20:48:00 +0000</pubDate><atom:updated>2013-10-25T11:26:02.003-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML</category><title>HTML Introduction</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Before we begin: &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Before we begin, it&#39;s important that we know Windows, Unix or MAC. A working knowledge of Windows, Unix or MAC makes it much easier to learn HTML. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
We should be familiar with:&amp;nbsp;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Basic word processing using any text editor.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;How to create directories and files.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;How to navigate through different directories.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Basic understanding on internet browsing using a browser like Internet Explorer or Firefox etc.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Introducing HTML: &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
HTML stands for &lt;b&gt;H&lt;/b&gt;yper &lt;b&gt;T&lt;/b&gt;ext &lt;b&gt;M&lt;/b&gt;arkup &lt;b&gt;L&lt;/b&gt;anguage, and it is the most widely used language to write Web Pages. As its name suggests, HTML is a &lt;b&gt;markup language&lt;/b&gt;. &lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b&gt;Hypertext&lt;/b&gt; refers to the way in which Web pages (HTML documents) are linked together. When you click a link in a Web page, you are using hypertext.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Markup Language&lt;/b&gt; describes how HTML works. With a markup language, you simply &quot;mark up&quot; a text document with tags that tell a Web browser how to structure it to display. &lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Originally, HTML was developed with the intent of defining the structure of documents like headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between researchers. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
All we need to do to use HTML is to learn what type of markup to use to get the results we want.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: right;&quot;&gt;
&lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&amp;gt;&amp;gt; Next &lt;/span&gt;&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;script&gt;
  (function(i,s,o,g,r,a,m){i[&#39;GoogleAnalyticsObject&#39;]=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,&#39;script&#39;,&#39;//www.google-analytics.com/analytics.js&#39;,&#39;ga&#39;);

  ga(&#39;create&#39;, &#39;UA-44808176-1&#39;, &#39;learnhtmlandcssonline.blogspot.com&#39;);
  ga(&#39;send&#39;, &#39;pageview&#39;);

&lt;/script&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Page &amp;gt;&amp;gt;  1  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/creating-html-document.html&quot;&gt;2&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-document-structure.html&quot;&gt;3&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-element-is-just-container-for-all.html&quot;&gt;4&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-body-element.html&quot;&gt;5&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-meta-tags.html&quot;&gt;6&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/specifying-keywords.html&quot;&gt;7&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/setting-cookies.html&quot;&gt;8&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-attributes.html&quot;&gt;9&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-class-attribute.html&quot;&gt;10&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/the-lang-attribute.html&quot;&gt;11&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/html-formatting-tags.html&quot;&gt;12&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/create-line-breaks-element.html&quot;&gt;13&lt;/a&gt;  &lt;a href=&quot;http://learnhtmlandcssonline.blogspot.com/2013/10/soft-hyphens.html&quot;&gt;14&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Google Tag Manager --&gt;
&lt;noscript&gt;&lt;iframe src=&quot;//www.googletagmanager.com/ns.html?id=GTM-N8XJ6W&quot;
height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;
&lt;script&gt;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({&#39;gtm.start&#39;:
new Date().getTime(),event:&#39;gtm.js&#39;});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=&#39;dataLayer&#39;?&#39;&amp;l=&#39;+l:&#39;&#39;;j.async=true;j.src=
&#39;//www.googletagmanager.com/gtm.js?id=&#39;+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,&#39;script&#39;,&#39;dataLayer&#39;,&#39;GTM-N8XJ6W&#39;);&lt;/script&gt;
&lt;!-- End Google Tag Manager --&gt;
</description><link>http://learnhtmlandcssonline.blogspot.com/2013/10/html-introduction.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item></channel></rss>