<?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-8813768164895487631</id><updated>2024-11-01T03:34:14.117-07:00</updated><category term="JavaScript"/><category term="String"/><category term="Array"/><category term="Number"/><category term="Boolean"/><category term="CSS"/><category term="Quick Guide"/><category term="Resources"/><category term="Built-in"/><category term="CSS2"/><category term="Definitive"/><category term="Functions"/><category term="Guide"/><category term="Tutorial"/><category term="constructor"/><title type='text'>Learn to code</title><subtitle type='html'>SVN, iOS, VB.Net, JAVA, PHP, Python, Ruby, Perl, HTML, CSS, Javascript, MySQL, C++, UNIX,Tutorial, Examples, </subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default?start-index=26&amp;max-results=25'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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>70</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-3091057200476335348</id><published>2014-04-11T02:42:00.001-07:00</published><updated>2014-04-11T02:44:24.375-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial"/><title type='text'>CSS Tutorial in PDF</title><content type='html'>&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
If you think this PDF is worth of $5.99 value, kindly pay this little amount using a Credit Card or PayPal for the PDF.&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-color: white; color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;margin-bottom: 0px; vertical-align: top;&quot; width=&quot;560&quot;&gt;&lt;center&gt;
&lt;br /&gt;&lt;h1 style=&quot;background-color: transparent; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 18px; font-weight: normal; line-height: 1.5; margin-bottom: 0px;&quot;&gt;
&lt;a class=&quot;left&quot; href=&quot;http://www.tutorialspoint.com/css/css_tutorial.pdf&quot; style=&quot;background-color: transparent; color: red;&quot; target=&quot;_blank&quot; title=&quot;CSS Tutorial in PDF&quot;&gt;&lt;img alt=&quot;CSS Tutorial (PDF Version)&quot; src=&quot;http://www.tutorialspoint.com/images/pdf.jpg&quot; style=&quot;border: 0px;&quot; /&gt;&lt;br /&gt;Download CSS Tutorial (PDF Version)&lt;/a&gt;&lt;/h1&gt;
&lt;/center&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/3091057200476335348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/css-tutorial-in-pdf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/3091057200476335348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/3091057200476335348'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/css-tutorial-in-pdf.html' title='CSS Tutorial in PDF'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-2245430339777347729</id><published>2014-04-11T02:41:00.001-07:00</published><updated>2014-07-25T02:05:22.414-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Resources"/><title type='text'>CSS Useful Resources</title><content type='html'>&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
If you want to list down your website, book or any other resource on this page then please contact at webmaster@tutorialspoint.com&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.w3.org/TR/REC-CSS1/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; color: #900b09;&quot; target=&quot;_blank&quot;&gt;CSS 1 Specification&lt;/a&gt;&amp;nbsp;- W3C Cascading Style Sheets, level 1 Specification&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.w3.org/TR/REC-CSS2/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; color: #900b09;&quot; target=&quot;_blank&quot;&gt;CSS 2 Specification&lt;/a&gt;&amp;nbsp;- W3C Cascading Style Sheets, level 2 Specification&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://validator.w3.org/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; color: #900b09;&quot; target=&quot;_blank&quot;&gt;W3C HTML Validation Service&lt;/a&gt;&amp;nbsp;- Validate your HTML/XHTML document against W3C Standard.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://kzone.host.sk/download/item4.htm&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; color: #900b09;&quot; target=&quot;_blank&quot;&gt;Offline HTML Validator&lt;/a&gt;&amp;nbsp;- Download and install this software to validate your HTML/XHTML pages offline.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.w3.org/Style/Examples/011/firstcss&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; color: #900b09;&quot; target=&quot;_blank&quot;&gt;Starting with HTML + CSS&lt;/a&gt;&amp;nbsp;- A W3C tutorial on HTML and CSS.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.w3.org/TR/xhtml1/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; color: #900b09;&quot; target=&quot;_blank&quot;&gt;XHTML1.0&lt;/a&gt;&amp;nbsp;- W3C XHTML 1.0. It offers the same flavors as HTML 4.0 and 4.01, reformulated in XML, with minor restrictions.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.w3.org/TR/xhtml11//&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; color: #900b09;&quot; target=&quot;_blank&quot;&gt;XHTML1.0&lt;/a&gt;&amp;nbsp;- W3C XHTML 1.1. It is based on XHTML 1.0 Strict, but includes minor changes.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.w3.org/TR/html401/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; color: #900b09;&quot; target=&quot;_blank&quot;&gt;HTML 4.01 Specification&lt;/a&gt;&amp;nbsp;- A complete specification of HTML4.01, the most popular version of HTML.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.w3.org/TR/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; color: #900b09;&quot; target=&quot;_blank&quot;&gt;W3C Specifications List&lt;/a&gt;&amp;nbsp;- A comprehensive list of W3C standards. You will find most latest versions available on this page.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;center style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;h1 style=&quot;background-color: transparent; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 18px; font-weight: normal; line-height: 1.5; margin-bottom: 0px;&quot;&gt;
&lt;br /&gt;&lt;/h1&gt;
&lt;/center&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/2245430339777347729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/css-useful-resources.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/2245430339777347729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/2245430339777347729'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/css-useful-resources.html' title='CSS Useful Resources'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-5570452438202257582</id><published>2014-04-11T02:40:00.002-07:00</published><updated>2014-04-11T02:40:50.811-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS2"/><category scheme="http://www.blogger.com/atom/ns#" term="Guide"/><title type='text'>CSS2 Reference Guide</title><content type='html'>&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This is a complete reference guide for web developers where haved we listed all the CSS properties defined in the World Wide Web Consortium&#39;s Recommended Specification for Cascading Style Sheets, Level 2&lt;/div&gt;
&lt;table style=&quot;background-color: white; color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;margin-bottom: 0px; vertical-align: top;&quot; valign=&quot;top&quot;&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_aural_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Aural&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_background_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Background&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Border&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_classification_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Classification&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_dimension_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Dimension&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_font_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Font&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;td style=&quot;margin-bottom: 0px; vertical-align: top;&quot; valign=&quot;top&quot;&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_content_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Generated Content&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_list_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;List and Marker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_margin_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Margin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_outlines_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Outlines&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_padding_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Padding&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_position_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Positioning&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;td style=&quot;margin-bottom: 0px; vertical-align: top;&quot; valign=&quot;top&quot;&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_table_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Table&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_text_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Text&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_print_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Print&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pseudo_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Pseudo-classes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pseudo_references.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;Pseudo-elements&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Click any property to see its description with examples:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;3&quot; cellspacing=&quot;0&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th style=&quot;background-color: #cdcdcd; border-collapse: collapse; border: 1px solid rgb(170, 170, 170);&quot; width=&quot;145&quot;&gt;Property&lt;/th&gt;&lt;th style=&quot;background-color: #cdcdcd; border-collapse: collapse; border: 1px solid rgb(170, 170, 170);&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_azimuth.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;azimuth&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Describes the position of a sound source along the horizontal axis of the listener&#39;s environment.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_background.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;background&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Composite property for the following properties:&lt;ul&gt;
&lt;li&gt;background-attachment&lt;/li&gt;
&lt;li&gt;background-color&lt;/li&gt;
&lt;li&gt;background-image&lt;/li&gt;
&lt;li&gt;background-position&lt;/li&gt;
&lt;li&gt;background-repeat&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_background-attachment.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;background-attachment&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Determines if the background image is fixed in the window or scrolls as the document scrolls&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_background-color.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;background-color&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the background color of an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_background-image.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;background-image&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the background image of an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_background-position.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;background-position&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the initial position of the element&#39;s background image, if specified; values normally are paired to provide x, y positions; default position is 0% 0%.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_background-repeat.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;background-repeat&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Determines how the background image is repeated (tiled) across an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets all four of an element&#39;s borders; value is one or more of a color, a value for&amp;nbsp;&lt;i&gt;border-width&lt;/i&gt;, and a value for&amp;nbsp;&lt;i&gt;border-style&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-bottom.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-bottom&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets an element&#39;s bottom border; value is one or more of a color, a value for&amp;nbsp;&lt;i&gt;border-bottom-width&lt;/i&gt;, and a value for&amp;nbsp;&lt;i&gt;border-style&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-bottom-width.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-bottom-width&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the thickness of an element&#39;s bottom border.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-collapse.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-collapse&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the table border rendering algorithm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-color.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-color&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the color of all four of an element&#39;s borders; default is the color of the element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-left-color.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-left-color&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the color of an element&#39;s left borders; default is the color of the element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-right-color.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-right-color&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the color of an element&#39;s right borders; default is the color of the element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-top-color.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-top-color&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the color of an element&#39;s top borders; default is the color of the element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-bottom-color.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-bottom-color&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the color of an element&#39;s bottom borders; default is the color of the element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-left.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-left&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets an element&#39;s left border; value is one or more of a color, a value for&amp;nbsp;&lt;i&gt;border-left-width&lt;/i&gt;, and a value for&amp;nbsp;&lt;i&gt;border-style&lt;/i&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-left-width.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-left-width&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the thickness of an element&#39;s left border&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-right.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-right&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets an element&#39;s right border; value is one or more of a color, a value for&amp;nbsp;&lt;i&gt;border-right-width&lt;/i&gt;, and a value for&amp;nbsp;&lt;i&gt;border-style&lt;/i&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-right-width.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-right-width&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the thickness of an element&#39;s right border&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-spacing.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-spacing&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;With separate borders set the spacing between borders. One value sets vertical and horizontal spacing and two values sets horizontal and vertical spacing respectively.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-style.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-style&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the style of all four of an element&#39;s borders&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-top.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-top&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets an element&#39;s top border; value is one or more of a color, a value for&amp;nbsp;&lt;i&gt;border-top-width&lt;/i&gt;, and a value for&amp;nbsp;&lt;i&gt;border-style&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-top-width.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-top-width&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the thickness of an element&#39;s top border.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_border-width.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;border-width&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the thickness of all four of an element&#39;s borders&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_bottom.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;bottom&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Used with the&amp;nbsp;&lt;i&gt;position&lt;/i&gt;&amp;nbsp;property to place the bottom edge of an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_caption-side.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;caption-side&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the position for a table caption&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_clear.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;clear&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets which margins of an element must not be adjacent to a floating element; the element is moved down until that margin is clear&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_clip.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;clip&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the clipping mask for an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_color.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;color&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the color of an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_content.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;content&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Inserts generated content around an element.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_counter-increment.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;counter-increment&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Increments a counter by 1; value is a list of counter names, with each name optionally followed by a value by which it is incremented.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_counter-reset.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;counter-reset&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Resets a counter to zero; value is a list of counter names, with each name optionally followed by a value to which it is reset.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_cue-after.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;cue-after&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Plays the designated sound after an element is spoken&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_cue-before.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;cue-before&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Plays the designated sound before an element is spoken&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_cursor.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;cursor&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines shap of the cursor&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_direction.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;direction&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines direction of the flow of an element content&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_display.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;display&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Controls how an element is displayed&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_elevation.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;elevation&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the height at which a sound is played&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_empty-cells.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;empty-cells&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;With separate borders, hides empty cells in a table&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_float.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;float&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Determines if an element floats to the left or right, allowing text to wrap around it or be displayed inline&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_font.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;font&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets all the font attributes for an element. Value is any of the values for:&lt;ul&gt;
&lt;li&gt;font-style&lt;/li&gt;
&lt;li&gt;font-variant&lt;/li&gt;
&lt;li&gt;font-weight&lt;/li&gt;
&lt;li&gt;font-size&lt;/li&gt;
&lt;li&gt;line-height&lt;/li&gt;
&lt;li&gt;font-family&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_font-family.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;font-family&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the font for an element, either as a specific font or as one of the generic serif, sans-serif, cursive, fantasy, and monospace.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_font-size.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;font-size&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the font size&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_font-size-adjust.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;font-size-adjust&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Adjusts the current font&#39;s aspect ratio&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_font-stretch.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;font-stretch&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Determines the amount to stretch the current font&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_font-style.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;font-style&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the style of the face, either normal or some type of slanted style&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_font-variant.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;font-variant&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines a font to be in small caps&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_font-weight.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;font-weight&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the font weight . if a number is used, it must be a multiple of 100 between 100 and 900; 400 is normal, 700 is the same as the keyword bold&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_height.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;height&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the height of an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_left.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;left&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Used with the&amp;nbsp;&lt;i&gt;position&lt;/i&gt;&amp;nbsp;property to place the left edge of an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_letter-spacing.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;letter-spacing&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Inserts additional space between text characters&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_line-height.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;line-height&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the distance between adjacent text baselines&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_list-style.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;list-style&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines list-related styles using any of the values for:&lt;ul&gt;
&lt;li&gt;list-style-image&lt;/li&gt;
&lt;li&gt;liststyle-position&lt;/li&gt;
&lt;li&gt;list-style-type&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_list-style-image.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;list-style-image&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines an image to be used as a list item&#39;s marker, in lieu of the value for:&lt;ul&gt;
&lt;li&gt;list-style-type&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_list-style-image.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;list-style-position&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Indents or extends (default) a list item&#39;s marker with respect to the item&#39;s content&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_list-style-type.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;list-style-type&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines a list item&#39;s marker either for unordered lists (circle, disc, or square) or for ordered lists (decimal, loweralpha, lower-roman, none, upper-alpha, or upper-roman)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_margin.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;margin&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines all four of an element&#39;s margins&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_margin-bottom.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;margin-bottom&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the bottom margin of an element. Default value is 0.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_margin-left.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;margin-left&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the left margin of an element. Default value is 0.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_margin-right.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;margin-right&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the right margin of an element. Default value is 0.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_margin-top.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;margin-top&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the top margin of an element. Default value is 0.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_marker-offset.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;marker-offset&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;The marker-offset property can be used in bulleted lists for specifying the distance between the nearest border edges of a marker box (or bullet) and its associated principal box.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_marks.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;marks&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;The marks property is used to set crop marks and cross marks on paged media. This is used with the @page rule.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_max-height.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;max-height&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;max-height property is used to constrain the height of an element.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_max-width.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;max-width&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;max-width property is used to set the maximum width of an element.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_min-height.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;min-height&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;min-height property is used to constrain the height of an element.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_min-width.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;min-width&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;min-width property is used to constrain the width of an element.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_orphans.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;orphans&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the minimum number of lines allowed in an orphaned paragraph fragment&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_outline.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;outline&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;The outline property is a shorthand property to specify all outline properties.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_outline-color.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;outline-color&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;The outline-color property is used to specify the color of the outline. Note that, unlike the border property, outline does not take up extra space and it can be non-rectangular.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_outline-style.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;outline-color-style&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;The outline-style property is used to specify the style of the outline. Note that, unlike the border property, outline does not take up extra space and it can be non-rectangular.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_outline-width.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;outline-width&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;The outline-color property is used to specify the color of the outline. Note that, unlike the border property, outline does not take up extra space and it can be non-rectangular.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_overflow.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;overflow&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Determines how overflow content is rendered&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_padding.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;padding&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines all four padding amounts around an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_padding-bottom.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;padding-bottom&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the bottom padding of an element. Default value is 0&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_padding-left.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;padding-left&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the left padding of an element. Default value is 0&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_padding-right.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;padding-right&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the right padding of an element. Default value is 0&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_padding-top.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;padding-top&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the top padding of an element. Default value is 0&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_page.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;page&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Associates a named page layout with an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_page-break-after.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;page-break-after&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Forces or suppresses page breaks after an element.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_page-break-before.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;page-break-before&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Forces or suppresses page breaks before an element.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_page-break-inside.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;page-break-inside&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Suppresses page breaks within an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pause.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;pause&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;The pause property is CSS shorthand for specifying shorthand property for specifying pauses in aural media.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pause-after.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;pause-after&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Pauses a media after speaking an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pause-before.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;pause-before&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Pauses a media before speaking an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pitch.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;pitch&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the average pitch of an element&#39;s spoken content&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pitch-range.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;pitch-range&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the range of the pitch, from 0 (flat) to 100 (broad); default is 50&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_play-during.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;play-during&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;If a URL is provided, it is played during an element&#39;s spoken content . specifying&amp;nbsp;&lt;i&gt;repeat&lt;/i&gt;&amp;nbsp;loops the audio;&amp;nbsp;&lt;i&gt;mix&lt;/i&gt;&amp;nbsp;causes it to mix with, rather than replace, other background audio.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_position.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;position&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the positioning model for an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_quotes.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;quotes&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the quote symbols used to quote text&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_richness.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;richness&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the richness of the voice, from 0 (flat) to 100 (mellifluous); default is 50&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_right.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;right&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Used with the&amp;nbsp;&lt;i&gt;position&lt;/i&gt;&amp;nbsp;property to place the right edge of an element.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_size.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;size&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;The size property is used in paged media to specify the size of the page.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_speak.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;speak&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Determines how an element&#39;s content is spoken.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_speak-header.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;speak-header&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Determines if table headers are spoken once for each row or column or each time a cell is spoken.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_speak-numeral.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;speak-numeral&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Determines how numerals are spoken&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_speak-punctuation.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;speak-punctuation&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Determines if punctuation is spoken or used for inflection&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_speech-rate.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;speech-rate&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the rate of speech; a number sets the rate in words per minute&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_stress.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;stress&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the stress of the voice, from 0 (catatonic) to 100 (hyperactive); default is 50.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_table-layout.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;table-layout&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Determines the table-rendering algorithm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_text-align.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;text-align&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the text alignment style for an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_text-decoration.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;text-decoration&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines any decoration for the text; values may be combined&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_text-indent.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;text-indent&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the indentation of the first line of text in an element; default is 0&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_text-shadow.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;text-shadow&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Creates text drop shadows of varying colors and offsets&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_text-transform.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;text-transform&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Transforms the text in the element accordingly&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_top.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;top&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Used with the&amp;nbsp;&lt;i&gt;position&lt;/i&gt;&amp;nbsp;property to place the top edge of an element.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_vertical-align.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;vertical-align&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the vertical positioning of an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_visibility.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;visibility&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Determines if an element is visible in the document or table&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_voice-family.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;voice-family&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Selects a named voice family to speak an element&#39;s content&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_volume.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;volume&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the volume of spoken content; numeric values range from 0 to 100&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_white-space.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;white-space&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines how whitespace within an element is handled&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_widows.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;widows&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the minimum number of lines allowed in a widowed paragraph fragment&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_width.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;width&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Defines the width of an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_word-spacing.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;word-spacing&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Inserts additional space between words&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_z-index.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;z-index&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Sets the rendering layer for the current element.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h1 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 18px; font-weight: normal; line-height: 1.5; margin-bottom: 0px;&quot;&gt;
Pseudo-classes &amp;amp; Pseudo-elements:&lt;/h1&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;3&quot; cellspacing=&quot;0&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th style=&quot;background-color: #cdcdcd; border-collapse: collapse; border: 1px solid rgb(170, 170, 170);&quot; width=&quot;145&quot;&gt;Property&lt;/th&gt;&lt;th style=&quot;background-color: #cdcdcd; border-collapse: collapse; border: 1px solid rgb(170, 170, 170);&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pseudo-class-active.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;:active&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Use this class to add special effect to an activated element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pseudo-class-focus.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;:focus&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Use this class to add special effect to an element while the element has focus&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pseudo-class-hover.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;:hover&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Use this class to add special effect to an element when you mouse over it&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pseudo-class-link.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;:link&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Use this class to add special effect to an unvisited link&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pseudo-class-visited.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;:visited&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Use this class to add special effect to a visited link&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pseudo-class-first-child.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;:first-child&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Use this class to add special effect to an element that is the first child of some other element.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pseudo-class-lang.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;:lang&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Use this class to specify a language to use in a specified element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pseudo-element-first-letter.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;:first-letter&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Use this element to add special effect to the first letter of a text&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pseudo-element-first-line.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;:first-line&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Use this element to add special effect to the first line of a text&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pseudo-element-before.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;:before&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Use this element to insert some content before an element&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;a href=&quot;http://www.tutorialspoint.com/css/css_pseudo-element-before.htm&quot; style=&quot;background-color: transparent; color: #900b09;&quot;&gt;:after&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;Use this element to insert some content after an element&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/5570452438202257582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/css2-reference-guide.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/5570452438202257582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/5570452438202257582'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/css2-reference-guide.html' title='CSS2 Reference Guide'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-6154512076150769417</id><published>2014-04-07T19:29:00.001-07:00</published><updated>2014-04-07T19:29:35.249-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array unshift() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;unshift()&lt;/b&gt;&amp;nbsp;method adds one or more elements to the beginning of an array and returns the new length of the array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.unshift( element1, ..., elementN );
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;element1, ..., elementN&lt;/b&gt;&amp;nbsp;: The elements to add to the front of the array.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns the length of the new array. This returns undefined in IE browser.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array unshift Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
var arr = new Array(&quot;orange&quot;, &quot;mango&quot;, &quot;banana&quot;, &quot;sugar&quot;);

