What is the proper HTML entity for the “x” in a dimension?

× Unicode: U+00D7 MULTIPLICATION SIGN HTML: ×, × CSS: \00d7 See the Wikipedia article about the multiplication sign: In mathematics, the symbol × (read as times or multiplied by) is primarily used to denote the […] Geometric dimension of an object, such as noting that a room is 10×12 feet in area. Depending on the … Read more

Best HTML5 markup for sidebar

First of all ASIDE is to be used only to denote related content to main content, not for a generic sidebar. Second, one aside for each sidebar only You will have only one aside for each sidebar. Elements of a sidebar are divs or sections inside a aside. I would go with Option 1: Aside … Read more

Semantics and Structure of Name-Value Pairs

Thanks for this interesting question. There are few more things to consider here. What is a pair? Two elements together. So we need a tag for this. Let’s say it is pair tag. <pair></pair> The pair contains the key, and the corresponding value: <pair><key>keyname</key><value>value</value></pair> Then, we need to list the pairs: <pairlist> <pair><key>keyname</key><value>value</value></pair> <pair><key>keyname</key><value>value</value></pair> </pairlist> … Read more

How to semantically provide a caption, title or label for a list in HTML

While there is no caption or heading element structuring your markup effectively can have the same effect. Here are some suggestions: Nested List <ul> <li> Fruit <ul> <li>Apple</li> <li>Pear</li> <li>Organge</li> </ul> </li> </ul> Heading Prior to List <hX>Fruit</hX> <ul> <li>Apple</li> <li>Pear</li> <li>Orange</li> </ul> Definition List <dl> <dt>Fruit</dt> <dd>Apple</dd> <dd>Pear</dd> <dd>Orange</dd> </dl>

Which HTML5 tag should I use to mark up an author’s name?

Both rel=”author” and <address> are designed for this exact purpose. Both are supported in HTML5. The spec tells us that rel=”author” can be used on <link> <a>, and <area> elements. Google also recommends its usage. Combining use of <address> and rel=”author” seems optimal. HTML5 best affords wrapping <article> headlines and bylines info in a <header> … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)