Category Archives: HTML

Web Development for the iPhone: HTML, CSS & JS Support

Safari and Safari for the iPhone support all HTML elements, including deprecated elements and even some proprietary elements that were never part of any W3C specifications. In addtion, Safari is supporting some HTML5 elements, even though the HTML5 specifications have … Continue reading

Posted in Accessibility, Best Practices, Browsers, Character Entities, contactApp, CSS (including hacks), DTD, firebug, HTML, IE7, InvoiceApp, iPhone, JavaScript, Web Development | 5 Comments

iPhone Screen Orientation: Portrait and Landscape

When you tilt your iPhone, the screen changes orientation. The website you developed for the default portrait orientation may not look good in landscape mode, especially if you developed your page for the 480 (h) x 320 (w) screen. In … Continue reading

Posted in Browsers, Character Entities, HTML, iPhone, JavaScript, Web Development | Tagged | 8 Comments

hover pseudoclass for the iPhone

Since you’re not hovering, there is no hover pseudo class on the iPhone. instead they have touch events. To simulate the :hover pseudo class, include javascript similar to this: var myLinks = document.getElementsByTagName(‘a’); for(var i = 0; i < myLinks.length; … Continue reading

Posted in Best Practices, CSS (including hacks), HTML, IE7, iPhone, JavaScript, Web Development | 8 Comments

XHTML Elements, their parent, children, attributes and default browser presentation

XHTML Elements, their meaning, semantics and attributes <ELEMENT> Element Name Block, Inline, etc. Element’s Parents Element’s Children 3 Browser Presentation Attributes1 Comments Elements occuring outside the body element <!DOCTYPE> Document Type Declaration Not Displayed first line none –   Required. … Continue reading

Posted in Browsers, DTD, HTML, Web Development | 3 Comments

http-equiv: Meta Attribute Values for http-equiv

The http-equiv attribute is used by servers to gather information about a page using the HTTP header. The meta tag’s http-equiv attribute set is similar to a http header. The attribute lets you to send additional information to the browser … Continue reading

Posted in Browsers, HTML, Web Development | 9 Comments

XHTML v. HTML, Strict v. Transitional

Comparing XHTML and HTML, Strict and Transitional Note: Yes, this issue has been rehashed all over the web. I am addressing it because 1) you will be asked this at your next job interview, 2) very little has been written … Continue reading

Posted in Best Practices, DTD, HTML, Web Development | 3 Comments

Javascript, CSS, and (X)HTML entities in numeric order

Named HTML entities in numeric order Below are the entities listed in numeric order with definition and ISO numeric code. CSS ‘content’ does not accept named entities or regular numeric entities such as &#64;, but does render ASCII text and … Continue reading

Posted in Character Entities, HTML, Web Development | 20 Comments

Named HTML Entities in Alphabetical Order

A Á &Aacute; Â &Acirc; ´ &acute; Æ &AElig; À &Agrave; ℵ &alefsym; Α &Alpha; & &amp; ∧ &and; ∠ &ang; Å &Aring; ≈ &asymp; Ã &Atilde; Ä &Auml; B „ &bdquo; Β &Beta; ¦ &brvbar; • &bull; C ∩ … Continue reading

Posted in Character Entities, HTML, Web Development | 1 Comment