var length = arr.unshift(&quot;water&quot;);
document.write(&quot;Returned array is : &quot; + arr );
document.write(&quot;&amp;lt;br /&amp;gt; Length of the array is : &quot; + length );

&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;Returned array is : water,orange,mango,banana,sugar
Length of the array is : 5 &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/6154512076150769417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-unshift-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/6154512076150769417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/6154512076150769417'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-unshift-method.html' title='Javascript Array unshift() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-7259857903109177988</id><published>2014-04-07T19:28:00.003-07:00</published><updated>2014-04-07T19:28:52.626-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array toString() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;toString()&lt;/b&gt;&amp;nbsp;method returns a string representing the source code of the specified array and its elements.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.toString();
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;NA&lt;/b&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns a string representing the array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array toString Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
var arr = new Array(&quot;orange&quot;, &quot;mango&quot;, &quot;banana&quot;, &quot;sugar&quot;);

var str = arr.toString();
document.write(&quot;Returned string is : &quot; + str );

&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;Returned string is : orange,mango,banana,sugar &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/7259857903109177988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-tostring-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/7259857903109177988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/7259857903109177988'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-tostring-method.html' title='Javascript Array toString() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-3367068566126765741</id><published>2014-04-07T19:28:00.001-07:00</published><updated>2014-04-07T19:28:15.365-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array splice() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;splice()&lt;/b&gt;&amp;nbsp;method changes the content of an array, adding new elements while removing old elements.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.splice(index, howMany, [element1][, ..., elementN]);
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;index&amp;nbsp;&lt;/b&gt;: Index at which to start changing the array.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;howMany&amp;nbsp;&lt;/b&gt;: An integer indicating the number of old array elements to remove. If howMany is 0, no elements are removed.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;element1, ..., elementN&amp;nbsp;&lt;/b&gt;: The elements to add to the array. If you don&#39;t specify any elements, splice simply removes elements from the array.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns the extracted array based on the passed parameters.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array splice Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
var arr = [&quot;orange&quot;, &quot;mango&quot;, &quot;banana&quot;, &quot;sugar&quot;, &quot;tea&quot;];

