New Elements in HTML5 The internet, and the use of the internet, has changed a lot since 1999, when HTML 4.01 became a standard. Today, several elements in HTML 4.01 are obsolete, never used, or not used the way they were intended. All those elements are removed or re-written in …
Read More »HTML5 Introduction
HTML5 is The Latest HTML Standard What is New? New Elements New Attributes Full CSS3 Support Video and Audio 2D/3D Graphics Local Storage Local SQL Database Web Applications Examples in Each Chapter With our HTML editor, you can edit the HTML, and click on a button to view …
Read More »HTML and XHTML
XHTML is HTML written as XML. What Is XHTML? XHTML stands for EXtensible HyperText Markup Language XHTML is almost identical to HTML 4.01 XHTML is a stricter and cleaner version of HTML XHTML is HTML defined as an XML application XHTML is supported by all major browsers. Why XHTML? Many pages on the …
Read More »HTML Uniform Resource Locators
A URL is another word for a web address. A URL can be composed of words, such as “w3schools.com”, or an Internet Protocol (IP) address: 192.68.20.50. Most people enter the name of the website when surfing, because names are easier to remember than numbers. URL – Uniform Resource Locator Web …
Read More »HTML Encoding (Character Sets)
What is Character Encoding? ASCII was the first character encoding standard (also called character set). It define 127 different alphanumeric characters that could be used on the internet. ASCII supported numbers (0-9), English letters (A-Z), and some special characters like ! $ + – ( ) @ < > . ANSI (Windows-1252) …
Read More »HTML Symbols
HTML Symbol Entities HTML entities was described in the previous chapter. HTML symbols like mathematical operators, arrows, technical symbols and shapes, are not present on a normal keyboard. To add these symbols to an HTML page, you can use the HTML entity name. If no entity name exists, you can …
Read More »HTML Entities
Reserved characters in HTML must be replaced with character entities. Characters, not present on your keyboard, can also be replaced by entities. HTML Entities Some characters are reserved in HTML. If you use the less than (<) or greater than (>) signs in your text, the browser might mix them …
Read More »HTML Scripts
JavaScripts make HTML pages more dynamic and interactive. Try it Yourself – Examples Insert a script How to insert a script into an HTML document. Use of the <noscript> tag How to handle browsers that do not support scripting, or have scripting disabled. The HTML Tag The tag is used …
Read More »HTML Color Values
Colors Sorted by HEX Value Colors sorted by color name Color Name HEX Color Shades Mix Black #000000 Shades Mix Navy #000080 Shades Mix DarkBlue #00008B Shades Mix MediumBlue #0000CD Shades Mix Blue #0000FF Shades Mix DarkGreen #006400 Shades Mix Green #008000 Shades …
Read More »HTML Color Names
Color Names Supported by All Browsers 140 color names are defined in the HTML and CSS color specification (17 standard colors plus 123 more). The table below lists them all, along with their hexadecimal values. Tip: The 17 standard colors are: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, …
Read More »HTML Colors
Color Values CSS colors are defined using a hexadecimal (hex) notation for the combination of Red, Green, and Blue color values (RGB). The lowest value that can be given to one of the light sources is 0 (hex 00). The highest value is 255 (hex FF). Hex values are written …
Read More »HTML Iframes
An iframe is used to display a web page within a web page. Syntax for adding an iframe: The URL points to the location of the separate page. Iframe – Set Height and Width The height and width attributes are used to specify the height and width of the iframe. …
Read More »