Hosting Solutions
mobile_logo Table of Contents

Flat Icons HTML Code Symbols Discovery JavaScript

In this exercise we will show how writing just a few lines of JavaScript will allow you to render, browse and discover the entire set of HTML code symbols and icons.

<style> #icons > div{ display:inline-block; border:1px solid #AAA; padding:20px; text-align:center; } #icons > div > b{ display:block; color:#06C; font-size:50px; } </style> <div id="icons"> <script> /* set low/high range using the numbers below */ for(var i=9985; i < 10175; i++){ document.write("<div>"); document.write("&amp;#"+i+";"); document.write("<b>&#"+i+";</b>"); document.write("</div>"); } </script> </div>

Nuts and Bolts used in the exercise

for - JavaScript Statement write - JavaScript Method style - HTML Element script - HTML Element div - HTML Element b - HTML Element display - CSS Property border - CSS Property padding - CSS Property text-align - CSS Property color - CSS Property font-size - CSS Property

JavaScript Videos

General Programming

Flat Icons HTML Code Symbols Discovery JavaScriptHow to Program Code Syntax Highlighter Using JavaScriptFat Arrow Functions JavaScript Programming TutorialJavaScript Arguments Object Function TutorialJavaScript Storage Interface sessionStorage localStorage TutorialMulti Column Layout Grid Programming TutorialCustom Alert Box Programming TutorialCustom Confirm Box Programming TutorialCustom Prompt Box Programming TutorialChange CSS Class Style className Toggle TutorialPartial Print Document Tutorial HTML div ContentClick Outside Close Menu Box TutorialPercent Math Calculations Programming TutorialDual Image Reveal Control TutorialPage Loading Screen Document Preloader TutorialControl Panel Flyout Menu Windows AnimationsCustom Data Attributes HTML JavaScript CSS TutorialFullscreen API JavaScript Code Examples and SpecificationConsole Log Tutorial Chrome Firefox IE BrowsersToggle Function Click Drop Down Menus TutorialChange Tab Text and Window Title On The Fly TutorialDice Roll Programming Tutorial For Web Browser GamesDynamic Lorem Ipsum Placeholder Text TutorialBest HTML Event Handling addEventListener TutorialsetAttribute removeAttribute Methods TutorialDisabled User Handling Redirect WebsiteCapture Keyboard Input Tutorial HTML ApplicationCapture Keyboard Input Condition Logic TutorialChange Style Sheet Using Tutorial CSS Swap StylesheetWeb Page Overlay Tutorial Transparent CoverLights Out For Earth Day Tutorial Dark Page SwitchWindow Size Responsive CSS Layout Stylesheet Change TutorialRead Mouse Coordinates Pointer Position Tutorial