var removed = arr.splice(2, 0, &quot;water&quot;);
document.write(&quot;After adding 1: &quot; + arr );
document.write(&quot;&amp;lt;br /&amp;gt;removed is: &quot; + removed);

removed = arr.splice(3, 1);
document.write(&quot;&amp;lt;br /&amp;gt;After adding 1: &quot; + arr );
document.write(&quot;&amp;lt;br /&amp;gt;removed is: &quot; + removed);

&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;After adding 1: orange,mango,water,banana,sugar,tea
removed is: 
After adding 1: orange,mango,water,sugar,tea
removed is: banana &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/3367068566126765741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-splice-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/3367068566126765741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/3367068566126765741'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-splice-method.html' title='Javascript Array splice() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-423028928867693644</id><published>2014-04-07T19:27:00.003-07:00</published><updated>2014-04-07T19:27:43.672-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array sort() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;sort()&lt;/b&gt;&amp;nbsp;method sorts the elements of an array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.sort( compareFunction );
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;compareFunction&lt;/b&gt;&amp;nbsp;: Specifies a function that defines the sort order. If omitted, the array is sorted lexicographically.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns a sorted array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array sort Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
var arr = new Array(&quot;orange&quot;, &quot;mango&quot;, &quot;banana&quot;, &quot;sugar&quot;);

