<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>html5 &#8211; Tips for your Website</title>
	<atom:link href="https://tipsforyourwebsite.com/category/technical-stuff/html5/feed/" rel="self" type="application/rss+xml" />
	<link>https://tipsforyourwebsite.com</link>
	<description>Tips for websites success</description>
	<lastBuildDate>Tue, 25 Oct 2022 00:06:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.2.2</generator>
	<item>
		<title>Very Quick HTML History &#038; Overview</title>
		<link>https://tipsforyourwebsite.com/very-quick-html-history/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 06 Feb 2022 05:56:00 +0000</pubDate>
				<category><![CDATA[html5]]></category>
		<guid isPermaLink="false">https://tipsforyourwebsite.com/?p=323</guid>

					<description><![CDATA[Interest in and use of the World Wide Web has been expanding at a phenomenal rate. As the Web grows, so must its vehicle of communication, HTML. The HTML 2.0 specification was published in November of 1995. Since then, the HTML 3.0 draft specification expired on September 28, 1995, without becoming recommended, but HTML 3.2 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Interest in and use of the World Wide Web has been expanding at a phenomenal rate. As the Web grows, so must its vehicle of communication, HTML.</p>
<p>The HTML 2.0 specification was published in November of 1995. Since then, the HTML 3.0 draft specification expired on September 28, 1995, without becoming recommended, but HTML 3.2 became a W3C (World Wide Web Consortium) recommendation on January 14, 1997.</p>
<p>The public draft for HTML 4.0 was released on July 8, 1997 and was officially recommended by the W3C in December that year. Then the current HTML5 standard was first published in 2009 but not ratified as a standard until October of 2014.</p>
<p>In addition to this official work on HTML, the browsers have been making their own additions to HTML. Some changes were eventually adopted into W3C HTML Recommendations; others remain proprietary coding aspects that only the individual browsers recognize. The browsers&#8217; versions of HTML changed, too, in a game of marketing and programming one-upmanship, hoping to lock Web developers into using one browser or the other exclusively.</p>
<p><img data-attachment-id="324" data-permalink="https://tipsforyourwebsite.com/very-quick-html-history/html5-timeline/" data-orig-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/html5-timeline.jpg?fit=600%2C300&amp;ssl=1" data-orig-size="600,300" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="html5-timeline" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/html5-timeline.jpg?fit=300%2C150&amp;ssl=1" data-large-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/html5-timeline.jpg?fit=600%2C300&amp;ssl=1" decoding="async" loading="lazy" class="alignnone size-full wp-image-324" src="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/html5-timeline.jpg?resize=600%2C300&#038;ssl=1" alt="" width="600" height="300" srcset="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/html5-timeline.jpg?w=600&amp;ssl=1 600w, https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/html5-timeline.jpg?resize=300%2C150&amp;ssl=1 300w" sizes="(max-width: 600px) 100vw, 600px" data-recalc-dims="1" /></p>
<h2>HTML characteristics</h2>
<p>html stands for <strong><span style="color: #993300;">H</span></strong>yper <span style="color: #993300;"><strong>T</strong></span>ext <strong><span style="color: #993300;">M</span></strong>arkup <strong><span style="color: #993300;">L</span></strong>anguage- it is a &#8220;formatting&#8221; language not a programming language. An extremely simplified explanation of how works is that it works by turning on and off formatting options TAGS.</p>
<p>for example the following html :</p>
<p><span style="color: #0000ff;">&lt;p&gt;</span> the <span style="color: #0000ff;">&lt;i&gt;</span>silly<span style="color: #0000ff;">&lt;/i&gt; &lt;b&gt;</span> dog<span style="color: #0000ff;">&lt;/b&gt;</span> jumped up <span style="color: #0000ff;">&lt;/p&gt;</span></p>
<p>over the <span style="color: #0000ff;">&lt;i&gt;&lt;b&gt;</span>tree <span style="color: #0000ff;">&lt;/b&gt;&lt;/i&gt;</span></p>
<p>would render in a browser as below:</p>
<p>the <em>silly</em> <strong>dog</strong> jumped up</p>
<p>over the <em><strong>tree</strong></em></p>
<h2>Writing html rules</h2>
<ul>
<li>The formatting options are called TAGS</li>
<li>Tags are always written within<span style="color: #0000ff;"> &lt; &gt;</span> angle brackets eg <span style="color: #0000ff;">&lt;p&gt;</span> beginning of a paragraph</li>
<li>Generally TAGS are closed off by writing the tag with a <span style="color: #0000ff;">&lt;/  &gt;</span> eg <span style="color: #0000ff;">&lt;/p&gt;</span> end of paragraph</li>
<li>Tags can be nested but they should be closed in the reverse order of what they are opened<br />
eg: <span style="color: #0000ff;">&lt;i&gt;&lt;b&gt;</span>tree <span style="color: #0000ff;">&lt;/b&gt;&lt;/i&gt;<br />
<span style="color: #000000;">NOT<br />
<span style="color: #0000ff;">&lt;i&gt;&lt;b&gt;</span>tree <span style="color: #0000ff;">&lt;/i&gt;&lt;/b&gt;</span></span><br />
</span></li>
<li>With the implementation of html tags can written in upper or lower case<br />
eg <span style="color: #0000ff;"><strong>&lt;P&gt;</strong> </span>is the same as <span style="color: #0000ff;">&lt;p&gt; <span style="color: #000000;">and both are completely valid</span></span></li>
</ul>
<p>As the title state this is just a quick overview so that will do on rules for now 🙂</p>
<h2>HTML development Tools</h2>
<p>To write html you only need the simplist of text editors (MS Word is not a text editor!!) a program such as Notepad will allow you to write perfect HTML &#8211; I&#8217;ll admit slowly but it is still a perfect tool. And then all you need is a browser such as Chrome, Internet Explorer, Microsoft Edge, Firefox or Safari to name a few to check your rendered HTML documents.</p>
<p>In professional environments you would more than like be using tools along the lines of  Notepad ++, Sublime text, Composer, Dreamweaver or a million other options.</p>
<blockquote><p>Your development tool doesn&#8217;t matter its how well you know and how well you use it!!!</p></blockquote>
<p>Here are a couple of handy links</p>
<p><a href="https://tipsforyourwebsite.com/html5-tag-list/">html tag reference guide</a></p>
<p><a href="https://tipsforyourwebsite.com/css-reference-sheet/">CSS reference sheet</a></p>
<p><a href="https://tipsforyourwebsite.com/html-colours/">html colour codes</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Example media query breakpoints 2016- updated for 2018</title>
		<link>https://tipsforyourwebsite.com/example-media-query-breakpoints-2016/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 24 Aug 2016 03:46:22 +0000</pubDate>
				<category><![CDATA[html5]]></category>
		<category><![CDATA[Technical Stuff]]></category>
		<guid isPermaLink="false">https://tipsforyourwebsite.com/?p=250</guid>

					<description><![CDATA[Media Queries are  elements that control  a webpages presentation over different window/devices that work with the viewport tag that goes in the head of an .html document. Google developer docs has a great article on setting breakpoints (the point at which you want different css rules to kick in) which for those that interested is worth [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Media Queries are  elements that control  a webpages presentation over different window/devices that work with the viewport tag that goes in the head of an .html document. Google developer docs has a great article on setting breakpoints (the point at which you want different css rules to kick in) which for those that interested is worth a read 🙂 <a href="https://developers.google.com/web/fundamentals/design-and-ux/responsive/" target="_blank" rel="noopener">https://developers.google.com/web/fundamentals/design-and-ux/responsive/</a></p>
<pre>      &lt;!--here is the html thats goes in the head to include the viewport tag --&gt;
         <span style="color: #0000ff;">&lt;meta name="viewport" content="initial-scale=1.0, width=device-width" /&gt;</span>
</pre>
<p>Each media query may include a media type followed by one or more expressions. Common media types include <code>all</code>, <code>screen</code>, <code>print</code>, <code>tv</code>, and <code>braille</code>. The HTML5 specification includes new media types, even including <code>3d-glasses</code>. Should a media type not be specified the media query will default the media type to <code>screen</code>.</p>
<p>The media queries below would go after your css rules in your css files with the specific rules for the specified device size. If you need to set a media query for a specific device such as an Samsung Galaxy 5 or iPad2 you will find media query sizes for specific devices here <a href="https://css-tricks.com/snippets/css/media-queries-for-standard-devices/" target="_blank" rel="noopener">https://css-tricks.com/snippets/css/media-queries-for-standard-devices/</a> but generally being more generic will make website maintenance easier.</p>
<p>The other option for including media queries is to include them as separate files but this more requests made to the server which Google discourages but as with everything you may have a valid reason to setup your media queries this way and it is straight forward as demonstrated below:</p>
<table class="rouge-table">
<tbody>
<tr>
<td class="rouge-code">
<pre><span class="c" style="color: #3366ff;">&lt;!-- Separate CSS File --&gt;</span>
<span style="color: #339966;"><span class="nt">&lt;link</span> <span class="na">href=</span><span class="s">"styles.css"</span> <span class="na">rel=</span><span class="s">"stylesheet"</span> <span class="na">media=</span><span class="s">"all and (max-width: 1024px)"</span><span class="nt">&gt;</span>
</span></pre>
</td>
</tr>
</tbody>
</table>
<pre><span style="color: #0000ff;"><strong> <span style="color: #000000;">But generally setting up your media queries as below in your css file works well.
</span>
<span class="c">/*==========  Non-Mobile First Method  ==========*/</span></strong>

    <span class="c">/* Large Devices, Wide Screens */</span></span>
   <span style="color: #339966;"><span class="k" style="color: #ff0000;"> @media</span> <span class="nt">only</span> <span class="nt">screen</span> <span class="nt">and</span> <span class="o">(</span><span class="nt">max-width</span> <span class="o">:</span> <span class="nt">1200px</span><span class="o">)</span> <span class="p">{</span>

    <span class="p">}</span></span>

  <span class="c" style="color: #0000ff;">  /* Medium Devices, Desktops */</span>
   <span style="color: #339966;"><span class="k" style="color: #ff0000;"> @media</span> <span class="nt">only</span> <span class="nt">screen</span> <span class="nt">and</span> <span class="o">(</span><span class="nt">max-width</span> <span class="o">:</span> <span class="nt">992px</span><span class="o">)</span> <span class="p">{</span>

    <span class="p">}</span></span>

<span class="c" style="color: #0000ff;">    /* Small Devices, Tablets */</span>
    <span style="color: #339966;"><span class="k" style="color: #ff0000;">@media</span> <span class="nt">only</span> <span class="nt">screen</span> <span class="nt">and</span> <span class="o">(</span><span class="nt">max-width</span> <span class="o">:</span> <span class="nt">768px</span><span class="o">)</span> <span class="p">{</span>

    <span class="p">}</span></span>

 <span class="c" style="color: #0000ff;">   /* Extra Small Devices, Phones */ </span>
    <span style="color: #339966;"><span class="k" style="color: #ff0000;">@media</span> <span class="nt">only</span> <span class="nt">screen</span> <span class="nt">and</span> <span class="o">(</span><span class="nt">max-width</span> <span class="o">:</span> <span class="nt">480px</span><span class="o">)</span> <span class="p">{</span>

    <span class="p">}</span></span></pre>
<pre><span style="color: #3366ff;"><strong>    <span class="c">/*==========  Mobile First Method  ==========*/</span></strong>

    <span class="c">/* Custom, iPhone Retina */</span> </span>
   <span style="color: #339966;"><span class="k" style="color: #ff0000;"> @media</span> <span class="nt">only</span> <span class="nt">screen</span> <span class="nt">and</span> <span class="o">(</span><span class="nt">min-width</span> <span class="o">:</span> <span class="nt">320px</span><span class="o">)</span> <span class="p">{</span>

    <span class="p">}</span></span>

<span class="c" style="color: #0000ff;">    /* Extra Small Devices, Phones */ </span>
    <span style="color: #339966;"><span class="k" style="color: #ff0000;">@media</span> <span class="nt">only</span> <span class="nt">screen</span> <span class="nt">and</span> <span class="o">(</span><span class="nt">min-width</span> <span class="o">:</span> <span class="nt">480px</span><span class="o">)</span> <span class="p">{</span>

    <span class="p">}</span></span>

<span class="c" style="color: #0000ff;">    /* Small Devices, Tablets */</span>
    <span style="color: #339966;"><span class="k" style="color: #ff0000;">@media</span> <span class="nt">only</span> <span class="nt">screen</span> <span class="nt">and</span> <span class="o">(</span><span class="nt">min-width</span> <span class="o">:</span> <span class="nt">768px</span><span class="o">)</span> <span class="p">{</span>

    <span class="p">}</span></span>

<span class="c" style="color: #0000ff;">    /* Medium Devices, Desktops */</span>
   <span style="color: #339966;"><span class="k" style="color: #ff0000;"> @media</span> <span class="nt">only</span> <span class="nt">screen</span> <span class="nt">and</span> <span class="o">(</span><span class="nt">min-width</span> <span class="o">:</span> <span class="nt">992px</span><span class="o">)</span> <span class="p">{</span>

    <span class="p">}</span></span>

<span class="c" style="color: #0000ff;">    /* Large Devices, Wide Screens */</span>
   <span style="color: #339966;"><span class="k" style="color: #ff0000;"> @media</span> <span class="nt">only</span> <span class="nt">screen</span> <span class="nt">and</span> <span class="o">(</span><span class="nt">min-width</span> <span class="o">:</span> <span class="nt">1200px</span><span class="o">)</span> <span class="p">{</span>

    <span class="p">}</span></span>

</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>html Colours</title>
		<link>https://tipsforyourwebsite.com/html-colours/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 03 Aug 2016 19:22:01 +0000</pubDate>
				<category><![CDATA[Beginners]]></category>
		<category><![CDATA[html5]]></category>
		<guid isPermaLink="false">https://tipsforyourwebsite.com/?p=226</guid>

					<description><![CDATA[HTML color codes Colour codes are ways of representing the colours we see everyday in a format that a computer can interpret and display. There are a variety of formats, including Hex color codes, RGB and HSL values, and HTML color names, amongst others. HEX COLOR CODES The most popular are Hex color codes; three [&#8230;]]]></description>
										<content:encoded><![CDATA[<header>
<h2>HTML color codes</h2>
<p>Colour codes are ways of representing the colours we see everyday in a format that a computer can interpret and display. There are a variety of formats, including Hex color codes, RGB and HSL values, and HTML color names, amongst others.</p>
</header>
<section>
<h4>HEX COLOR CODES</h4>
<p>The most popular are Hex color codes; three byte hexadecimal numbers (meaning they consist of six digits), with each byte, or pair of characters in the Hex code, representing the intensity of red, green and blue in the color respectively.</p>
<div class="row">
<div class="full">
<h3>#<span style="color: #ff0000;">XX</span> <span style="color: #008000;">XX</span> <span style="color: #0000ff;">XX</span></h3>
<p>or you use the short hand which has just 3 characters</p>
<h3>#<span style="color: #ff0000;">X</span> <span style="color: #008000;">X</span> <span style="color: #0000ff;">X</span></h3>
</div>
</div>
<p>Hex code byte values range from 00, which is the lowest intensity of a color, to FF which represents the highest intensity. The color white, for example, is made by mixing each of the three primary colors at their full intensity, resulting in the Hex color code of #FFFFFF.</p>
<div class="row">
<div class="full">
<h3 style="background: black; color: white; width: 150px;">#FFFFFF</h3>
</div>
</div>
<p>Black, the absence of any color on a screen display, is the complete opposite, with each color displayed at their lowest possible intensity and a Hex color code of #000000.</p>
<div class="row">
<div class="full">
<h3>#000000</h3>
</div>
</div>
<p>Understanding the basics of Hex color code notation we can create grayscale colors very easily, since they consist of equal intensities of each color:</p>
<div class="row">
<div class="half">
<h3><span style="color: #454545;">#454545</span></h3>
</div>
<div class="half">
<h3><span style="color: #999999;">#999999</span></h3>
</div>
</div>
<p>The three primary colors, red, green and blue, are made by mixing the highest intensity of the desired color with the lowest intensities of the other two:</p>
<div class="row">
<div class="third">
<h3><span style="color: #ff0000;">#FF0000</span></h3>
</div>
<div class="third">
<h3><span style="color: #008000;">#00FF00</span></h3>
</div>
<div class="third">
<h3><span style="color: #0000ff;">#0000FF</span></h3>
</div>
</div>
<p>With modern browsers supporting the full spectrum of 24-bit color, there are 16,777,216 different color possibilities.</p>
</section>
<h2 id="red">Red colors</h2>
<table class="dtable">
<tbody>
<tr>
<th><strong>Color</strong></th>
<th><strong>HTML / CSS</strong><br />
<strong> Color Name</strong></th>
<th><strong>Hex Code</strong><br />
<strong> #RRGGBB</strong></th>
<th><strong>Decimal Code</strong><br />
<strong> (R,G,B)</strong></th>
</tr>
<tr>
<td style="background: lightsalmon;"></td>
<td>lightsalmon</td>
<td>#FFA07A</td>
<td>rgb(255,160,122)</td>
</tr>
<tr>
<td style="background: salmon;"></td>
<td>salmon</td>
<td>#FA8072</td>
<td>rgb(250,128,114)</td>
</tr>
<tr>
<td style="background: darksalmon;"></td>
<td>darksalmon</td>
<td>#E9967A</td>
<td>rgb(233,150,122)</td>
</tr>
<tr>
<td style="background: lightcoral;"></td>
<td>lightcoral</td>
<td>#F08080</td>
<td>rgb(240,128,128)</td>
</tr>
<tr>
<td style="background: indianred;"></td>
<td>indianred</td>
<td>#CD5C5C</td>
<td>rgb(205,92,92)</td>
</tr>
<tr>
<td style="background: crimson;"></td>
<td>crimson</td>
<td>#DC143C</td>
<td>rgb(220,20,60)</td>
</tr>
<tr>
<td style="background: firebrick;"></td>
<td>firebrick</td>
<td>#B22222</td>
<td>rgb(178,34,34)</td>
</tr>
<tr>
<td style="background: red;"></td>
<td>red</td>
<td>#FF0000</td>
<td>rgb(255,0,0)</td>
</tr>
<tr>
<td style="background: darkred;"></td>
<td>darkred</td>
<td>#8B0000</td>
<td>rgb(139,0,0)</td>
</tr>
</tbody>
</table>
<h2 id="orange">Orange colors</h2>
<table class="dtable">
<tbody>
<tr>
<th>Color</th>
<th>HTML / CSS<br />
Color Name</th>
<th>Hex Code<br />
#RRGGBB</th>
<th>Decimal Code<br />
(R,G,B)</th>
</tr>
<tr>
<td style="background: coral;"></td>
<td>coral</td>
<td>#FF7F50</td>
<td>rgb(255,127,80)</td>
</tr>
<tr>
<td style="background: tomato;"></td>
<td>tomato</td>
<td>#FF6347</td>
<td>rgb(255,99,71)</td>
</tr>
<tr>
<td style="background: orangered;"></td>
<td>orangered</td>
<td>#FF4500</td>
<td>rgb(255,69,0)</td>
</tr>
<tr>
<td style="background: gold;"></td>
<td>gold</td>
<td>#FFD700</td>
<td>rgb(255,215,0)</td>
</tr>
<tr>
<td style="background: orange;"></td>
<td>orange</td>
<td>#FFA500</td>
<td>rgb(255,165,0)</td>
</tr>
<tr>
<td style="background: darkorange;"></td>
<td>darkorange</td>
<td>#FF8C00</td>
<td>rgb(255,140,0)</td>
</tr>
</tbody>
</table>
<h2 id="yellow">Yellow colors</h2>
<table class="dtable">
<tbody>
<tr>
<th>Color</th>
<th>HTML / CSS<br />
Color Name</th>
<th>Hex Code<br />
#RRGGBB</th>
<th>Decimal Code<br />
(R,G,B)</th>
</tr>
<tr>
<td style="background: lightyellow;"></td>
<td>lightyellow</td>
<td>#FFFFE0</td>
<td>rgb(255,255,224)</td>
</tr>
<tr>
<td style="background: lemonchiffon;"></td>
<td>lemonchiffon</td>
<td>#FFFACD</td>
<td>rgb(255,250,205)</td>
</tr>
<tr>
<td style="background: lightgoldenrodyellow;"></td>
<td>lightgoldenrodyellow</td>
<td>#FAFAD2</td>
<td>rgb(250,250,210)</td>
</tr>
<tr>
<td style="background: papayawhip;"></td>
<td>papayawhip</td>
<td>#FFEFD5</td>
<td>rgb(255,239,213)</td>
</tr>
<tr>
<td style="background: moccasin;"></td>
<td>moccasin</td>
<td>#FFE4B5</td>
<td>rgb(255,228,181)</td>
</tr>
<tr>
<td style="background: peachpuff;"></td>
<td>peachpuff</td>
<td>#FFDAB9</td>
<td>rgb(255,218,185)</td>
</tr>
<tr>
<td style="background: palegoldenrod;"></td>
<td>palegoldenrod</td>
<td>#EEE8AA</td>
<td>rgb(238,232,170)</td>
</tr>
<tr>
<td style="background: khaki;"></td>
<td>khaki</td>
<td>#F0E68C</td>
<td>rgb(240,230,140)</td>
</tr>
<tr>
<td style="background: darkkhaki;"></td>
<td>darkkhaki</td>
<td>#BDB76B</td>
<td>rgb(189,183,107)</td>
</tr>
<tr>
<td style="background: yellow;"></td>
<td>yellow</td>
<td>#FFFF00</td>
<td>rgb(255,255,0)</td>
</tr>
</tbody>
</table>
<h2 id="green">Green colors</h2>
<table class="dtable">
<tbody>
<tr>
<th>Color</th>
<th>HTML / CSS<br />
Color Name</th>
<th>Hex Code<br />
#RRGGBB</th>
<th>Decimal Code<br />
(R,G,B)</th>
</tr>
<tr>
<td style="background: lawngreen;"></td>
<td>lawngreen</td>
<td>#7CFC00</td>
<td>rgb(124,252,0)</td>
</tr>
<tr>
<td style="background: chartreuse;"></td>
<td>chartreuse</td>
<td>#7FFF00</td>
<td>rgb(127,255,0)</td>
</tr>
<tr>
<td style="background: limegreen;"></td>
<td>limegreen</td>
<td>#32CD32</td>
<td>rgb(50,205,50)</td>
</tr>
<tr>
<td style="background: lime;"></td>
<td>lime</td>
<td>#00FF00</td>
<td>rgb(0.255.0)</td>
</tr>
<tr>
<td style="background: forestgreen;"></td>
<td>forestgreen</td>
<td>#228B22</td>
<td>rgb(34,139,34)</td>
</tr>
<tr>
<td style="background: green;"></td>
<td>green</td>
<td>#008000</td>
<td>rgb(0,128,0)</td>
</tr>
<tr>
<td style="background: darkgreen;"></td>
<td>darkgreen</td>
<td>#006400</td>
<td>rgb(0,100,0)</td>
</tr>
<tr>
<td style="background: greenyellow;"></td>
<td>greenyellow</td>
<td>#ADFF2F</td>
<td>rgb(173,255,47)</td>
</tr>
<tr>
<td style="background: yellowgreen;"></td>
<td>yellowgreen</td>
<td>#9ACD32</td>
<td>rgb(154,205,50)</td>
</tr>
<tr>
<td style="background: springgreen;"></td>
<td>springgreen</td>
<td>#00FF7F</td>
<td>rgb(0,255,127)</td>
</tr>
<tr>
<td style="background: mediumspringgreen;"></td>
<td>mediumspringgreen</td>
<td>#00FA9A</td>
<td>rgb(0,250,154)</td>
</tr>
<tr>
<td style="background: lightgreen;"></td>
<td>lightgreen</td>
<td>#90EE90</td>
<td>rgb(144,238,144)</td>
</tr>
<tr>
<td style="background: palegreen;"></td>
<td>palegreen</td>
<td>#98FB98</td>
<td>rgb(152,251,152)</td>
</tr>
<tr>
<td style="background: darkseagreen;"></td>
<td>darkseagreen</td>
<td>#8FBC8F</td>
<td>rgb(143,188,143)</td>
</tr>
<tr>
<td style="background: mediumseagreen;"></td>
<td>mediumseagreen</td>
<td>#3CB371</td>
<td>rgb(60,179,113)</td>
</tr>
<tr>
<td style="background: seagreen;"></td>
<td>seagreen</td>
<td>#2E8B57</td>
<td>rgb(46,139,87)</td>
</tr>
<tr>
<td style="background: olive;"></td>
<td>olive</td>
<td>#808000</td>
<td>rgb(128,128,0)</td>
</tr>
<tr>
<td style="background: darkolivegreen;"></td>
<td>darkolivegreen</td>
<td>#556B2F</td>
<td>rgb(85,107,47)</td>
</tr>
<tr>
<td style="background: olivedrab;"></td>
<td>olivedrab</td>
<td>#6B8E23</td>
<td>rgb(107,142,35)</td>
</tr>
</tbody>
</table>
<h2 id="cyan">Cyan colors</h2>
<table class="dtable">
<tbody>
<tr>
<th>Color</th>
<th>HTML / CSS<br />
Color Name</th>
<th>Hex Code<br />
#RRGGBB</th>
<th>Decimal Code<br />
(R,G,B)</th>
</tr>
<tr>
<td style="background: lightcyan;"></td>
<td>lightcyan</td>
<td>#E0FFFF</td>
<td>rgb(224,255,255)</td>
</tr>
<tr>
<td style="background: cyan;"></td>
<td>cyan</td>
<td>#00FFFF</td>
<td>rgb(0,255,255)</td>
</tr>
<tr>
<td style="background: aqua;"></td>
<td>aqua</td>
<td>#00FFFF</td>
<td>rgb(0,255,255)</td>
</tr>
<tr>
<td style="background: aquamarine;"></td>
<td>aquamarine</td>
<td>#7FFFD4</td>
<td>rgb(127,255,212)</td>
</tr>
<tr>
<td style="background: mediumaquamarine;"></td>
<td>mediumaquamarine</td>
<td>#66CDAA</td>
<td>rgb(102,205,170)</td>
</tr>
<tr>
<td style="background: paleturquoise;"></td>
<td>paleturquoise</td>
<td>#AFEEEE</td>
<td>rgb(175,238,238)</td>
</tr>
<tr>
<td style="background: turquoise;"></td>
<td>turquoise</td>
<td>#40E0D0</td>
<td>rgb(64,224,208)</td>
</tr>
<tr>
<td style="background: mediumturquoise;"></td>
<td>mediumturquoise</td>
<td>#48D1CC</td>
<td>rgb(72,209,204)</td>
</tr>
<tr>
<td style="background: darkturquoise;"></td>
<td>darkturquoise</td>
<td>#00CED1</td>
<td>rgb(0,206,209)</td>
</tr>
<tr>
<td style="background: lightseagreen;"></td>
<td>lightseagreen</td>
<td>#20B2AA</td>
<td>rgb(32,178,170)</td>
</tr>
<tr>
<td style="background: cadetblue;"></td>
<td>cadetblue</td>
<td>#5F9EA0</td>
<td>rgb(95,158,160)</td>
</tr>
<tr>
<td style="background: darkcyan;"></td>
<td>darkcyan</td>
<td>#008B8B</td>
<td>rgb(0,139,139)</td>
</tr>
<tr>
<td style="background: teal;"></td>
<td>teal</td>
<td>#008080</td>
<td>rgb(0,128,128)</td>
</tr>
</tbody>
</table>
<h2 id="blue">Blue colors</h2>
<table class="dtable">
<tbody>
<tr>
<th>Color</th>
<th>HTML / CSS<br />
Color Name</th>
<th>Hex Code<br />
#RRGGBB</th>
<th>Decimal Code<br />
(R,G,B)</th>
</tr>
<tr>
<td style="background: powderblue;"></td>
<td>powderblue</td>
<td>#B0E0E6</td>
<td>rgb(176,224,230)</td>
</tr>
<tr>
<td style="background: lightblue;"></td>
<td>lightblue</td>
<td>#ADD8E6</td>
<td>rgb(173,216,230)</td>
</tr>
<tr>
<td style="background: lightskyblue;"></td>
<td>lightskyblue</td>
<td>#87CEFA</td>
<td>rgb(135,206,250)</td>
</tr>
<tr>
<td style="background: skyblue;"></td>
<td>skyblue</td>
<td>#87CEEB</td>
<td>rgb(135,206,235)</td>
</tr>
<tr>
<td style="background: deepskyblue;"></td>
<td>deepskyblue</td>
<td>#00BFFF</td>
<td>rgb(0,191,255)</td>
</tr>
<tr>
<td style="background: lightsteelblue;"></td>
<td>lightsteelblue</td>
<td>#B0C4DE</td>
<td>rgb(176,196,222)</td>
</tr>
<tr>
<td style="background: dodgerblue;"></td>
<td>dodgerblue</td>
<td>#1E90FF</td>
<td>rgb(30,144,255)</td>
</tr>
<tr>
<td style="background: cornflowerblue;"></td>
<td>cornflowerblue</td>
<td>#6495ED</td>
<td>rgb(100,149,237)</td>
</tr>
<tr>
<td style="background: steelblue;"></td>
<td>steelblue</td>
<td>#4682B4</td>
<td>rgb(70,130,180)</td>
</tr>
<tr>
<td style="background: royalblue;"></td>
<td>royalblue</td>
<td>#4169E1</td>
<td>rgb(65,105,225)</td>
</tr>
<tr>
<td style="background: blue;"></td>
<td>blue</td>
<td>#0000FF</td>
<td>rgb(0,0,255)</td>
</tr>
<tr>
<td style="background: mediumblue;"></td>
<td>mediumblue</td>
<td>#0000CD</td>
<td>rgb(0,0,205)</td>
</tr>
<tr>
<td style="background: darkblue;"></td>
<td>darkblue</td>
<td>#00008B</td>
<td>rgb(0,0,139)</td>
</tr>
<tr>
<td style="background: navy;"></td>
<td>navy</td>
<td>#000080</td>
<td>rgb(0,0,128)</td>
</tr>
<tr>
<td style="background: midnightblue;"></td>
<td>midnightblue</td>
<td>#191970</td>
<td>rgb(25,25,112)</td>
</tr>
<tr>
<td style="background: mediumslateblue;"></td>
<td>mediumslateblue</td>
<td>#7B68EE</td>
<td>rgb(123,104,238)</td>
</tr>
<tr>
<td style="background: slateblue;"></td>
<td>slateblue</td>
<td>#6A5ACD</td>
<td>rgb(106,90,205)</td>
</tr>
<tr>
<td style="background: darkslateblue;"></td>
<td>darkslateblue</td>
<td>#483D8B</td>
<td>rgb(72,61,139)</td>
</tr>
</tbody>
</table>
<h2 id="purple">Purple colors</h2>
<table class="dtable">
<tbody>
<tr>
<th>Color</th>
<th>HTML / CSS<br />
Color Name</th>
<th>Hex Code<br />
#RRGGBB</th>
<th>Decimal Code<br />
(R,G,B)</th>
</tr>
<tr>
<td style="background: lavender;"></td>
<td>lavender</td>
<td>#E6E6FA</td>
<td>rgb(230,230,250)</td>
</tr>
<tr>
<td style="background: thistle;"></td>
<td>thistle</td>
<td>#D8BFD8</td>
<td>rgb(216,191,216)</td>
</tr>
<tr>
<td style="background: plum;"></td>
<td>plum</td>
<td>#DDA0DD</td>
<td>rgb(221,160,221)</td>
</tr>
<tr>
<td style="background: violet;"></td>
<td>violet</td>
<td>#EE82EE</td>
<td>rgb(238,130,238)</td>
</tr>
<tr>
<td style="background: orchid;"></td>
<td>orchid</td>
<td>#DA70D6</td>
<td>rgb(218,112,214)</td>
</tr>
<tr>
<td style="background: fuchsia;"></td>
<td>fuchsia</td>
<td>#FF00FF</td>
<td>rgb(255,0,255)</td>
</tr>
<tr>
<td style="background: magenta;"></td>
<td>magenta</td>
<td>#FF00FF</td>
<td>rgb(255,0,255)</td>
</tr>
<tr>
<td style="background: mediumorchid;"></td>
<td>mediumorchid</td>
<td>#BA55D3</td>
<td>rgb(186,85,211)</td>
</tr>
<tr>
<td style="background: mediumpurple;"></td>
<td>mediumpurple</td>
<td>#9370DB</td>
<td>rgb(147,112,219)</td>
</tr>
<tr>
<td style="background: blueviolet;"></td>
<td>blueviolet</td>
<td>#8A2BE2</td>
<td>rgb(138,43,226)</td>
</tr>
<tr>
<td style="background: darkviolet;"></td>
<td>darkviolet</td>
<td>#9400D3</td>
<td>rgb(148,0,211)</td>
</tr>
<tr>
<td style="background: darkorchid;"></td>
<td>darkorchid</td>
<td>#9932CC</td>
<td>rgb(153,50,204)</td>
</tr>
<tr>
<td style="background: darkmagenta;"></td>
<td>darkmagenta</td>
<td>#8B008B</td>
<td>rgb(139,0,139)</td>
</tr>
<tr>
<td style="background: purple;"></td>
<td>purple</td>
<td>#800080</td>
<td>rgb(128,0,128)</td>
</tr>
<tr>
<td style="background: indigo;"></td>
<td>indigo</td>
<td>#4B0082</td>
<td>rgb(75,0,130)</td>
</tr>
</tbody>
</table>
<h2 id="pink0">Pink colors</h2>
<table class="dtable">
<tbody>
<tr>
<th>Color</th>
<th>HTML / CSS<br />
Color Name</th>
<th>Hex Code<br />
#RRGGBB</th>
<th>Decimal Code<br />
(R,G,B)</th>
</tr>
<tr>
<td style="background: pink;"></td>
<td>pink</td>
<td>#FFC0CB</td>
<td>rgb(255,192,203)</td>
</tr>
<tr>
<td style="background: lightpink;"></td>
<td>lightpink</td>
<td>#FFB6C1</td>
<td>rgb(255,182,193)</td>
</tr>
<tr>
<td style="background: hotpink;"></td>
<td>hotpink</td>
<td>#FF69B4</td>
<td>rgb(255,105,180)</td>
</tr>
<tr>
<td style="background: deeppink;"></td>
<td>deeppink</td>
<td>#FF1493</td>
<td>rgb(255,20,147)</td>
</tr>
<tr>
<td style="background: palevioletred;"></td>
<td>palevioletred</td>
<td>#DB7093</td>
<td>rgb(219,112,147)</td>
</tr>
<tr>
<td style="background: mediumvioletred;"></td>
<td>mediumvioletred</td>
<td>#C71585</td>
<td>rgb(199,21,133)</td>
</tr>
</tbody>
</table>
<h2 id="white">White colors</h2>
<table class="dtable">
<tbody>
<tr>
<th>Color</th>
<th>HTML / CSS<br />
Color Name</th>
<th>Hex Code<br />
#RRGGBB</th>
<th>Decimal Code<br />
(R,G,B)</th>
</tr>
<tr>
<td style="background: white;"></td>
<td>white</td>
<td>#FFFFFF</td>
<td>rgb(255,255,255)</td>
</tr>
<tr>
<td style="background: snow;"></td>
<td>snow</td>
<td>#FFFAFA</td>
<td>rgb(255,250,250)</td>
</tr>
<tr>
<td style="background: honeydew;"></td>
<td>honeydew</td>
<td>#F0FFF0</td>
<td>rgb(240,255,240)</td>
</tr>
<tr>
<td style="background: mintcream;"></td>
<td>mintcream</td>
<td>#F5FFFA</td>
<td>rgb(245,255,250)</td>
</tr>
<tr>
<td style="background: azure;"></td>
<td>azure</td>
<td>#F0FFFF</td>
<td>rgb(240,255,255)</td>
</tr>
<tr>
<td style="background: aliceblue;"></td>
<td>aliceblue</td>
<td>#F0F8FF</td>
<td>rgb(240,248,255)</td>
</tr>
<tr>
<td style="background: ghostwhite;"></td>
<td>ghostwhite</td>
<td>#F8F8FF</td>
<td>rgb(248,248,255)</td>
</tr>
<tr>
<td style="background: whitesmoke;"></td>
<td>whitesmoke</td>
<td>#F5F5F5</td>
<td>rgb(245,245,245)</td>
</tr>
<tr>
<td style="background: seashell;"></td>
<td>seashell</td>
<td>#FFF5EE</td>
<td>rgb(255,245,238)</td>
</tr>
<tr>
<td style="background: beige;"></td>
<td>beige</td>
<td>#F5F5DC</td>
<td>rgb(245,245,220)</td>
</tr>
<tr>
<td style="background: oldlace;"></td>
<td>oldlace</td>
<td>#FDF5E6</td>
<td>rgb(253,245,230)</td>
</tr>
<tr>
<td style="background: floralwhite;"></td>
<td>floralwhite</td>
<td>#FFFAF0</td>
<td>rgb(255,250,240)</td>
</tr>
<tr>
<td style="background: ivory;"></td>
<td>ivory</td>
<td>#FFFFF0</td>
<td>rgb(255,255,240)</td>
</tr>
<tr>
<td style="background: antiquewhite;"></td>
<td>antiquewhite</td>
<td>#FAEBD7</td>
<td>rgb(250,235,215)</td>
</tr>
<tr>
<td style="background: linen;"></td>
<td>linen</td>
<td>#FAF0E6</td>
<td>rgb(250,240,230)</td>
</tr>
<tr>
<td style="background: lavenderblush;"></td>
<td>lavenderblush</td>
<td>#FFF0F5</td>
<td>rgb(255,240,245)</td>
</tr>
<tr>
<td style="background: mistyrose;"></td>
<td>mistyrose</td>
<td>#FFE4E1</td>
<td>rgb(255,228,225)</td>
</tr>
</tbody>
</table>
<h2 id="gray">Gray colors</h2>
<table class="dtable">
<tbody>
<tr>
<th>Color</th>
<th>HTML / CSS<br />
Color Name</th>
<th>Hex Code<br />
#RRGGBB</th>
<th>Decimal Code<br />
(R,G,B)</th>
</tr>
<tr>
<td style="background: gainsboro;"></td>
<td>gainsboro</td>
<td>#DCDCDC</td>
<td>rgb(220,220,220)</td>
</tr>
<tr>
<td style="background: lightgray;"></td>
<td>lightgray</td>
<td>#D3D3D3</td>
<td>rgb(211,211,211)</td>
</tr>
<tr>
<td style="background: silver;"></td>
<td>silver</td>
<td>#C0C0C0</td>
<td>rgb(192,192,192)</td>
</tr>
<tr>
<td style="background: darkgray;"></td>
<td>darkgray</td>
<td>#A9A9A9</td>
<td>rgb(169,169,169)</td>
</tr>
<tr>
<td style="background: gray;"></td>
<td>gray</td>
<td>#808080</td>
<td>rgb(128,128,128)</td>
</tr>
<tr>
<td style="background: dimgray;"></td>
<td>dimgray</td>
<td>#696969</td>
<td>rgb(105,105,105)</td>
</tr>
<tr>
<td style="background: lightslategray;"></td>
<td>lightslategray</td>
<td>#778899</td>
<td>rgb(119,136,153)</td>
</tr>
<tr>
<td style="background: slategray;"></td>
<td>slategray</td>
<td>#708090</td>
<td>rgb(112,128,144)</td>
</tr>
<tr>
<td style="background: darkslategray;"></td>
<td>darkslategray</td>
<td>#2F4F4F</td>
<td>rgb(47,79,79)</td>
</tr>
<tr>
<td style="background: black;"></td>
<td>black</td>
<td>#000000</td>
<td>rgb(0,0,0)</td>
</tr>
</tbody>
</table>
<h2 id="brown">Brown colors</h2>
<table class="dtable">
<tbody>
<tr>
<th>Color</th>
<th>HTML / CSS<br />
Color Name</th>
<th>Hex Code<br />
#RRGGBB</th>
<th>Decimal Code<br />
(R,G,B)</th>
</tr>
<tr>
<td style="background: cornsilk;"></td>
<td>cornsilk</td>
<td>#FFF8DC</td>
<td>rgb(255,248,220)</td>
</tr>
<tr>
<td style="background: blanchedalmond;"></td>
<td>blanchedalmond</td>
<td>#FFEBCD</td>
<td>rgb(255,235,205)</td>
</tr>
<tr>
<td style="background: bisque;"></td>
<td>bisque</td>
<td>#FFE4C4</td>
<td>rgb(255,228,196)</td>
</tr>
<tr>
<td style="background: navajowhite;"></td>
<td>navajowhite</td>
<td>#FFDEAD</td>
<td>rgb(255,222,173)</td>
</tr>
<tr>
<td style="background: wheat;"></td>
<td>wheat</td>
<td>#F5DEB3</td>
<td>rgb(245,222,179)</td>
</tr>
<tr>
<td style="background: burlywood;"></td>
<td>burlywood</td>
<td>#DEB887</td>
<td>rgb(222,184,135)</td>
</tr>
<tr>
<td style="background: tan;"></td>
<td>tan</td>
<td>#D2B48C</td>
<td>rgb(210,180,140)</td>
</tr>
<tr>
<td style="background: rosybrown;"></td>
<td>rosybrown</td>
<td>#BC8F8F</td>
<td>rgb(188,143,143)</td>
</tr>
<tr>
<td style="background: sandybrown;"></td>
<td>sandybrown</td>
<td>#F4A460</td>
<td>rgb(244,164,96)</td>
</tr>
<tr>
<td style="background: goldenrod;"></td>
<td>goldenrod</td>
<td>#DAA520</td>
<td>rgb(218,165,32)</td>
</tr>
<tr>
<td style="background: peru;"></td>
<td>peru</td>
<td>#CD853F</td>
<td>rgb(205,133,63)</td>
</tr>
<tr>
<td style="background: chocolate;"></td>
<td>chocolate</td>
<td>#D2691E</td>
<td>rgb(210,105,30)</td>
</tr>
<tr>
<td style="background: saddlebrown;"></td>
<td>saddlebrown</td>
<td>#8B4513</td>
<td>rgb(139,69,19)</td>
</tr>
<tr>
<td style="background: sienna;"></td>
<td>sienna</td>
<td>#A0522D</td>
<td>rgb(160,82,45)</td>
</tr>
<tr>
<td style="background: brown;"></td>
<td>brown</td>
<td>#A52A2A</td>
<td>rgb(165,42,42)</td>
</tr>
<tr>
<td style="background: maroon;"></td>
<td>maroon</td>
<td>#800000</td>
<td>rgb(128,0,0)</td>
</tr>
</tbody>
</table>
<p>More colour resources</p>
<p><a href="http://www.w3schools.com/html/html_colors.asp" target="_blank">http://www.w3schools.com/html/html_colors.asp</a></p>
<p><a href="http://htmlcolorcodes.com/color-picker/" target="_blank">http://htmlcolorcodes.com/color-picker/</a></p>
<p><a href="https://www.sessions.edu/color-calculator/" target="_blank">https://www.sessions.edu/color-calculator/</a></p>
<p><a href="https://color.adobe.com/create/color-wheel/" target="_blank">https://color.adobe.com/create/color-wheel/</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>CSS Reference sheet</title>
		<link>https://tipsforyourwebsite.com/css-reference-sheet/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 03 Aug 2016 08:49:25 +0000</pubDate>
				<category><![CDATA[html5]]></category>
		<category><![CDATA[Web Design]]></category>
		<guid isPermaLink="false">https://tipsforyourwebsite.com/?p=216</guid>

					<description><![CDATA[CSS Properties Properties are listed in alphabetical order below. Each property has examples of possible values beneath it. Properties are not listed if they are not widely supported or if they are only supported by Internet Explorer. The properties are followed by some common values that properties may contain. CSS3 properties are not listed below [&#8230;]]]></description>
										<content:encoded><![CDATA[<h2>CSS Properties</h2>
<p class="p2">Properties are listed in alphabetical order below. Each property has examples of possible values beneath it. Properties are <b>not listed</b> if they are not widely supported or if they are only supported by Internet Explorer. The properties are followed by some common values that properties may contain. CSS3 properties are not listed below but there are links at the bottom to other CSS3 references.</p>
<figure id="attachment_237" aria-describedby="caption-attachment-237" style="width: 257px" class="wp-caption aligncenter"><img data-attachment-id="237" data-permalink="https://tipsforyourwebsite.com/css-reference-sheet/cssrulestructure/" data-orig-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2016/08/cssrulestructure.png?fit=257%2C144&amp;ssl=1" data-orig-size="257,144" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="cssrulestructure" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2016/08/cssrulestructure.png?fit=257%2C144&amp;ssl=1" data-large-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2016/08/cssrulestructure.png?fit=257%2C144&amp;ssl=1" decoding="async" loading="lazy" class="wp-image-237 size-full" src="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2016/08/cssrulestructure.png?resize=257%2C144&#038;ssl=1" alt="cssrulestructure" width="257" height="144" data-recalc-dims="1" /><figcaption id="caption-attachment-237" class="wp-caption-text">css rule structure</figcaption></figure>
<dl class="alist">
<dt><strong><span style="color: #000080;">background:</span></strong></dt>
<dd>
<pre>#ffffff
transparent
url(images/pattern.gif)
fixed        /* background doesn't move when page scrolls */
repeat
repeat-x     /* tile an image horizontal only */
repeat-y     /* tile an image vertical only */
no-repeat
top
left
center
right
bottom
2px 1px      /* exact positioning, from left top */</pre>
<p>Example:<br />
<code>#footer {<br />
background:transparent url(images/footer.gif) repeat-x bottom;<br />
}</code></dd>
<dt><strong><span style="color: #000080;">background-attachment:</span></strong></dt>
<dd><code>fixed</code></dd>
<dt><span style="color: #000080;"><strong>background-color:</strong></span></dt>
<dd><code>#ffcc00<br />
transparent<br />
</code></dd>
<dt><span style="color: #000080;"><strong>background-image:</strong></span></dt>
<dd><code>url(images/something.gif)</code></dd>
<dt><strong><span style="color: #000080;">background-position:</span></strong></dt>
<dd><code>top<br />
left<br />
center<br />
right<br />
bottom<br />
2px 1px<br />
</code></dd>
<dt><span style="color: #000080;"><strong>background-repeat:</strong></span></dt>
<dd><code>repeat<br />
repeat-x<br />
repeat-y<br />
no-repeat<br />
</code></dd>
<dt><span style="color: #000080;"><strong>border:</strong></span></dt>
<dd>
<pre>1px
none
solid
dashed
dotted 
double     /* needs at least 3px to see effect */  
ridge      /* regular 3d border needs at least 4px to see effect */
groove     /* kind of strange, needs at least 4px to see effect */ 
inset      /* like a recessed bevel */
outset     /* like a button bevel */ 
#000000</pre>
<p>Example:<br />
<code>div {<br />
border:2px solid #ffffff;<br />
}</code></p>
<p><em>Browser Differences:</em></p>
<ul class="blist">
<li>borders are drawn INSIDE the container in IE, Opera 7.</li>
<li>borders are drawn OUTSIDE the container in Firefox, Safari. (part of the annoying &#8220;box model&#8221; conflict)</li>
</ul>
</dd>
<dt><span style="color: #000080;"><strong>border-collapse:</strong></span></dt>
<dd><code>collapse<br />
</code></dd>
<dt><span style="color: #000080;"><strong>border-top:</strong></span></dt>
<dd>(set the border on one side)</dd>
<dt><span style="color: #000080;"><strong>border-right:</strong></span></dt>
<dd>(set the border on one side)</dd>
<dt><span style="color: #000080;"><strong>border-bottom:</strong></span></dt>
<dd>(set the border on one side)</dd>
<dt><span style="color: #000080;"><strong>border-left:</strong></span></dt>
<dd>(set the border on one side)</dd>
<dt><span style="color: #000080;"><strong>bottom:</strong></span></dt>
<dd>
<pre>4px     /* positions object 4px from the bottom of its container */
50%</pre>
</dd>
<dt><span style="color: #000080;"><strong>clear:</strong></span></dt>
<dd><code>none<br />
left<br />
right<br />
both<br />
</code><br />
Clears a &#8220;floated&#8221; element. See also: <code>float:</code></dd>
<dt><span style="color: #000080;"><strong>clip:</strong></span></dt>
<dd><code>rect(top left bottom right)</code></dd>
<dt><span style="color: #000080;"><strong>color:</strong></span></dt>
<dd>
<pre>#000000        /* #RRGGBB, each digit is 
                  0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f */
                  
rgb(0,0,0)     /* (R,G,B), each digit is 0 to 255, 
                  does NOT work everywhere */
                  
aqua           /* #00ffff */
black          /* #000000 */
blue           /* #0000ff */
fuchsia        /* #ff00ff */
gray           /* #808080 */
green          /* #008000 */
lime           /* #00ff00 */
maroon         /* #800000 */
navy           /* #000080 */
olive          /* #808000 */
purple         /* #800080 */
red            /* #ff0000 */
silver         /* #c0c0c0 */
orange         /* #ffa500 */
teal           /* #008080 */
white          /* #ffffff */
yellow         /* #ffff00 */</pre>
</dd>
<dt><span style="color: #000080;"><strong>cursor:</strong></span></dt>
<dd>
<pre>auto 
crosshair 
default 
pointer        /* The cursor that indicates a link on rollover */
move
N-resize       /* N can be replaced with S, E, W, NE, NW, SE, SW  */
text           /* Usually rendered as an I-bar */ 
wait           /* Usually rendered as a watch or hourglass */ 
help</pre>
</dd>
<dt><span style="color: #000080;"><strong>display:</strong></span></dt>
<dd>
<pre>none           /* Makes the element disappear */
block
inline</pre>
</dd>
<dt><span style="color: #000080;"><strong>float:</strong></span></dt>
<dd><code>none<br />
left<br />
right<br />
</code></dd>
<dt><span style="color: #000080;"><strong>font-family:</strong></span></dt>
<dd>
<pre>verdana,helvetica,sans-serif   /* easiest to read at small sizes and on all computers */
arial,helvetica,sans-serif
times,times new roman,serif
courier new,courier,monospace
cursive                        /* unpredictable */
fantasy                        /* unpredictable */</pre>
<p>Rules:</p>
<ul class="blist">
<li>A font only works for people who have that font installed on their computer.</li>
<li>Take into consideration both Windows and Macintosh users.</li>
<li>Always include a generic font at the end of the font list.</li>
</ul>
</dd>
<dt><span style="color: #000080;"><strong>font-size:</strong></span></dt>
<dd>
<pre>10px           /* very small */
11px           /* small to normal depending on font */
12px           /* normal */
16px           /* titles */
40px           /* really big */

0.5em          /* relative to parent element */
larger         /* relative to parent element */
smaller        /* relative to parent element */

xx-small       /* like HTML H6 */
x-small 
small          /* like HTML H5 */
medium         /* like HTML H4 */
large          /* like HTML H3 */
x-large        /* like HTML H2 */
xx-large       /* like HTML H1 */</pre>
</dd>
<dt><span style="color: #000080;"><strong>font-style:</strong></span></dt>
<dd>
<pre>normal
italic
oblique        /* same as italic */</pre>
</dd>
<dt><span style="color: #000080;"><strong>font-variant:</strong></span></dt>
<dd><code>normal<br />
small-caps<br />
</code></dd>
<dt><span style="color: #000080;"><strong>font-weight:</strong></span></dt>
<dd><code>normal<br />
bold<br />
</code></dd>
<dt><span style="color: #000080;"><strong>height:</strong></span></dt>
<dd><code>200px<br />
90%<br />
</code></dd>
<dt><span style="color: #000080;"><strong>left:</strong></span></dt>
<dd><code>4px<br />
50%<br />
</code></dd>
<dd>(Positions an element from the left-hand edge of its container.)</dd>
<dt><span style="color: #000080;"><strong>letter-spacing:</strong></span></dt>
<dd><code>normal<br />
5px<br />
</code><br />
(Called &#8220;kerning&#8221; in Typography.)</dd>
<dt><span style="color: #000080;"><strong>line-height:</strong></span></dt>
<dd>
<pre>normal
130%           /* percentage of the font-size, 130 gives a nice look */
10px           /* scrunch 11px font lines together */</pre>
<p>(Called &#8220;Ledding&#8221; in Typography.)</dd>
<dt><span style="color: #000080;"><strong>list-style:</strong></span></dt>
<dd>
<pre>none
disc
circle
square
decimal 
decimal-leading-zero 
lower-roman 
upper-roman 
lower-alpha 
upper-alpha 
lower-greek 
lower-alpha 
lower-latin 
upper-alpha 
upper-latin 
url(images/bullet.gif)</pre>
<p><em>Note:</em> If you want a custom bullet image, it works better this way:<br />
<code>ul {margin:0; padding:0; list-style:none;}<br />
li {<br />
margin:0 0 6px 0; padding:0 0 0 16px; /* left padding for bullet image */<br />
background:transparent url(images/bullet.gif) no-repeat;<br />
}</code></dd>
<dt><span style="color: #000080;"><strong>margin:</strong></span></dt>
<dd>
<pre>0              /* to turn all margins off, no unit is necessary */
4px            /* use a single value for the same margin on all sides */ 
2px 0 2px 0    /* specify separate top, right, bottom, left margins 
                  (clockwise from top) */
auto           /* set right AND left to auto, element is centered */</pre>
<p>Margins add transparent space OUTSIDE the background and border.</p>
<p>Examples:<br />
<code>  img {margin:2px 0 2px 0;}<br />
div (margin: 4px auto 10px auto;}    /* div will be horizontally centered */<br />
</code></dd>
<dt><span style="color: #000080;"><strong>margin-top:</strong></span></dt>
<dd>(set the margin on one side)</dd>
<dt><span style="color: #000080;"><strong>margin-right:</strong></span></dt>
<dd>(set the margin on one side)</dd>
<dt><span style="color: #000080;"><strong>margin-bottom:</strong></span></dt>
<dd>(set the margin on one side)</dd>
<dt><span style="color: #000080;"><strong>margin-left:</strong></span></dt>
<dd>(set the margin on one side)</dd>
<dt><span style="color: #000080;"><strong>min-height:</strong></span></dt>
<dd>Not supported in IE so its fairly useless</dd>
<dt><span style="color: #000080;"><strong>min-width:</strong></span></dt>
<dd>Not supported in IE so its fairly useless</dd>
<dt><span style="color: #000080;"><strong>overflow:</strong></span></dt>
<dd>
<pre>visible
hidden
scroll
auto</pre>
</dd>
<dt><strong><span style="color: #000080;">padding:</span></strong></dt>
<dd>
<pre>0              /* to turn all padding off, no unit is necessary */
4px            /* use a single unit for even padding on all sides */ 
2px 0 2px 0    /* specify separate top, right, bottom, left padding 
                  (clockwise from top) */</pre>
<p>(Padding adds space INSIDE the background and border.)</dd>
<dt><span style="color: #000080;"><strong>padding-top:</strong></span></dt>
<dd>(set the padding on one side)</dd>
<dt><span style="color: #000080;"><strong>padding-right:</strong></span></dt>
<dd>(set the padding on one side)</dd>
<dt><span style="color: #000080;"><strong>padding-bottom:</strong></span></dt>
<dd>(set the padding on one side)</dd>
<dt><span style="color: #000080;"><strong>padding-left:</strong></span></dt>
<dd>(set the padding on one side)</dd>
<dt><span style="color: #000080;"><strong>position:</strong></span></dt>
<dd>
<pre>static        /* where it would "normally" be in the html flow */
absolute      /* position inside the parent element */
relative      /* position relative to where it would "normally" be */
fixed         /* do not scroll the element as the page scrolls */</pre>
</dd>
<dt><span style="color: #000080;"><strong>right:</strong></span></dt>
<dd><code>4px<br />
50%<br />
</code><br />
(Positions an element from the right-hand edge of its container.)</dd>
<dt><span style="color: #000080;"><strong>text-align:</strong></span></dt>
<dd>
<pre>left 
right 
center 
justify        /* makes even left and right margins, 
                  like a newspaper column */</pre>
</dd>
<dt><span style="color: #000080;"><strong>text-decoration:</strong></span></dt>
<dd>
<pre>none
underline
overline
line-through</pre>
</dd>
<dt><span style="color: #000080;"><strong>text-transform:</strong></span></dt>
<dd><code>capitalize<br />
lowercase<br />
uppercase<br />
</code></dd>
<dt><span style="color: #000080;"><strong>top:</strong></span></dt>
<dd><code>4px<br />
50%<br />
</code></dd>
<dd>(Positions an element from the top edge of its container.)</dd>
<dt><span style="color: #000080;"><strong>vertical-align:</strong></span></dt>
<dd>
<pre>baseline 
middle 
sub            /* do not use, messes up line spacing, see below */
super          /* do not use, messes up line spacing, see below */
text-top 
text-bottom</pre>
<p>(Making superscripts and subscripts without messing up the line spacing:)</p>
<p><span style="color: #000080;"><strong>CSS</strong></span><br />
<code>  .sups {position:relative; top:-4px;}<br />
.subs {position:relative; top:4px;}<br />
</code><br />
<span style="color: #000080;"><strong>HTML</strong></span><br />
<code>  Here's a superscript&lt;span class="sups"&gt;1&lt;/span&gt;.<br />
</code></dd>
<dt><span style="color: #000080;"><strong>visibility:</strong></span></dt>
<dd>
<pre>hidden        /* the element will still influence other 
                      elements on the page */ 
visible</pre>
<p>(To remove the element completely, use <code>display:none;</code> instead.)</dd>
<dt><span style="color: #000080;"><strong>white-space:</strong></span></dt>
<dd>
<pre>normal
nowrap        /* do not wrap a line until a line break, 
                 somewhat buggy in some browsers */ 
pre           /* like using &lt;pre&gt; in HTML, requires 
                 "strict" mode for IE 6 */</pre>
</dd>
<dt><span style="color: #000080;"><strong>width:</strong></span></dt>
<dd><code>200px<br />
90%<br />
</code></dd>
<dt><span style="color: #000080;"><strong>z-index:</strong></span></dt>
<dd>
<pre>5             /* a DIV with a z-index of 5 will be "above" 
                 those with 4 or lower */</pre>
<p>Z-index only applies to other objects in the same container.</dd>
</dl>
<p>&nbsp;</p>
<p><a href="https://tipsforyourwebsite.com/wp-content/uploads/2016/08/css3-printable-reference.pdf" target="_blank" rel="noopener">Printable Version with extra CSS3 rules</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>HTML5 Tag list</title>
		<link>https://tipsforyourwebsite.com/html5-tag-list/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 20 Jul 2016 06:41:02 +0000</pubDate>
				<category><![CDATA[html5]]></category>
		<guid isPermaLink="false">https://tipsforyourwebsite.com/?p=191</guid>

					<description><![CDATA[Below is a list of the tags (or elements) supported in HTML5. This list is generally based on the W3C HTML5 specification, but may also include elements that are only in the WHATWG HTML Living Standard. For an explanation of the differences between the WHATWG and the W3C versions of HTML, Many tag also are in [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Below is a list of the tags (or elements) supported in HTML5. This list is generally based on the W3C HTML5 specification, but may also include elements that are only in the WHATWG HTML Living Standard. For an explanation of the differences between the WHATWG and the W3C versions of HTML,</p>
<p>Many tag also are in the html4 and earlier specification which is why the new html5 tags have been identified. HTML5 syntax rules are broadly documented at the bottom of the document</p>
<table class="tabular">
<thead>
<tr>
<th>Tag</th>
<th>Description</th>
<th>New in HTML5?</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_comments_tag.cfm" target="_blank">&lt;!&#8211;&#8230;&#8211;&gt;</a></td>
<td>Specifies a comment</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_doctype_tag.cfm" target="_blank">&lt;!DOCTYPE&gt;</a></td>
<td>Specifies the document type</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_a_tag.cfm" target="_blank">&lt;a&gt;</a></td>
<td>Specifies a hyperlink</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_abbr_tag.cfm" target="_blank">&lt;abbr&gt;</a></td>
<td>Specifies an abbreviation</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_address_tag.cfm" target="_blank">&lt;address&gt;</a></td>
<td>Specifies an address element</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_area_tag.cfm" target="_blank">&lt;area&gt;</a></td>
<td>Specifies an area inside an image map</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_article_tag.cfm" target="_blank">&lt;article&gt;</a></td>
<td>Specifies an article</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_aside_tag.cfm" target="_blank">&lt;aside&gt;</a></td>
<td>Specifies content aside from the page content</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_audio_tag.cfm" target="_blank">&lt;audio&gt;</a></td>
<td>Specifies sound content</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_b_tag.cfm" target="_blank">&lt;b&gt;</a></td>
<td>Specifies bold text</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_base_tag.cfm" target="_blank">&lt;base&gt;</a></td>
<td>Specifies a base URL for all the links in a page</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_bdi_tag.cfm" target="_blank">&lt;bdi&gt;</a></td>
<td>For bi-directional text formatting</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_bdo_tag.cfm" target="_blank">&lt;bdo&gt;</a></td>
<td>Specifies the direction of text display</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_blockquote_tag.cfm" target="_blank">&lt;blockquote&gt;</a></td>
<td>Specifies a long quotation</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_body_tag.cfm" target="_blank">&lt;body&gt;</a></td>
<td>Specifies the body element</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_br_tag.cfm" target="_blank">&lt;br&gt;</a></td>
<td>Inserts a single line break</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_button_tag.cfm" target="_blank">&lt;button&gt;</a></td>
<td>Specifies a push button</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_canvas_tag.cfm" target="_blank">&lt;canvas&gt;</a></td>
<td>Define graphics</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_caption_tag.cfm" target="_blank">&lt;caption&gt;</a></td>
<td>Specifies a table caption</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_cite_tag.cfm" target="_blank">&lt;cite&gt;</a></td>
<td>Specifies a citation</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_code_tag.cfm" target="_blank">&lt;code&gt;</a></td>
<td>Specifies computer code text</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_col_tag.cfm" target="_blank">&lt;col&gt;</a></td>
<td>Specifies attributes for table columns</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_colgroup_tag.cfm" target="_blank">&lt;colgroup&gt;</a></td>
<td>Specifies groups of table columns</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_data_tag.cfm" target="_blank">&lt;data&gt;</a></td>
<td>Allows for machine-readable data to be provided</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_datalist_tag.cfm" target="_blank">&lt;datalist&gt;</a></td>
<td>Specifies an &#8220;autocomplete&#8221; dropdown list</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_dd_tag.cfm" target="_blank">&lt;dd&gt;</a></td>
<td>Specifies a definition description</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_del_tag.cfm" target="_blank">&lt;del&gt;</a></td>
<td>Specifies deleted text</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_details_tag.cfm" target="_blank">&lt;details&gt;</a></td>
<td>Specifies details of an element</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_dfn_tag.cfm" target="_blank">&lt;dfn&gt;</a></td>
<td>Defines a definition term</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_dialog_tag.cfm" target="_blank">&lt;dialog&gt;</a></td>
<td>Specifies that part of an application is interactive.</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_div_tag.cfm" target="_blank">&lt;div&gt;</a></td>
<td>Specifies a section in a document</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_dl_tag.cfm" target="_blank">&lt;dl&gt;</a></td>
<td>Specifies a definition list</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_dt_tag.cfm" target="_blank">&lt;dt&gt;</a></td>
<td>Specifies a definition term</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_em_tag.cfm" target="_blank">&lt;em&gt;</a></td>
<td>Specifies emphasized text</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_embed_tag.cfm" target="_blank">&lt;embed&gt;</a></td>
<td>Specifies external application or interactive content</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_fieldset_tag.cfm" target="_blank">&lt;fieldset&gt;</a></td>
<td>Specifies a fieldset</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_figcaption_tag.cfm" target="_blank">&lt;figcaption&gt;</a></td>
<td>Specifies caption for the <code>figure</code> element.</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_figure_tag.cfm" target="_blank">&lt;figure&gt;</a></td>
<td>Specifies a group of media content, and their caption</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_footer_tag.cfm">&lt;footer&gt;</a></td>
<td>Specifies a footer for a section or page</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_form_tag.cfm" target="_blank">&lt;form&gt;</a></td>
<td>Specifies a form</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_h1_tag.cfm" target="_blank">&lt;h1&gt;</a></td>
<td>Specifies a heading level 1</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_h2_tag.cfm" target="_blank">&lt;h2&gt;</a></td>
<td>Specifies a heading level 2</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_h3_tag.cfm" target="_blank">&lt;h3&gt;</a></td>
<td>Specifies a heading level 3</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_h4_tag.cfm" target="_blank">&lt;h4&gt;</a></td>
<td>Specifies a heading level 4</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_h5_tag.cfm" target="_blank">&lt;h5&gt;</a></td>
<td>Specifies a heading level 5</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_h6_tag.cfm" target="_blank">&lt;h6&gt;</a></td>
<td>Specifies a heading level 6</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_head_tag.cfm">&lt;head&gt;</a></td>
<td>Specifies information about the document</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_header_tag.cfm" target="_blank">&lt;header&gt;</a></td>
<td>Specifies a group of introductory or navigational aids, including <code>hgroup</code> elements</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_hgroup_tag.cfm" target="_blank">&lt;hgroup&gt;</a></td>
<td>Specifies a header for a section or page.NOTE: This element has been dropped from W3C HTML5 spec but it is still included in WHATWG Living Standard.</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_hr_tag.cfm" target="_blank">&lt;hr&gt;</a></td>
<td>Specifies a horizontal rule</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_html_tag.cfm" target="_blank">&lt;html&gt;</a></td>
<td>Specifies an html document</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_i_tag.cfm" target="_blank">&lt;i&gt;</a></td>
<td>Specifies italic text</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_iframe_tag.cfm" target="_blank">&lt;iframe&gt;</a></td>
<td>Specifies an inline sub window (frame)</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_img_tag.cfm" target="_blank">&lt;img&gt;</a></td>
<td>Specifies an image</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_input_tag.cfm" target="_blank">&lt;input&gt;</a></td>
<td>Specifies an input field</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_ins_tag.cfm" target="_blank">&lt;ins&gt;</a></td>
<td>Specifies inserted text</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_kbd_tag.cfm" target="_blank">&lt;kbd&gt;</a></td>
<td>Specifies keyboard text</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_keygen_tag.cfm" target="_blank">&lt;keygen&gt;</a></td>
<td>Generates a key pair</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_label_tag.cfm" target="_blank">&lt;label&gt;</a></td>
<td>Specifies a label for a form control</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_legend_tag.cfm" target="_blank">&lt;legend&gt;</a></td>
<td>Specifies a title in a fieldset</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_li_tag.cfm" target="_blank">&lt;li&gt;</a></td>
<td>Specifies a list item</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_link_tag.cfm" target="_blank">&lt;link&gt;</a></td>
<td>Specifies a resource reference</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_main_tag.cfm" target="_blank">&lt;main&gt;</a></td>
<td>Specifies the main content area of an HTML document.</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_map_tag.cfm" target="_blank">&lt;map&gt;</a></td>
<td>Specifies an image map</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_mark_tag.cfm" target="_blank">&lt;mark&gt;</a></td>
<td>Specifies marked text</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_menu_tag.cfm" target="_blank">&lt;menu&gt;</a></td>
<td>Specifies a menu list</td>
<td>
<div class="badge badge-success">HTML 5.1</div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_menuitem_tag.cfm" target="_blank">&lt;menuitem&gt;</a></td>
<td>Specifies a command that a user can invoke from a popup menu.</td>
<td>
<div class="badge badge-success">HTML 5.1</div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_meta_tag.cfm" target="_blank">&lt;meta&gt;</a></td>
<td>Specifies meta information</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_meter_tag.cfm" target="_blank">&lt;meter&gt;</a></td>
<td>Specifies measurement within a predefined range</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_nav_tag.cfm" target="_blank">&lt;nav&gt;</a></td>
<td>Specifies navigation links</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_noscript_tag.cfm" target="_blank">&lt;noscript&gt;</a></td>
<td>Specifies a noscript section</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_object_tag.cfm" target="_blank">&lt;object&gt;</a></td>
<td>Specifies an embedded object</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_ol_tag.cfm" target="_blank">&lt;ol&gt;</a></td>
<td>Specifies an ordered list</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_optgroup_tag.cfm" target="_blank">&lt;optgroup&gt;</a></td>
<td>Specifies an option group</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_option_tag.cfm" target="_blank">&lt;option&gt;</a></td>
<td>Specifies an option in a drop-down list</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_output_tag.cfm" target="_blank">&lt;output&gt;</a></td>
<td>Specifies some types of output</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_p_tag.cfm" target="_blank">&lt;p&gt;</a></td>
<td>Specifies a paragraph</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_param_tag.cfm" target="_blank">&lt;param&gt;</a></td>
<td>Specifies a parameter for an object</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_pre_tag.cfm" target="_blank">&lt;pre&gt;</a></td>
<td>Specifies preformatted text</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_progress_tag.cfm" target="_blank">&lt;progress&gt;</a></td>
<td>Specifies progress of a task of any kind</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_q_tag.cfm" target="_blank">&lt;q&gt;</a></td>
<td>Specifies a short quotation</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_rb_tag.cfm" target="_blank">&lt;rb&gt;</a></td>
<td>Marks the base text component of a ruby annotation.</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_rp_tag.cfm" target="_blank">&lt;rp&gt;</a></td>
<td>Used for the benefit of browsers that don&#8217;t support ruby annotations</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_rt_tag.cfm" target="_blank">&lt;rt&gt;</a></td>
<td>Specifies the ruby text component of a ruby annotation.</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_rtc_tag.cfm" target="_blank">&lt;rtc&gt;</a></td>
<td>Marks a ruby text container for ruby text components in a ruby annotation.</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_ruby_tag.cfm">&lt;ruby&gt;</a></td>
<td>Specifies a ruby annotation (used in East Asian typography)</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_s_tag.cfm" target="_blank">&lt;s&gt;</a></td>
<td>Indicates text that&#8217;s no longer accurate or relevant.</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_samp_tag.cfm" target="_blank">&lt;samp&gt;</a></td>
<td>Specifies sample computer code</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_script_tag.cfm" target="_blank">&lt;script&gt;</a></td>
<td>Specifies a script</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_section_tag.cfm" target="_blank">&lt;section&gt;</a></td>
<td>Specifies a section</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_select_tag.cfm" target="_blank">&lt;select&gt;</a></td>
<td>Specifies a selectable list</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_small_tag.cfm" target="_blank">&lt;small&gt;</a></td>
<td>Specifies small text</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_source_tag.cfm" target="_blank">&lt;source&gt;</a></td>
<td>Specifies media resources</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_span_tag.cfm" target="_blank">&lt;span&gt;</a></td>
<td>Specifies a section in a document</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_strong_tag.cfm" target="_blank">&lt;strong&gt;</a></td>
<td>Specifies strong text</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_style_tag.cfm" target="_blank">&lt;style&gt;</a></td>
<td>Specifies a style definition</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_sub_tag.cfm" target="_blank">&lt;sub&gt;</a></td>
<td>Specifies subscripted text</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_summary_tag.cfm" target="_blank">&lt;summary&gt;</a></td>
<td>Specifies a summary / caption for the <code>&lt;details&gt;</code> element</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_sup_tag.cfm" target="_blank">&lt;sup&gt;</a></td>
<td>Specifies superscripted text</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_table_tag.cfm" target="_blank">&lt;table&gt;</a></td>
<td>Specifies a table</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_tbody_tag.cfm" target="_blank">&lt;tbody&gt;</a></td>
<td>Specifies a table body</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_td_tag.cfm" target="_blank">&lt;td&gt;</a></td>
<td>Specifies a table cell</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_template_tag.cfm" target="_blank">&lt;template&gt;</a></td>
<td>Declares HTML fragments that can be cloned and inserted in the document by script.</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_textarea_tag.cfm" target="_blank">&lt;textarea&gt;</a></td>
<td>Specifies a text area</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_tfoot_tag.cfm" target="_blank">&lt;tfoot&gt;</a></td>
<td>Specifies a table footer</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_th_tag.cfm" target="_blank">&lt;th&gt;</a></td>
<td>Specifies a table header</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_thead_tag.cfm" target="_blank">&lt;thead&gt;</a></td>
<td>Specifies a table header</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_time_tag.cfm" target="_blank">&lt;time&gt;</a></td>
<td>Specifies a date/time</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_title_tag.cfm" target="_blank">&lt;title&gt;</a></td>
<td>Specifies the document title</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_tr_tag.cfm" target="_blank">&lt;tr&gt;</a></td>
<td>Specifies a table row</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_track_tag.cfm" target="_blank">&lt;track&gt;</a></td>
<td>Specifies a text track for media such as video and audio</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_u_tag.cfm" target="_blank">&lt;u&gt;</a></td>
<td>Specifies text with a non-textual annotation.</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_ul_tag.cfm" target="_blank">&lt;ul&gt;</a></td>
<td>Specifies an unordered list</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_var_tag.cfm" target="_blank">&lt;var&gt;</a></td>
<td>Specifies a variable</td>
<td></td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_video_tag.cfm" target="_blank">&lt;video&gt;</a></td>
<td>Specifies a video</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
<tr>
<td><a href="http://www.quackit.com/html_5/tags/html_wbr_tag.cfm" target="_blank">&lt;wbr&gt;</a></td>
<td>Specifies a line break <i>opportunity</i> for very long words and strings of text with no spaces.</td>
<td>
<div class="badge badge-success">New <i class="fa fa-html5"></i></div>
</td>
</tr>
</tbody>
</table>
<p>SRC: <a href="http://www.quackit.com/html_5/tags/" target="_blank">http://www.quackit.com/html_5/tags/</a></p>
<p>HTML5 Syntax or coding rule</p>
<h2>Closing your tags</h2>
<p>Generally all of these HTML elements have opening and closing tags, and that the content of the element is placed in between them. The closing tag is slightly different to the opening tag &#8211; the closing tag contains a forward slash (<code>/</code>) after the <code>&lt;</code>. This tells the browser that this tag closes the previous one.</p>
<p>There are a few exceptions to this rule such as the &lt;br&gt; tag which for best practise should be self closing and should be written as &lt;br/&gt;.</p>
<h2>Tag Order</h2>
<p>When you nest tags/html elements you must nest them completely in that the first one opened should be the last one closed. as per the example below:</p>
<p>&lt;header&gt;<br />
&lt;h1&gt;<br />
&lt;span&gt; my header<br />
&lt;/span&gt;<br />
&lt;/h1&gt;<br />
&lt;/header&gt;</p>
<p><em><strong>NOT</strong></em></p>
<p>&lt;header&gt;<br />
&lt;h1&gt;<br />
&lt;span&gt; my header<br />
<span style="color: #ff0000;">   &lt;/h1&gt;</span><br />
<span style="color: #ff0000;">   &lt;/span&gt;</span><br />
&lt;/header&gt;</p>
<h2>Indenting your hand written code</h2>
<p>Indentation has no bearing on how the page is rendered, but it has a huge effect on the readability of the code. Standard procedure is to indent one tab (or a few spaces) when you are starting a new element that is a child element of the tag above it. Then move back in a tab when you are closing that element.</p>
<p><img data-attachment-id="205" data-permalink="https://tipsforyourwebsite.com/html5-tag-list/goodindent1/" data-orig-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2016/07/goodindent1.png?fit=261%2C305&amp;ssl=1" data-orig-size="261,305" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="goodindent1" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2016/07/goodindent1.png?fit=257%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2016/07/goodindent1.png?fit=261%2C305&amp;ssl=1" decoding="async" loading="lazy" class="aligncenter wp-image-205 size-full" src="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2016/07/goodindent1.png?resize=261%2C305&#038;ssl=1" width="261" height="305" srcset="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2016/07/goodindent1.png?w=261&amp;ssl=1 261w, https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2016/07/goodindent1.png?resize=257%2C300&amp;ssl=1 257w" sizes="(max-width: 261px) 100vw, 261px" data-recalc-dims="1" /></p>
<h2>UPPERCASE or lowercase?</h2>
<p>You can use uppercase or lowercase when coding HTML5, however, most developers use lowercase. This helps the readability of your code, and it also saves you from constantly switching between upper and lower case.</p>
<h2><a href="https://tipsforyourwebsite.com/wp-content/uploads/2016/07/HTML5-TAGS.pdf" target="_blank">Click here to download a printable version of this html5 table</a></h2>
<h2>update:Self-Closing Elements</h2>
<p>Common selfclosing elements include</p>
<ul class="list-column-3 group">
<li><code>&lt;br /&gt;</code></li>
<li><code>&lt;embed.../&gt;</code></li>
<li><code>&lt;hr /&gt;</code></li>
<li><code>&lt;img /&gt;</code></li>
<li><code>&lt;input../&gt;</code></li>
<li><code>&lt;link../&gt;</code></li>
<li><code>&lt;meta../&gt;</code></li>
<li><code>&lt;param../&gt;</code></li>
<li><code>&lt;source../&gt;</code></li>
<li></li>
</ul>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>HTML5 structural elements -html5 page structure</title>
		<link>https://tipsforyourwebsite.com/html5-structural-elements-html5-page-structure/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 13 Feb 2016 20:18:39 +0000</pubDate>
				<category><![CDATA[html5]]></category>
		<guid isPermaLink="false">https://tipsforyourwebsite.com/?p=333</guid>

					<description><![CDATA[HTML5 structural elements HTML4 already has a lot of semantic elements to allow you to clearly define the different features of a web page, like forms, lists, paragraphs, tables, etc. However, it does have its shortcomings. We still rely heavily on &#60;div&#62; and &#60;span&#62; elements with different id and class attributes to define various other [&#8230;]]]></description>
										<content:encoded><![CDATA[<h2 id="structural">HTML5 structural elements</h2>
<p>HTML4 already has a lot of semantic elements to allow you to clearly define the different features of a web page, like forms, lists, paragraphs, tables, etc. However, it does have its shortcomings. We still rely heavily on <code>&lt;div&gt;</code> and <code>&lt;span&gt;</code> elements with different <code>id</code> and <code>class</code> attributes to define various other features, such as navigation menus, headers, footers, main content, alert boxes, sidebars, etc. Something like <code>&lt;div id="header"&gt;</code> works in terms of developers and designers knowing what it is for, and being able to use CSS and JavaScript to apply custom styles and behaviour to make it understandable to end users.</p>
<p>The new HTML5 elements that can address this are:</p>
<ul>
<li><strong><code>&lt;header&gt;</code></strong>: Used to contain the header of a site.</li>
<li><strong><code>&lt;footer&gt;</code></strong>: Contains the footer of a site.</li>
<li><strong><code>&lt;nav&gt;</code></strong>: Contains the navigation functionality for the page.</li>
<li><strong><code>&lt;article&gt;</code></strong>: Contains a standalone piece of content that would make sense if syndicated as an RSS item, for example a news item.</li>
<li><strong><code>&lt;section&gt;</code></strong>: Used to either group different articles into different purposes or subjects, or to define the different sections of a single article.</li>
<li><strong><code>&lt;time&gt;</code></strong>: Used for marking up times and dates.</li>
<li><strong><code>&lt;aside&gt;</code></strong>: Defines a block of content that is related to the main content around it, but not central to the flow of it.</li>
<li><strong><code>&lt;hgroup&gt;</code></strong>: Used to wrap more than one heading if you only want it to count as a single heading in the page&#8217;s heading structure.As well as several other that you can check in this <a href="https://tipsforyourwebsite.com/html5-tag-list/">post- html5 tage list</a></li>
</ul>
<h3 id="why-no-content">Why isn&#8217;t there a <code>&lt;content&gt;</code> element?</h3>
<p>While this may seem like a glaring omission, it really isn&#8217;t. The main content will be the top level block of content that isn&#8217;t the <code>&lt;header&gt;</code>, <code>&lt;nav&gt;</code> or <code>&lt;footer&gt;</code>, and depending on your particular circumstance, it might make more sense to mark the content up using an <code>&lt;article&gt;</code>, a <code>&lt;section&gt;</code>, or even a <code>&lt;div&gt;</code>.</p>
<h2 id="example-html">Presenting an example HTML5 page</h2>
<h3 id="meta-differences">Some meta-differences</h3>
<p>The first thing you&#8217;ll notice is that the doctype is much simpler than in older versions of HTML:</p>
<pre><code>&lt;!DOCTYPE html&gt;</code></pre>
<p>the creators of HTML5 chose the shortest possible doctype string for this purpose — after all, why should you, the developer, be expected to remember a huge great long string containing multiple URLs, when in reality the doctype is only there to put the browser into standards mode (as opposed to quirks mode)?</p>
<p>Next, I want to draw your attention to HTML5&#8217;s apparent &#8220;lax syntax requirements&#8221;. I have included quotes round all my attribute values, and written all the elements in lower case, but that&#8217;s because I am used to writing using XHTML rules. But it may come as a surprise to you to discover that in HTML5, you can ignore these rules if you want. In fact, you don&#8217;t even have to bother including the <code>&lt;head&gt;</code>, <code>&lt;body&gt;</code>, or <code>&lt;html&gt;</code>elements, and it will still validate!</p>
<p>Note: this is not true if you switch to using XHTML (HTML served with the XHTML doctype — <code>application/xhtml+xml</code>)</p>
<p>This is because such elements are assumed by the browser anyway. If you create a sample HTML5 page without these elements, load it into a browser, and view the source of the loaded page, you will see them inserted automatically by the browser.</p>
<p>Note: Ok, so in fact you can also get HTML4 documents to validate if you don&#8217;t include <code>&lt;head&gt;</code>, <code>&lt;body&gt;</code>, or <code>&lt;html&gt;</code>, but it is still worth mentioning here.</p>
<p>Another thing to mention is that the HTML5 spec strictly defines how to handle badly-formed markup (for example wrongly nested elements, or unclosed elements), defining a parsing algorithm for the first time. This means that even if you do get some of your markup wrong, the <abbr title="Document Object Model">DOM</abbr> will be consistent across HTML5-supporting browsers.</p>
<p>So does this mean we don&#8217;t need to worry about validation and best practices any more? HECK NO! validation is still a very useful tool for making your pages as good as they can be.</p>
<p>To validate HTML5 documents, you can use the <a href="http://validator.w3.org/">W3C validator</a>, which can validate HTML5, as well as a wide range of other markup language flavours. Or for a dedicated HTML5 (+ WAI-ARIA and MathML) validator, go to <a href="http://validator.nu/">validator.nu</a>.</p>
<p>Last of all in this section, I want to draw your attention to this line:</p>
<pre>&lt;meta charset="utf-8" /&gt;</pre>
<p>You need to declare the character set of your document within the first 512 bytes, to protect against a <a href="http://code.google.com/p/doctype/wiki/ArticleUtf7">serious security risk</a>. Unless you have a really good reason not to, you should use <code>UTF-8</code>.</p>
<h3>Basic HTML5 template</h3>
<pre><code>
<span style="color: #3366ff;">&lt;!DOCTYPE html&gt;
</span><span style="color: #3366ff;">        &lt;html&gt;
</span><span style="color: #3366ff;">                   &lt;head&gt;
                   &lt;meta charset="utf-8" /&gt;
</span><span style="color: #3366ff;">                   &lt;title&gt; hello &lt;/title&gt;
</span><span style="color: #3366ff;">                  &lt;/head&gt;
</span><span style="color: #3366ff;">                   &lt;body&gt;
</span><span style="color: #3366ff;">                  </span>

<span style="color: #3366ff;">                 &lt;/body&gt;
</span><span style="color: #3366ff;">      &lt;/html&gt;</span>
</code></pre>
<p>&nbsp;</p>
<h3>Below we have the new html5 elements which go within the body tag</h3>
<h3 id="header"><code>&lt;header&gt;</code></h3>
<p>The document&#8217;s header looks like this:</p>
<pre><code>&lt;header&gt;
	&lt;hgroup&gt;
		&lt;h1&gt;My main heading&lt;/h1&gt;
		&lt;h2&gt;a sub heading &lt;/h2&gt;
	&lt;/hgroup&gt;
&lt;/header&gt;</code></pre>
<p>the purpose of the <code>&lt;header&gt;</code> element is to wrap the section of content that forms the header of the page, usually containing a company logo/graphic, main page title, etc.</p>
<h3 id="hgroup"><code>&lt;hgroup&gt;</code></h3>
<p>You&#8217;ll notice that in the above code, the only contents of my header are an <code>&lt;hgroup&gt;</code> element, wrapping two headings. What I want to do here is specify the document&#8217;s top level heading, plus a subtitle/tag line. I only want the top level heading to count in the document heading hierarchy, and that&#8217;s exactly what <code>&lt;hgroup&gt;</code>does — it causes a group of headings to only count as a single heading for the purposes of the document structure.I must admit personally I don&#8217;t use the &lt;hgroup&gt; element very much- oops!!</p>
<h3 id="html5-footer"><code>&lt;footer&gt;</code></h3>
<p>At the bottom of document or if you have multiple articles or sections then at the bottom of each you should have a &lt;footer&gt;:</p>
<pre><code>&lt;footer&gt;

	Copyright &amp;copy; 2017

&lt;/footer&gt;</code></pre>
<p><code>&lt;footer&gt;</code> should be used to contain your site&#8217;s footer content — if you look at the bottom of a number of your favourite sites, you&#8217;ll see that footers are used to contain a variety of things, from copyright notices and contact details, to accessibility statements, licensing information and various other secondary links.</p>
<p>Note: You are not restricted to one header and footer per page — you could have a page containing multiple articles, and have a header and footer per article.</p>
<h3 id="nav"><code>&lt;nav&gt;</code></h3>
<p>Further up the document again, you&#8217;ll come across this structure:</p>
<pre><code>&lt;nav&gt;
	&lt;h2&gt;Contents&lt;/h2&gt;
		&lt;ul&gt;
			&lt;li&gt;&lt;a href="#link1"&gt;link1&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a href="#Hlink2"&gt;link2&lt;/a&gt;&lt;/li&gt;

			&lt;!-- other navigation links... --&gt;

		&lt;/ul&gt;
&lt;/nav&gt;</code></pre>
<p>The <code>&lt;nav&gt;</code> element is for marking up the navigation links or other constructs (eg a search form) that will take you to different pages of the current site, or different areas of the current page.  You can of course include headings and other structuring elements inside the <code>&lt;nav&gt;</code>, or you could include your &lt;nav&gt; in your &lt;header&gt; its really up to you.</p>
<h3 id="aside"><code>&lt;aside&gt;</code></h3>
<p>Usually within a section or perhaps an article you will see the &lt;aside&gt; element:</p>
<pre><code>&lt;aside&gt;
	

		&lt;!-- lots of quick facts inside here related to the article or section--&gt;

	
&lt;/aside&gt;</code></pre>
<p>Other suitable candidates for <code>&lt;aside&gt;</code> elements include lists of links to external related content, background information, pull quotes, and sidebars.</p>
<h3 id="figure"></h3>
<h3 id="time"><code>&lt;time&gt;</code></h3>
<p>The <code>&lt;time&gt;</code> element allows you to define an unambiguous date and time value that is both human and machine readable. For example, I&#8217;ve marked up the release dates of the poppies&#8217; singles like so:</p>
<pre><code>&lt;time datetime="2017-01-13"&gt;2017&lt;span "&gt;&lt;/time&gt;</code></pre>
<p>The text in between the opening and closing tags can be anything you want, as appropriate for the people reading your site. If you wanted, you could also put it like this:</p>
<pre><code>&lt;time datetime="2</code><code>017-01-13</code><code>"&gt;13th January 2017&lt;/time&gt; </code></pre>
<pre><code>&lt;time datetime="</code><code>2</code><code>017-01-13</code><code>"&gt;January 13 2017&lt;/time&gt; </code></pre>
<h3><code>&lt;article&gt;</code> and <code>&lt;section&gt;</code></h3>
<p>Now we turn our attentions to probably the two most misunderstood elements in HTML5 — <code>&lt;article&gt;</code> and <code>&lt;section&gt;</code>. When you first meet them, the difference might appear unclear, but it really isn&#8217;t so bad.</p>
<p>Basically, the <code>&lt;article&gt;</code> element is for standalone pieces of content that would make sense outside the context of the current page, and could be syndicated nicely. Such pieces of content include blog posts, a video and it&#8217;s transcript, a news story, or a single part of a serial story.</p>
<p>The <code>&lt;section&gt;</code> element, on the other hand is for breaking the content of a page into different functions or subjects areas, or breaking an article or story up into different sections. Below are two perfectly fine examples of the use of articles and sections:</p>
<pre><code>&lt;article&gt;
	&lt;section id="Intro"&gt;
		&lt;h2&gt;Introduction&lt;/h2&gt;
	&lt;/section&gt;

	&lt;section id="Classes"&gt;
		&lt;h2&gt;Classes&lt;/h2&gt;
	&lt;/section&gt;

	&lt;section id="Teachers"&gt;
		&lt;h2&gt;Teachers&lt;/h2&gt;
	&lt;/section&gt;
&lt;/article&gt;</code></pre>
<p>But you could also have a structure like this:</p>
<pre><code>&lt;section id="business"&gt;
	&lt;h2&gt;Business Units&lt;/h2&gt;
	&lt;!-- multiple article elements could go in here for each unit--&gt;
&lt;/section&gt;

&lt;section id="html"&gt;
	&lt;h2&gt;html and CSS Units&lt;/h2&gt;
	&lt;!-- multiple article elements could go in here for each unit --&gt;
&lt;/section&gt;

&lt;section id="Design"&gt;
	&lt;h2&gt;DEsign units&lt;/h2&gt;
	&lt;!-- multiple article elements could go in here for each unit --&gt;
&lt;/section&gt;</code></pre>
<h4 id="div">Where does that leave <code>&lt;div&gt;</code>?</h4>
<p>So, with all these great new elements to use on our pages, the days of the humble <code>&lt;div&gt;</code> are numbered, surely? NO. In fact, the <code>&lt;div&gt;</code> still has a perfectly valid use. You should use it when there is no other more suitable element available for grouping an area of content, which will often be when you are purely using an element to group content together for styling/visual purposes. An eample  is  <code>&lt;div id="wrapper"&gt;</code>  wrapped around the whole of the content. It is used here is so that you could use CSS to center the content in the browser:</p>
<pre>#wrapper {
	background-color: #00f;
	width: 800px;
	margin: 0 auto;
}
</pre>
<p>With that overview we are ready for this weeks exercises <a href="https://tipsforyourwebsite.com/wp-content/uploads/2017/02/Revision-week2.pdf" target="_blank">click here to download it</a></p>
<figure id="attachment_337" aria-describedby="caption-attachment-337" style="width: 300px" class="wp-caption alignnone"><img data-attachment-id="337" data-permalink="https://tipsforyourwebsite.com/html5-structural-elements-html5-page-structure/teachers/" data-orig-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/teachers.jpg?fit=300%2C209&amp;ssl=1" data-orig-size="300,209" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="teachers" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/teachers.jpg?fit=300%2C209&amp;ssl=1" data-large-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/teachers.jpg?fit=300%2C209&amp;ssl=1" decoding="async" loading="lazy" class="wp-image-337 size-full" src="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/teachers.jpg?resize=300%2C209&#038;ssl=1" width="300" height="209" data-recalc-dims="1" /><figcaption id="caption-attachment-337" class="wp-caption-text">Also right click on this image and save it to your week 2 folder</figcaption></figure>
<figure id="attachment_338" aria-describedby="caption-attachment-338" style="width: 300px" class="wp-caption alignnone"><img data-attachment-id="338" data-permalink="https://tipsforyourwebsite.com/html5-structural-elements-html5-page-structure/topics/" data-orig-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/topics.jpg?fit=300%2C209&amp;ssl=1" data-orig-size="300,209" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="topics" data-image-description="" data-image-caption="&lt;p&gt;Also right click on this image and save it to your week 2 folder&lt;/p&gt;
" data-medium-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/topics.jpg?fit=300%2C209&amp;ssl=1" data-large-file="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/topics.jpg?fit=300%2C209&amp;ssl=1" decoding="async" loading="lazy" class="size-full wp-image-338" src="https://i0.wp.com/tipsforyourwebsite.com/wp-content/uploads/2017/02/topics.jpg?resize=300%2C209&#038;ssl=1" alt="" width="300" height="209" data-recalc-dims="1" /><figcaption id="caption-attachment-338" class="wp-caption-text">Also right click on this image and save it to your week 2 folder</figcaption></figure>
<p>Post sources and references:</p>
<blockquote data-secret="kW6pVx66CN" class="wp-embedded-content"><p><a href="https://www.sitepoint.com/defining-the-sample-sites-page-structure/">HTML5 Page Structure Basics</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" src="https://www.sitepoint.com/defining-the-sample-sites-page-structure/embed/#?secret=kW6pVx66CN" data-secret="kW6pVx66CN" width="600" height="338" title="Embedded WordPress Post" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe><br />
https://dev.opera.com/articles/new-structural-elements-in-html5/</p>
<p>&nbsp;</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
