<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-23105477</id><updated>2025-07-29T13:17:28.976-04:00</updated><category term="Adobe"/><category term="JavaScript"/><category term="HTML"/><category term="HTML5"/><category term="Flash"/><category term="Flex"/><category term="CSS"/><category term="ActionScript"/><category term="ComCenter"/><category term="Browsers"/><category term="Canvas"/><category term="Fun"/><category term="Web"/><category term="Java"/><category term="ColdFusion"/><category term="Blog"/><category term="XML"/><category term="Apollo"/><title type='text'>Web Development Central</title><subtitle type='html'>News, Tips &amp;amp; Tricks for Web Developers</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default?alt=atom'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default?alt=atom&amp;start-index=26&amp;max-results=25'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>153</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-23105477.post-6107618558765529726</id><published>2013-10-08T20:00:00.000-04:00</published><updated>2017-06-29T03:52:22.942-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>Drawing a Rectangle</title><summary type="text">If you&#39;re looking to draw a rectangle on a canvas, you can use techniques we&#39;ve looked at before to simply draw four lines at right angles. But you don&#39;t need to; there are build in methods to do this for you.





You could easily draw a simple rectangle by using the lineTo() method:




context = canvasTag.getContext(&#39;2d&#39;);
context.beginPath();
context.lineTo(200, 0);
context.lineTo(200, 100);
</summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/6107618558765529726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/6107618558765529726' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/6107618558765529726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/6107618558765529726'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/10/drawing-rectangle.html' title='Drawing a Rectangle'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoDPaVzw5lkyAz-X4it7rF5DW4tGsP5EHQHqr8oRNp0pHpZc4moupTJU0ugRYAz4xaVWBVXhLU3fW67wkNH3Shnpd5867rQwyJxx_W-Rwi88p6FuxrR-13f2OQUCjKyNRRguSmlQ/s72-h120-c/canvaslogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-3236509398993814828</id><published>2013-10-06T11:26:00.000-04:00</published><updated>2017-06-29T03:52:51.926-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>The Blink Tag, Dead at 19</title><summary type="text">The Blink tag died recently, when it&#39;s last supporting browser, Firefox, quietly dropped support with the release of Firefox 23. It was conceived by Lou Montulli in the summer of 1994 at St. James Infirmary, a local bar on Castro street in Mountain View. The Blink Tag came to the world when an engineer took Lou&#39;s conceived idea and brought it to life the next day. It was quietly released to the </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/3236509398993814828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/3236509398993814828' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/3236509398993814828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/3236509398993814828'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/10/the-blink-tag-dead-at-19.html' title='The Blink Tag, Dead at 19'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdmeJY8FPwV0CQIhl0u0pCij9h4CYpiAwaS0I8qeEtNtJtiKrPMb48fRlsbgc288i67_TYFTND5fWwsopBfjw4JV90Vab2ltiOOqNynk1Lfk3vBgZreVLCShmurqr_TYBtMVDZLQ/s72-h120-c/htmlLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-6439710934402887789</id><published>2013-09-20T20:34:00.000-04:00</published><updated>2017-06-29T03:53:06.194-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><title type='text'>Decorating Text with text-decoration</title><summary type="text">

Today, we take a look at the CSS property text-decoration. text-decoration property adds effects to text with several possible values.





They are:

none - No decoration on text. 
underline - The text is underlined. 
overline - The text has a line over it.
line-through - The text has been run over by a line.
blink - The text blinks on and off. This only works with some user agents and does </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/6439710934402887789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/6439710934402887789' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/6439710934402887789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/6439710934402887789'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/decorating-text-with-text-decoration.html' title='Decorating Text with text-decoration'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMgQEQXHzku_IiCMvgRXkgiqhfDj4M_DmrwwB0yY9ADP2quGdIwqSRZzuExSfrPbup2THxY1vuDWje8JChh98o2sREnpgUv5T-M3Ur0mDD5DYQefEdNHqRemgjs8_IdsZY3i5aLg/s72-h120-c/csslogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-699510303947874449</id><published>2013-09-18T07:53:00.001-04:00</published><updated>2017-06-29T03:53:57.409-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>Figuring About Figure and Figcaption Elements</title><summary type="text">


Today, we&#39;ll take a look at the figure and figcaption element in HTML5. The figure element is used to hold data that is a complete unit, and is related to and referenced by the surrounding content.







This is different than the aside element where, 
although the data is slightly related, the data is not part of the document.
The figcaption element is an optional element inside the figure </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/699510303947874449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/699510303947874449' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/699510303947874449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/699510303947874449'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/figuring-about-figure-and-figcaption.html' title='Figuring About Figure and Figcaption Elements'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdmeJY8FPwV0CQIhl0u0pCij9h4CYpiAwaS0I8qeEtNtJtiKrPMb48fRlsbgc288i67_TYFTND5fWwsopBfjw4JV90Vab2ltiOOqNynk1Lfk3vBgZreVLCShmurqr_TYBtMVDZLQ/s72-h120-c/htmlLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-1290336718681856353</id><published>2013-09-16T18:00:00.000-04:00</published><updated>2017-06-29T03:54:13.872-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>Drawing an Arc</title><summary type="text">Over the weekend, we looked at drawing a curve. We could use this to draw an arc, but there are better ways to do that using the canvas API.





There are two methods you can use to draw an arc, arc() and arcTo(). See below for the method definitions.




context.arc(x, y, radius, startingAngle, endingAngle, counterClockwise);
context.arcTo(x1, y1, x2, y2, radius);




The arc() method takes the</summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/1290336718681856353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/1290336718681856353' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/1290336718681856353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/1290336718681856353'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/drawing-arc.html' title='Drawing an Arc'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoDPaVzw5lkyAz-X4it7rF5DW4tGsP5EHQHqr8oRNp0pHpZc4moupTJU0ugRYAz4xaVWBVXhLU3fW67wkNH3Shnpd5867rQwyJxx_W-Rwi88p6FuxrR-13f2OQUCjKyNRRguSmlQ/s72-h120-c/canvaslogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-3012592603063073366</id><published>2013-09-15T18:37:00.003-04:00</published><updated>2017-06-29T03:54:29.128-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>Drawing a Curve</title><summary type="text">Previously, we had looked at the basics of drawing on the canvas- setting line styles, gradients, and stroking lines. But drawing straight lines doesn&#39;t help us if we&#39;re looking to draw a curve. We&#39;ll look at the bezierCurveTo() and quadraticCurveTo() of the context object.





Bezier curves are determined by specifying one or two control points and a destination point. The call to </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/3012592603063073366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/3012592603063073366' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/3012592603063073366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/3012592603063073366'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/drawing-curve.html' title='Drawing a Curve'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoDPaVzw5lkyAz-X4it7rF5DW4tGsP5EHQHqr8oRNp0pHpZc4moupTJU0ugRYAz4xaVWBVXhLU3fW67wkNH3Shnpd5867rQwyJxx_W-Rwi88p6FuxrR-13f2OQUCjKyNRRguSmlQ/s72-h120-c/canvaslogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-1353872361220348085</id><published>2013-09-14T18:00:00.000-04:00</published><updated>2017-06-29T23:35:54.908-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>Footer Element</title><summary type="text">
Today, we are going to study the footer element in HTML5. The footer typically contains copyright notices, author, related links such as disclaimers or other similar data.






A footer can also be used to place the content of appendices, indexes or similiar content, such as in a legal agreement. 

A simple example of the footer element is as follows:




&amp;lt;footer&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;</summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/1353872361220348085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/1353872361220348085' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/1353872361220348085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/1353872361220348085'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/footer-element.html' title='Footer Element'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdmeJY8FPwV0CQIhl0u0pCij9h4CYpiAwaS0I8qeEtNtJtiKrPMb48fRlsbgc288i67_TYFTND5fWwsopBfjw4JV90Vab2ltiOOqNynk1Lfk3vBgZreVLCShmurqr_TYBtMVDZLQ/s72-h120-c/htmlLogo.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-8790684233425954665</id><published>2013-09-12T18:00:00.000-04:00</published><updated>2017-06-29T23:36:11.496-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>The Aside Element</title><summary type="text">
Today, we are going to study the aside element in HTML5. The aside element is used to represent contents that are indirectly related to surrounding content. The content inside the aside element can be considered as independent content. 






A simple usage of the aside element is as follows:


&amp;lt;body&amp;gt;
Pets can be good for your mental health.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;aside&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;</summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/8790684233425954665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/8790684233425954665' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/8790684233425954665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/8790684233425954665'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/the-aside-element.html' title='The Aside Element'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdmeJY8FPwV0CQIhl0u0pCij9h4CYpiAwaS0I8qeEtNtJtiKrPMb48fRlsbgc288i67_TYFTND5fWwsopBfjw4JV90Vab2ltiOOqNynk1Lfk3vBgZreVLCShmurqr_TYBtMVDZLQ/s72-h120-c/htmlLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-2673472601430322886</id><published>2013-09-11T18:00:00.000-04:00</published><updated>2017-06-29T23:37:16.693-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>Stroking a Gradient</title><summary type="text">The other day we looked at what was necessary to draw lines with canvas. First we covered setting the line style, then we looked at drawing the actual lines. What we were using in those examples were solid colors. What if we wanted to use a gradient instead? Here&#39;s how.




Creating the Gradient



Before we can draw with a gradient, we need to create it. We can do this by using the </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/2673472601430322886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/2673472601430322886' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/2673472601430322886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/2673472601430322886'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/stroking-gradient.html' title='Stroking a Gradient'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoDPaVzw5lkyAz-X4it7rF5DW4tGsP5EHQHqr8oRNp0pHpZc4moupTJU0ugRYAz4xaVWBVXhLU3fW67wkNH3Shnpd5867rQwyJxx_W-Rwi88p6FuxrR-13f2OQUCjKyNRRguSmlQ/s72-h120-c/canvaslogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-8093784999413095591</id><published>2013-09-10T18:00:00.000-04:00</published><updated>2017-06-29T23:37:07.022-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>The Article Article</title><summary type="text">
Today, we&#39;re going to study the article element in HTML5. The article element represents an article or composition that can be used or distributed independently.




A simple usage of the article element is as follows:


&amp;lt;article&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h1&amp;gt;Yankees beat the Brooklyn Dodgers&amp;lt;/h1&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Yankees beat the Dodgers 10-2 today at Yankee Stadium.
&amp;lt;/article&amp;</summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/8093784999413095591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/8093784999413095591' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/8093784999413095591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/8093784999413095591'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/the-article-article.html' title='The Article Article'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdmeJY8FPwV0CQIhl0u0pCij9h4CYpiAwaS0I8qeEtNtJtiKrPMb48fRlsbgc288i67_TYFTND5fWwsopBfjw4JV90Vab2ltiOOqNynk1Lfk3vBgZreVLCShmurqr_TYBtMVDZLQ/s72-h120-c/htmlLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-746279508840347063</id><published>2013-09-09T18:14:00.001-04:00</published><updated>2017-06-29T23:37:33.718-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>Drawing a Line</title><summary type="text">The simplest kind of drawing you can do with canvas is drawing lines.  Last week we looked at context properties for setting the line style. Now that we&#39;ve done that, let&#39;s go over how to actually draw.




Like most 2d drawing systems, the origin of the coordinate system is 0,0 and located in the top left corner of the canvas. When drawing with canvas, we start our drawing operations by using </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/746279508840347063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/746279508840347063' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/746279508840347063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/746279508840347063'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/drawing-line.html' title='Drawing a Line'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoDPaVzw5lkyAz-X4it7rF5DW4tGsP5EHQHqr8oRNp0pHpZc4moupTJU0ugRYAz4xaVWBVXhLU3fW67wkNH3Shnpd5867rQwyJxx_W-Rwi88p6FuxrR-13f2OQUCjKyNRRguSmlQ/s72-h120-c/canvaslogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-2750358648504293757</id><published>2013-09-07T18:00:00.000-04:00</published><updated>2017-06-29T23:37:55.079-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>Navigating Around the Nav Element</title><summary type="text">Today, we&#39;ll study the nav element in HTML5.  The nav element is a grouping of links (external or internal to the page) that are used to help users navigate around the site. Not all links would qualify as ones you should use inside a nav element; if the links are a group of favorite game sites for example, then it would not be appropriate to use the nav element.




The nav element can be placed </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/2750358648504293757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/2750358648504293757' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/2750358648504293757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/2750358648504293757'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/navigating-around-nav-element.html' title='Navigating Around the Nav Element'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdmeJY8FPwV0CQIhl0u0pCij9h4CYpiAwaS0I8qeEtNtJtiKrPMb48fRlsbgc288i67_TYFTND5fWwsopBfjw4JV90Vab2ltiOOqNynk1Lfk3vBgZreVLCShmurqr_TYBtMVDZLQ/s72-h120-c/htmlLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-7869059256187501827</id><published>2013-09-06T18:15:00.002-04:00</published><updated>2017-07-01T09:40:32.069-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>Setting the Line Style</title><summary type="text">We recently started discussing how to access the canvas from JavaScript. Before you begin drawing however, you can set the line style by using properties of the context object.




The line style properties available for the graphics context are:


lineWidth
The thickness (in pixels) of the line. The default value is 1.

strokeStyle
The style of stroke you would like to use. This can be a color, </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/7869059256187501827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/7869059256187501827' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/7869059256187501827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/7869059256187501827'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/setting-line-style.html' title='Setting the Line Style'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoDPaVzw5lkyAz-X4it7rF5DW4tGsP5EHQHqr8oRNp0pHpZc4moupTJU0ugRYAz4xaVWBVXhLU3fW67wkNH3Shnpd5867rQwyJxx_W-Rwi88p6FuxrR-13f2OQUCjKyNRRguSmlQ/s72-h120-c/canvaslogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-2705019017687842985</id><published>2013-09-05T18:00:00.000-04:00</published><updated>2017-07-01T09:40:58.874-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>All About the Header Tag</title><summary type="text">Usually when we think of headers, we think of the single area of the webpage that contains the logo, the search form, menu or navigation. In HTML5, the header element allows all that and more. It can be used to introduce content to &quot;sectioning content&quot; and &quot;sectioning roots&quot; elements.



Currently, &quot;sectioning content&quot; are the following elements: article, aside, nav and section. &quot;sectioning roots</summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/2705019017687842985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/2705019017687842985' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/2705019017687842985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/2705019017687842985'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/all-about-header-tag.html' title='All About the Header Tag'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdmeJY8FPwV0CQIhl0u0pCij9h4CYpiAwaS0I8qeEtNtJtiKrPMb48fRlsbgc288i67_TYFTND5fWwsopBfjw4JV90Vab2ltiOOqNynk1Lfk3vBgZreVLCShmurqr_TYBtMVDZLQ/s72-h120-c/htmlLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-7454396718054537234</id><published>2013-09-04T16:00:00.000-04:00</published><updated>2017-07-01T09:41:12.946-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Using Canvas From JavaScript</title><summary type="text">The other day we looked at setting up the canvas tag. But while the HTML element this set up a drawing surface, the actual drawing is handled from JavaScript. Here&#39;s how to get started.





Grabbing the Element and Retrieving the Context

Let&#39;s start with the code example we used last time:


&amp;lt;canvas id=&quot;myCanvas&quot; width=&quot;200&quot; height=&quot;200&quot;&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Your browser does not </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/7454396718054537234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/7454396718054537234' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/7454396718054537234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/7454396718054537234'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/using-canvas-from-javascript.html' title='Using Canvas From JavaScript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoDPaVzw5lkyAz-X4it7rF5DW4tGsP5EHQHqr8oRNp0pHpZc4moupTJU0ugRYAz4xaVWBVXhLU3fW67wkNH3Shnpd5867rQwyJxx_W-Rwi88p6FuxrR-13f2OQUCjKyNRRguSmlQ/s72-h120-c/canvaslogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-6712781882261808233</id><published>2013-09-03T16:00:00.000-04:00</published><updated>2017-07-01T09:41:29.119-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>The Section Tag</title><summary type="text">Recently we had talked about a new group of semantic HTML elements. We&#39;ll start looking at the first one: the section element. Section is a new element in HTML5 that splits up content to make the code more cohesive and readable. It is used to represent a grouping of similar content, usually with a heading.



A product webpage can be broken down by different section on the page: Introduction, </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/6712781882261808233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/6712781882261808233' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/6712781882261808233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/6712781882261808233'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/09/the-section-tag.html' title='The Section Tag'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdmeJY8FPwV0CQIhl0u0pCij9h4CYpiAwaS0I8qeEtNtJtiKrPMb48fRlsbgc288i67_TYFTND5fWwsopBfjw4JV90Vab2ltiOOqNynk1Lfk3vBgZreVLCShmurqr_TYBtMVDZLQ/s72-h120-c/htmlLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-1662662038809863938</id><published>2013-08-31T16:00:00.000-04:00</published><updated>2017-07-01T09:41:51.355-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Feature Detection</title><summary type="text">We recently looked at detecting browser information, such as browser name, number, and operating system. You might be tempted to use this information to decide on whether to use features that not universal across browsers. But this might be the best thing to do-you&#39;re much better off doing feature detection.



Feature detection is a method for testing the existence of a specific feature. If you </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/1662662038809863938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/1662662038809863938' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/1662662038809863938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/1662662038809863938'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/08/feature-detection.html' title='Feature Detection'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4Cb6zfkscUKvVELpANa874osBTgP1fF45G1Y5nSfj_XcYetWCAyNxTf2LqJr3PqCJVd0zNNR4HJdlLmUpW7xEZXu2xzjnsLVpNcbYrlRT7Lr72JXEwxx6o90dRFCifUWTgwVtvQ/s72-h120-c/JSLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-8432519440433774363</id><published>2013-08-30T20:15:00.003-04:00</published><updated>2017-07-01T09:42:08.785-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Canvas"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>Introduction to Canvas</title><summary type="text">Different parts of HTML5 were contributed by different browser vendors. It seems only appropriate, that Apple, the company that was so insistent in replacing Flash, contributed the technology that replaced many of Flash&#39;s features: the canvas tag.



The canvas tag in HTML5 represents a surface for bitmap drawing. Apple implemented it in Safari, and it was quickly adapted by Firefox and Opera.


</summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/8432519440433774363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/8432519440433774363' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/8432519440433774363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/8432519440433774363'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/08/introduction-to-canvas.html' title='Introduction to Canvas'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoDPaVzw5lkyAz-X4it7rF5DW4tGsP5EHQHqr8oRNp0pHpZc4moupTJU0ugRYAz4xaVWBVXhLU3fW67wkNH3Shnpd5867rQwyJxx_W-Rwi88p6FuxrR-13f2OQUCjKyNRRguSmlQ/s72-h120-c/canvaslogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-6335265119839557753</id><published>2013-08-29T16:00:00.000-04:00</published><updated>2017-07-01T09:44:14.765-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Detecting Screen Resolution</title><summary type="text">Sometimes it&#39;s helpful to know what resolution your users are using when they access your site. You can get this information by utilizing the screen object.



The screen object contains a number of helpful properties, but the first and foremost among them is width and height. With these two properties you can detect the user&#39;s screen resolution.

The screen object also contains fields called </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/6335265119839557753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/6335265119839557753' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/6335265119839557753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/6335265119839557753'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/08/detecting-screen-resolution.html' title='Detecting Screen Resolution'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4Cb6zfkscUKvVELpANa874osBTgP1fF45G1Y5nSfj_XcYetWCAyNxTf2LqJr3PqCJVd0zNNR4HJdlLmUpW7xEZXu2xzjnsLVpNcbYrlRT7Lr72JXEwxx6o90dRFCifUWTgwVtvQ/s72-h120-c/JSLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-4248084792395286294</id><published>2013-08-28T16:00:00.000-04:00</published><updated>2017-07-01T09:45:37.001-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><title type='text'>Handling Invisibility</title><summary type="text">Although it may not be obvious at first, invisibility is used everywhere on the web. Every time you use flyout menus, popup windows, dropdown menus or similar types of navigation, the odds are that you&#39;ve just seen alterations in visibilty at work. Knowing how to control the visibility of elements on your page is a critical skill to have. There are a few different ways to tackle this in CSS, </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/4248084792395286294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/4248084792395286294' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/4248084792395286294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/4248084792395286294'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/08/handling-invisibility.html' title='Handling Invisibility'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMgQEQXHzku_IiCMvgRXkgiqhfDj4M_DmrwwB0yY9ADP2quGdIwqSRZzuExSfrPbup2THxY1vuDWje8JChh98o2sREnpgUv5T-M3Ur0mDD5DYQefEdNHqRemgjs8_IdsZY3i5aLg/s72-h120-c/csslogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-7331928690558838871</id><published>2013-08-27T16:00:00.000-04:00</published><updated>2017-07-01T09:45:17.952-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Retrieving the User&#39;s Browser Information</title><summary type="text">If you&#39;d like to get information about the browser users are using on your website, here&#39;s how-by using the navigator object.



The navigator object provides a good deal of information about the user&#39;s browser. Let&#39;s go over the individual fields.



Browser Name

You can retrieve the name of the browser by using navigator.appName



Browser Version

You can retrieve the version of the browser </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/7331928690558838871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/7331928690558838871' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/7331928690558838871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/7331928690558838871'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/08/retrieving-users-browser-information.html' title='Retrieving the User&#39;s Browser Information'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4Cb6zfkscUKvVELpANa874osBTgP1fF45G1Y5nSfj_XcYetWCAyNxTf2LqJr3PqCJVd0zNNR4HJdlLmUpW7xEZXu2xzjnsLVpNcbYrlRT7Lr72JXEwxx6o90dRFCifUWTgwVtvQ/s72-h120-c/JSLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-1469549678721417408</id><published>2013-08-26T16:00:00.000-04:00</published><updated>2017-07-01T09:45:52.335-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>HTML5 Semantic Tags: Paving the Cow Paths</title><summary type="text">When HTML5 was being created, the authors faced a tough decision-what tags should they create? There was an obvious desire to clean up HTML as it stood-finally abolishing those tags that had been replaced by equivalent CSS technology. There was also interest in creating tags that replicated some of what had made Flash so successful. Lastly, there was also a desire to create a new round of </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/1469549678721417408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/1469549678721417408' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/1469549678721417408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/1469549678721417408'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/08/html5-semantic-tags-paving-cow-paths.html' title='HTML5 Semantic Tags: Paving the Cow Paths'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdmeJY8FPwV0CQIhl0u0pCij9h4CYpiAwaS0I8qeEtNtJtiKrPMb48fRlsbgc288i67_TYFTND5fWwsopBfjw4JV90Vab2ltiOOqNynk1Lfk3vBgZreVLCShmurqr_TYBtMVDZLQ/s72-h120-c/htmlLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-5158379276966822891</id><published>2013-08-25T16:00:00.000-04:00</published><updated>2017-07-01T09:46:05.444-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Simulating the Flip of a Coin</title><summary type="text">If you ever needed to simulate the flipping of a coin, or some other event in which you expect to receive a boolean result, this is how to do it.



When we last looked at generating random numbers, we looked at creating random numbers in a range. We&#39;ll use that code as a base. See below.


function coinFlip()
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var max = 1;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var min = 0;
&amp;nbsp;&amp;nbsp</summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/5158379276966822891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/5158379276966822891' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/5158379276966822891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/5158379276966822891'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/08/simulating-flip-of-coin.html' title='Simulating the Flip of a Coin'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4Cb6zfkscUKvVELpANa874osBTgP1fF45G1Y5nSfj_XcYetWCAyNxTf2LqJr3PqCJVd0zNNR4HJdlLmUpW7xEZXu2xzjnsLVpNcbYrlRT7Lr72JXEwxx6o90dRFCifUWTgwVtvQ/s72-h120-c/JSLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-4268563359323437053</id><published>2013-08-24T16:00:00.000-04:00</published><updated>2017-07-01T09:46:20.029-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><title type='text'>Gotchas With the Font Shorthand Property</title><summary type="text">The font shorthand property is an easy way to specify a number of individual font properties at once. But you need to be careful how you use it or you may get unexpected behavior.



Let&#39;s go over the basics. The font shorthand property allows you to specify the font style, the font weight, the font variant, the font size and the font family. Some of these attributes are required while some of </summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/4268563359323437053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/4268563359323437053' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/4268563359323437053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/4268563359323437053'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/08/gotchas-with-font-shorthand-property.html' title='Gotchas With the Font Shorthand Property'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMgQEQXHzku_IiCMvgRXkgiqhfDj4M_DmrwwB0yY9ADP2quGdIwqSRZzuExSfrPbup2THxY1vuDWje8JChh98o2sREnpgUv5T-M3Ur0mDD5DYQefEdNHqRemgjs8_IdsZY3i5aLg/s72-h120-c/csslogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-23105477.post-1557073990485701550</id><published>2013-08-23T16:00:00.000-04:00</published><updated>2017-07-01T09:46:38.110-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Ternary Operators</title><summary type="text">JavaScript supports a ternary operator-an operator that exists as a shortcut for if/else.



The ternary operator returns one of two possible expressions depending on a conditional check.


condition ? expression1 : expression2


So let&#39;s look at a typical example done with an if/else block.


if (totalPrice &amp;gt; 100)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;discount=.05;
}
else
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</summary><link rel='replies' type='application/atom+xml' href='http://www.webdevelopmentcentral.com/feeds/1557073990485701550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/23105477/1557073990485701550' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/1557073990485701550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/23105477/posts/default/1557073990485701550'/><link rel='alternate' type='text/html' href='http://www.webdevelopmentcentral.com/2013/08/ternary-operators.html' title='Ternary Operators'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4Cb6zfkscUKvVELpANa874osBTgP1fF45G1Y5nSfj_XcYetWCAyNxTf2LqJr3PqCJVd0zNNR4HJdlLmUpW7xEZXu2xzjnsLVpNcbYrlRT7Lr72JXEwxx6o90dRFCifUWTgwVtvQ/s72-h120-c/JSLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>