var sorted = arr.sort();
document.write(&quot;Returned string is : &quot; + sorted );

&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;Returned array is : banana,mango,orange,sugar &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/423028928867693644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-sort-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/423028928867693644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/423028928867693644'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-sort-method.html' title='Javascript Array sort() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-4342748937988809420</id><published>2014-04-07T19:27:00.001-07:00</published><updated>2014-04-07T19:27:11.730-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array toSource() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;toSource()&lt;/b&gt;&amp;nbsp;method returns a string representing the source code of the array. This method is supported by Mozilla.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.toSource();
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;NA&lt;/b&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns a string representing the source code of the array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array toSource Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
var arr = new Array(&quot;orange&quot;, &quot;mango&quot;, &quot;banana&quot;, &quot;sugar&quot;);

var str = arr.toSource();
document.write(&quot;Returned string is : &quot; + str );

&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;Returned string is : [&quot;orange&quot;, &quot;mango&quot;, &quot;banana&quot;, &quot;sugar&quot;]&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/4342748937988809420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-tosource-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/4342748937988809420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/4342748937988809420'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-tosource-method.html' title='Javascript Array toSource() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-7066980791539937385</id><published>2014-04-07T19:26:00.005-07:00</published><updated>2014-04-07T19:26:40.976-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array some() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;some()&lt;/b&gt;&amp;nbsp;method tests whether some element in the array passes the test implemented by the provided function.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.some(callback[, thisObject]);
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;callback&amp;nbsp;&lt;/b&gt;: Function to test for each element.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;thisObject&amp;nbsp;&lt;/b&gt;: Object to use as this when executing callback.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
If some element pass the test then it returns true otherwise false.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Compatibility:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This method is a JavaScript extension to the ECMA-262 standard; as such it may not be present in other implementations of the standard. To make it work you need to add following code at the top of your script:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;if (!Array.prototype.some)
{
  Array.prototype.some = function(fun /*, thisp*/)
  {
    var len = this.length;
    if (typeof fun != &quot;function&quot;)
      throw new TypeError();

    var thisp = arguments[1];
    for (var i = 0; i &amp;lt; len; i++)
    {
      if (i in this &amp;amp;&amp;amp;
          fun.call(thisp, this[i], i, this))
        return true;
    }

    return false;
  };
}
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array some Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
if (!Array.prototype.some)
{
  Array.prototype.some = function(fun /*, thisp*/)
  {
    var len = this.length;
    if (typeof fun != &quot;function&quot;)
      throw new TypeError();

    var thisp = arguments[1];
    for (var i = 0; i &amp;lt; len; i++)
    {
      if (i in this &amp;amp;&amp;amp;
          fun.call(thisp, this[i], i, this))
        return true;
    }

    return false;
  };
}

function isBigEnough(element, index, array) {
  return (element &amp;gt;= 10);
}

var retval = [2, 5, 8, 1, 4].some(isBigEnough);
document.write(&quot;Returned value is : &quot; + retval );

var retval = [12, 5, 8, 1, 4].some(isBigEnough);
document.write(&quot;&amp;lt;br /&amp;gt;Returned value is : &quot; + retval );
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;Returned value is : false
Returned value is : true &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/7066980791539937385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-some-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/7066980791539937385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/7066980791539937385'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-some-method.html' title='Javascript Array some() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-9071782667418663771</id><published>2014-04-07T19:26:00.003-07:00</published><updated>2014-04-07T19:26:18.948-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array slice() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;slice()&lt;/b&gt;&amp;nbsp;method extracts a section of an array and returns a new array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.slice( begin [,end] );
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;begin&amp;nbsp;&lt;/b&gt;: Zero-based index at which to begin extraction. As a negative index, start indicates an offset from the end of the sequence.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;end&amp;nbsp;&lt;/b&gt;: Zero-based index at which to end extraction.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns the extracted array based on the passed parameters.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array slice Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
var arr = [&quot;orange&quot;, &quot;mango&quot;, &quot;banana&quot;, &quot;sugar&quot;, &quot;tea&quot;];
document.write(&quot;arr.slice( 1, 2) : &quot; + arr.slice( 1, 2) ); 
document.write(&quot;&amp;lt;br /&amp;gt;arr.slice( 1, 3) : &quot; + arr.slice( 1, 3) ); 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;arr.slice( 1, 2) : mango
arr.slice( 1, 3) : mango,banana &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/9071782667418663771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-slice-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/9071782667418663771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/9071782667418663771'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-slice-method.html' title='Javascript Array slice() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-3482810046201410573</id><published>2014-04-07T19:26:00.001-07:00</published><updated>2014-04-07T19:26:00.659-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array shift() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;shift()&lt;/b&gt;&amp;nbsp;method removes the first element from an array and returns that element.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.shift();
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;NA&lt;/b&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns the removed single value of the array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array shift Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
var element = [105, 1, 2, 3].shift();
document.write(&quot;Removed element is : &quot; + element ); 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;Removed element is : 105 &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/3482810046201410573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-shift-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/3482810046201410573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/3482810046201410573'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-shift-method.html' title='Javascript Array shift() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-5699469035798544051</id><published>2014-04-07T19:25:00.003-07:00</published><updated>2014-04-07T19:25:42.426-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array reverse() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;reverse()&lt;/b&gt;&amp;nbsp;method reverses the element of an array. The first array element becomes the last and the last becomes the first.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.reverse();
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;NA&lt;/b&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns the reversed single value of the array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array reverse Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
var arr = [0, 1, 2, 3].reverse();
document.write(&quot;Reversed array is : &quot; + arr ); 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;Reversed array is : 3,2,1,0 &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/5699469035798544051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-reverse-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/5699469035798544051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/5699469035798544051'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-reverse-method.html' title='Javascript Array reverse() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-2848752397642151445</id><published>2014-04-07T19:25:00.001-07:00</published><updated>2014-04-07T19:25:22.622-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array reduce() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;reduce()&lt;/b&gt;&amp;nbsp;method applies a function simultaneously against two values of the array (from left-to-right) as to reduce it to a single value.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.reduce(callback[, initialValue]);
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;callback :&amp;nbsp;&lt;/b&gt;Function to execute on each value in the array.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;initialValue :&amp;nbsp;&lt;/b&gt;Object to use as the first argument to the first call of the callback.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns the reduced single value of the array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Compatibility:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This method is a JavaScript extension to the ECMA-262 standard; as such it may not be present in other implementations of the standard. To make it work you need to add following code at the top of your script:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;if (!Array.prototype.reduce)
{
  Array.prototype.reduce = function(fun /*, initial*/)
  {
    var len = this.length;
    if (typeof fun != &quot;function&quot;)
      throw new TypeError();

    // no value to return if no initial value and an empty array
    if (len == 0 &amp;amp;&amp;amp; arguments.length == 1)
      throw new TypeError();

    var i = 0;
    if (arguments.length &amp;gt;= 2)
    {
      var rv = arguments[1];
    }
    else
    {
      do
      {
        if (i in this)
        {
          rv = this[i++];
          break;
        }

        // if array contains no values, no initial value to return
        if (++i &amp;gt;= len)
          throw new TypeError();
      }
      while (true);
    }

    for (; i &amp;lt; len; i++)
    {
      if (i in this)
        rv = fun.call(null, rv, this[i], i, this);
    }

    return rv;
  };
}
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array reduce Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
if (!Array.prototype.reduce)
{
  Array.prototype.reduce = function(fun /*, initial*/)
  {
    var len = this.length;
    if (typeof fun != &quot;function&quot;)
      throw new TypeError();

    // no value to return if no initial value and an empty array
    if (len == 0 &amp;amp;&amp;amp; arguments.length == 1)
      throw new TypeError();

    var i = 0;
    if (arguments.length &amp;gt;= 2)
    {
      var rv = arguments[1];
    }
    else
    {
      do
      {
        if (i in this)
        {
          rv = this[i++];
          break;
        }

        // if array contains no values, no initial value to return
        if (++i &amp;gt;= len)
          throw new TypeError();
      }
      while (true);
    }

    for (; i &amp;lt; len; i++)
    {
      if (i in this)
        rv = fun.call(null, rv, this[i], i, this);
    }

    return rv;
  };
}

var total = [0, 1, 2, 3].reduce(function(a, b){ return a + b; });
document.write(&quot;total is : &quot; + total ); 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;total is : 6&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/2848752397642151445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-reduce-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/2848752397642151445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/2848752397642151445'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-reduce-method.html' title='Javascript Array reduce() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-8040093033260188675</id><published>2014-04-07T19:24:00.007-07:00</published><updated>2014-04-07T19:24:58.493-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array push() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;push()&lt;/b&gt;&amp;nbsp;method appends the given element(s) in the last of the array and returns the length of the new array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.push(element1, ..., elementN);
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;element1, ..., elementN:&amp;nbsp;&lt;/b&gt;The elements to add to the end of the array.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns the length of the new array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array push Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
var numbers = new Array(1, 4, 9);

var length = numbers.push(10);
document.write(&quot;new numbers is : &quot; + numbers ); 

length = numbers.push(20);
document.write(&quot;&amp;lt;br /&amp;gt;new numbers is : &quot; + numbers ); 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;new numbers is : 1,4,9,10
new numbers is : 1,4,9,10,20 &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/8040093033260188675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-push-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/8040093033260188675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/8040093033260188675'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-push-method.html' title='Javascript Array push() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-2841158580063462474</id><published>2014-04-07T19:24:00.005-07:00</published><updated>2014-04-07T19:24:39.385-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array pop() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;pop()&lt;/b&gt;&amp;nbsp;method removes the last element from an array and returns that element.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.pop();
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;NA&lt;/b&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns the removed element from the array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array pop Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
var numbers = [1, 4, 9];

var element = numbers.pop();
document.write(&quot;element is : &quot; + element ); 

var element = numbers.pop();
document.write(&quot;&amp;lt;br /&amp;gt;element is : &quot; + element ); 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;element is : 9
element is : 4  &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/2841158580063462474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-pop-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/2841158580063462474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/2841158580063462474'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-pop-method.html' title='Javascript Array pop() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-4805349674110786276</id><published>2014-04-07T19:24:00.003-07:00</published><updated>2014-04-07T19:24:19.662-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array map() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;map()&lt;/b&gt;&amp;nbsp;method creates a new array with the results of calling a provided function on every element in this array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.map(callback[, thisObject]);
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;callback&amp;nbsp;&lt;/b&gt;: Function that produces an element of the new Array from an element of the current one.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;thisObject&amp;nbsp;&lt;/b&gt;: Object to use as this when executing callback.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns created array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Compatibility:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This method is a JavaScript extension to the ECMA-262 standard; as such it may not be present in other implementations of the standard. To make it work you need to add following code at the top of your script:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;if (!Array.prototype.map)
{
  Array.prototype.map = function(fun /*, thisp*/)
  {
    var len = this.length;
    if (typeof fun != &quot;function&quot;)
      throw new TypeError();

    var res = new Array(len);
    var thisp = arguments[1];
    for (var i = 0; i &amp;lt; len; i++)
    {
      if (i in this)
        res[i] = fun.call(thisp, this[i], i, this);
    }

    return res;
  };
}
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array map Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
if (!Array.prototype.map)
{
  Array.prototype.map = function(fun /*, thisp*/)
  {
    var len = this.length;
    if (typeof fun != &quot;function&quot;)
      throw new TypeError();

    var res = new Array(len);
    var thisp = arguments[1];
    for (var i = 0; i &amp;lt; len; i++)
    {
      if (i in this)
        res[i] = fun.call(thisp, this[i], i, this);
    }

    return res;
  };
}

var numbers = [1, 4, 9];
var roots = numbers.map(Math.sqrt);

document.write(&quot;roots is : &quot; + roots ); 

&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;roots is : 1,2,3  &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/4805349674110786276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-map-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/4805349674110786276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/4805349674110786276'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-map-method.html' title='Javascript Array map() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-8607719195730575620</id><published>2014-04-07T19:24:00.001-07:00</published><updated>2014-04-07T19:24:00.668-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array lastIndexOf() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;lastIndexOf()&lt;/b&gt;&amp;nbsp;method returns the last index at which a given element can be found in the array, or -1 if it is not present. The array is searched backwards, starting at&lt;i&gt;fromIndex&lt;/i&gt;.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.lastIndexOf(searchElement[, fromIndex]);
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;searchElement&amp;nbsp;&lt;/b&gt;: Element to locate in the array.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;fromIndex&amp;nbsp;&lt;/b&gt;: The index at which to start searching backwards. Defaults to the array&#39;s length, i.e. the whole array will be searched. If the index is greater than or equal to the length of the array, the whole array will be searched. If negative, it is taken as the offset from the end of the array.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns index of the found element from the last.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Compatibility:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This method is a JavaScript extension to the ECMA-262 standard; as such it may not be present in other implementations of the standard. To make it work you need to add following code at the top of your script:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;if (!Array.prototype.lastIndexOf)
{
  Array.prototype.lastIndexOf = function(elt /*, from*/)
  {
    var len = this.length;

    var from = Number(arguments[1]);
    if (isNaN(from))
    {
      from = len - 1;
    }
    else
    {
      from = (from &amp;lt; 0)
           ? Math.ceil(from)
           : Math.floor(from);
      if (from &amp;lt; 0)
        from += len;
      else if (from &amp;gt;= len)
        from = len - 1;
    }

    for (; from &amp;gt; -1; from--)
    {
      if (from in this &amp;amp;&amp;amp;
          this[from] === elt)
        return from;
    }
    return -1;
  };
}
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array lastIndexOf Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
if (!Array.prototype.lastIndexOf)
{
  Array.prototype.lastIndexOf = function(elt /*, from*/)
  {
    var len = this.length;

    var from = Number(arguments[1]);
    if (isNaN(from))
    {
      from = len - 1;
    }
    else
    {
      from = (from &amp;lt; 0)
           ? Math.ceil(from)
           : Math.floor(from);
      if (from &amp;lt; 0)
        from += len;
      else if (from &amp;gt;= len)
        from = len - 1;
    }

    for (; from &amp;gt; -1; from--)
    {
      if (from in this &amp;amp;&amp;amp;
          this[from] === elt)
        return from;
    }
    return -1;
  };
}

var index = [12, 5, 8, 130, 44].lastIndexOf(8);
document.write(&quot;index is : &quot; + index ); 

var index = [12, 5, 8, 130, 44, 5].lastIndexOf(5);
document.write(&quot;&amp;lt;br /&amp;gt;index is : &quot; + index ); 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;index is : 2
index is : 5  &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/8607719195730575620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-lastindexof-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/8607719195730575620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/8607719195730575620'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-lastindexof-method.html' title='Javascript Array lastIndexOf() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-1458772730387669268</id><published>2014-04-07T19:23:00.003-07:00</published><updated>2014-04-07T19:23:39.464-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array join() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;join()&lt;/b&gt;&amp;nbsp;method joins all elements of an array into a string.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.join(separator);
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;separator&amp;nbsp;&lt;/b&gt;: Specifies a string to separate each element of the array. If omitted, the array elements are separated with a comma.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns a string after joining all the array elements.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array join Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;

var arr = new Array(&quot;First&quot;,&quot;Second&quot;,&quot;Third&quot;);

var str = arr.join();
document.write(&quot;str : &quot; + str ); 

var str = arr.join(&quot;, &quot;);
document.write(&quot;&amp;lt;br /&amp;gt;str : &quot; + str ); 

var str = arr.join(&quot; + &quot;);
document.write(&quot;&amp;lt;br /&amp;gt;str : &quot; + str ); 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;str : First,Second,Third
str : First, Second, Third
str : First + Second + Third  &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/1458772730387669268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-join-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/1458772730387669268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/1458772730387669268'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-join-method.html' title='Javascript Array join() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-8006970716034174796</id><published>2014-04-07T19:23:00.001-07:00</published><updated>2014-04-07T19:23:18.196-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array indexOf() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;indexOf()&lt;/b&gt;&amp;nbsp;method returns the first index at which a given element can be found in the array, or -1 if it is not present.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.indexOf(searchElement[, fromIndex]);
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;searchElement&amp;nbsp;&lt;/b&gt;: Element to locate in the array.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;fromIndex&amp;nbsp;&lt;/b&gt;: The index at which to begin the search. Defaults to 0, i.e. the whole array will be searched. If the index is greater than or equal to the length of the array, -1 is returned.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns the index of the found element.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Compatibility:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This method is a JavaScript extension to the ECMA-262 standard; as such it may not be present in other implementations of the standard. To make it work you need to add following code at the top of your script:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;if (!Array.prototype.indexOf)
{
  Array.prototype.indexOf = function(elt /*, from*/)
  {
    var len = this.length;

    var from = Number(arguments[1]) || 0;
    from = (from &amp;lt; 0)
         ? Math.ceil(from)
         : Math.floor(from);
    if (from &amp;lt; 0)
      from += len;

    for (; from &amp;lt; len; from++)
    {
      if (from in this &amp;amp;&amp;amp;
          this[from] === elt)
        return from;
    }
    return -1;
  };
}
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array indexOf Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
if (!Array.prototype.indexOf)
{
  Array.prototype.indexOf = function(elt /*, from*/)
  {
    var len = this.length;

    var from = Number(arguments[1]) || 0;
    from = (from &amp;lt; 0)
         ? Math.ceil(from)
         : Math.floor(from);
    if (from &amp;lt; 0)
      from += len;

    for (; from &amp;lt; len; from++)
    {
      if (from in this &amp;amp;&amp;amp;
          this[from] === elt)
        return from;
    }
    return -1;
  };
}
var index = [12, 5, 8, 130, 44].indexOf(8);
document.write(&quot;index is : &quot; + index ); 

var index = [12, 5, 8, 130, 44].indexOf(13);
document.write(&quot;&amp;lt;br /&amp;gt;index is : &quot; + index ); 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;index is : 2
index is : -1 &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/8006970716034174796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-indexof-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/8006970716034174796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/8006970716034174796'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-indexof-method.html' title='Javascript Array indexOf() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-3366128566761200344</id><published>2014-04-07T19:22:00.005-07:00</published><updated>2014-04-07T19:22:55.821-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array forEach() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;forEach()&lt;/b&gt;&amp;nbsp;method calls a function for each element in the array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.forEach(callback[, thisObject]);
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;callback&amp;nbsp;&lt;/b&gt;: Function to test each element of the array.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;thisObject&amp;nbsp;&lt;/b&gt;: Object to use as this when executing callback.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns created array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Compatibility:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This method is a JavaScript extension to the ECMA-262 standard; as such it may not be present in other implementations of the standard. To make it work you need to add following code at the top of your script:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;if (!Array.prototype.forEach)
{
  Array.prototype.forEach = function(fun /*, thisp*/)
  {
    var len = this.length;
    if (typeof fun != &quot;function&quot;)
      throw new TypeError();

    var thisp = arguments[1];
    for (var i = 0; i &amp;lt; len; i++)
    {
      if (i in this)
        fun.call(thisp, this[i], i, this);
    }
  };
}
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array forEach Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
if (!Array.prototype.forEach)
{
  Array.prototype.forEach = function(fun /*, thisp*/)
  {
    var len = this.length;
    if (typeof fun != &quot;function&quot;)
      throw new TypeError();

    var thisp = arguments[1];
    for (var i = 0; i &amp;lt; len; i++)
    {
      if (i in this)
        fun.call(thisp, this[i], i, this);
    }
  };
}

function printBr(element, index, array) {
  document.write(&quot;&amp;lt;br /&amp;gt;[&quot; + index + &quot;] is &quot; + element ); 
}

[12, 5, 8, 130, 44].forEach(printBr);
  
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;[0] is 12
[1] is 5
[2] is 8
[3] is 130
[4] is 44 &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/3366128566761200344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-foreach-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/3366128566761200344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/3366128566761200344'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-foreach-method.html' title='Javascript Array forEach() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-7549475544514439617</id><published>2014-04-07T19:22:00.003-07:00</published><updated>2014-04-07T19:22:34.673-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array filter() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;filter()&lt;/b&gt;&amp;nbsp;method creates a new array with all elements that pass the test implemented by the provided function.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.filter(callback[, thisObject]);
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;callback&amp;nbsp;&lt;/b&gt;: Function to test each element of the array.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;thisObject&amp;nbsp;&lt;/b&gt;: Object to use as this when executing callback.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns created array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Compatibility:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This method is a JavaScript extension to the ECMA-262 standard; as such it may not be present in other implementations of the standard. To make it work you need to add following code at the top of your script:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;if (!Array.prototype.filter)
{
  Array.prototype.filter = function(fun /*, thisp*/)
  {
    var len = this.length;
    if (typeof fun != &quot;function&quot;)
      throw new TypeError();

    var res = new Array();
    var thisp = arguments[1];
    for (var i = 0; i &amp;lt; len; i++)
    {
      if (i in this)
      {
        var val = this[i]; // in case fun mutates this
        if (fun.call(thisp, val, i, this))
          res.push(val);
      }
    }

    return res;
  };
}
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array filter Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
if (!Array.prototype.filter)
{
  Array.prototype.filter = function(fun /*, thisp*/)
  {
    var len = this.length;
    if (typeof fun != &quot;function&quot;)
      throw new TypeError();

    var res = new Array();
    var thisp = arguments[1];
    for (var i = 0; i &amp;lt; len; i++)
    {
      if (i in this)
      {
        var val = this[i]; // in case fun mutates this
        if (fun.call(thisp, val, i, this))
          res.push(val);
      }
    }

    return res;
  };
}

function isBigEnough(element, index, array) {
  return (element &amp;gt;= 10);
}

var filtered  = [12, 5, 8, 130, 44].filter(isBigEnough);
document.write(&quot;Filtered Value : &quot; + filtered ); 
  
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;Filtered Value : 12,130,44 &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/7549475544514439617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-filter-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/7549475544514439617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/7549475544514439617'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-filter-method.html' title='Javascript Array filter() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-7920373732689087242</id><published>2014-04-07T19:22:00.001-07:00</published><updated>2014-04-07T19:22:13.541-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array every Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;every&lt;/b&gt;&amp;nbsp;method tests whether all elements in the array pass the test implemented by the provided function.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.every(callback[, thisObject]);
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;callback&amp;nbsp;&lt;/b&gt;: Function to test for each element.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;thisObject&amp;nbsp;&lt;/b&gt;: Object to use as this when executing callback.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns true if every element in this array satisfies the provided testing function.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Compatibility:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This method is a JavaScript extension to the ECMA-262 standard; as such it may not be present in other implementations of the standard. To make it work you need to add following code at the top of your script:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;if (!Array.prototype.every)
{
  Array.prototype.every = function(fun /*, thisp*/)
  {
    var len = this.length;
    if (typeof fun != &quot;function&quot;)
      throw new TypeError();

    var thisp = arguments[1];
    for (var i = 0; i &amp;lt; len; i++)
    {
      if (i in this &amp;amp;&amp;amp;
          !fun.call(thisp, this[i], i, this))
        return false;
    }

    return true;
  };
}
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array every Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
if (!Array.prototype.every)
{
  Array.prototype.every = function(fun /*, thisp*/)
  {
    var len = this.length;
    if (typeof fun != &quot;function&quot;)
      throw new TypeError();

    var thisp = arguments[1];
    for (var i = 0; i &amp;lt; len; i++)
    {
      if (i in this &amp;amp;&amp;amp;
          !fun.call(thisp, this[i], i, this))
        return false;
    }

    return true;
  };
}
function isBigEnough(element, index, array) {
  return (element &amp;gt;= 10);
}

var passed = [12, 5, 8, 130, 44].every(isBigEnough);
document.write(&quot;First Test Value : &quot; + passed ); 
  
passed = [12, 54, 18, 130, 44].every(isBigEnough);
document.write(&quot;Second Test Value : &quot; + passed ); 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;First Test Value : falseSecond Test Value : true&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/7920373732689087242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-every-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/7920373732689087242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/7920373732689087242'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-every-method.html' title='Javascript Array every Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-4016330133000487430</id><published>2014-04-07T19:21:00.001-07:00</published><updated>2014-04-07T19:21:48.867-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Array"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Javascript Array concat() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Javascript array&amp;nbsp;&lt;b&gt;concat()&lt;/b&gt;&amp;nbsp;method returns a new array comprised of this array joined with two or more arrays.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;array&lt;/i&gt;.concat(value1, value2, ..., valueN);
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;valueN&lt;/b&gt;&amp;nbsp;: Arrays and/or values to concatenate to the resulting array.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Returns the length of the array.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript Array concat Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
   var alpha = [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;];
   var numeric = [1, 2, 3];

   var alphaNumeric = alpha.concat(numeric);
   document.write(&quot;alphaNumeric : &quot; + alphaNumeric ); 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;alphaNumeric : a,b,c,1,2,3 &lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/4016330133000487430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-concat-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/4016330133000487430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/4016330133000487430'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-array-concat-method.html' title='Javascript Array concat() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-814895172527292278</id><published>2014-04-07T19:18:00.001-07:00</published><updated>2014-04-07T19:18:10.207-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="String"/><title type='text'>Javascript String - sup() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This method causes a string to be displayed as a superscript, as if it were in a &amp;lt;sup&amp;gt; tag.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;string&lt;/i&gt;.sup( )
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;NA&lt;/b&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
Returns the string with &amp;lt;sup&amp;gt; tag.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript String sup() Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;

var str = new String(&quot;Hello world&quot;);
alert(str.sup());

&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;sup&amp;gt;Hello world&amp;lt;/sup&amp;gt;&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/814895172527292278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-string-sup-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/814895172527292278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/814895172527292278'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-string-sup-method.html' title='Javascript String - sup() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8813768164895487631.post-558743534341703283</id><published>2014-04-07T19:17:00.005-07:00</published><updated>2014-04-07T19:17:48.177-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><category scheme="http://www.blogger.com/atom/ns#" term="String"/><title type='text'>Javascript String - sub() Method</title><content type='html'>&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Description:&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This method causes a string to be displayed as a subscript, as if it were in a &amp;lt;sub&amp;gt; tag.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Syntax:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&lt;i&gt;string&lt;/i&gt;.sub( )
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
Here is the detail of parameters:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;NA&lt;/b&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Return Value:&lt;/h2&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px;&quot;&gt;
&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;
Returns the string with &amp;lt;sub&amp;gt; tag.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; font-family: Helvetica, Arial, &#39;Liberation Sans&#39;, FreeSans, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 10px; margin-top: 10px;&quot;&gt;
Example:&lt;/h2&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;JavaScript String sub() Method&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;

var str = new String(&quot;Hello world&quot;);
alert(str.sub());

&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; text-align: justify;&quot;&gt;
This will produce following result:&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;src&quot; style=&quot;background-color: #f1f1f1; border-collapse: collapse; border: 1px solid rgb(170, 170, 170); color: black; font-family: verdana, helvetica, arial, sans-serif; font-size: 11px; padding-left: 5px; vertical-align: top; width: 552px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-collapse: collapse; border: 1px solid rgb(170, 170, 170); margin-bottom: 0px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;font-family: &#39;Courier New&#39;, monospace; font-size: 12px;&quot;&gt;&amp;lt;sub&amp;gt;Hello world&amp;lt;/sub&amp;gt;&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wlearncode.blogspot.com/feeds/558743534341703283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-string-sub-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/558743534341703283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8813768164895487631/posts/default/558743534341703283'/><link rel='alternate' type='text/html' href='http://wlearncode.blogspot.com/2014/04/javascript-string-sub-method.html' title='Javascript String - sub() Method'/><author><name>admin</name><uri>http://www.blogger.com/profile/08165669716721139129</uri><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><thr:total>0</thr:total></entry></feed>