Top "Semantic-markup" questions

For questions related to separation of content and presentation of semantic tags, embedding structured metadata into HTML markup using [rdfa], [json], [microdata] or [microformats]. There are four categories of the most common and important semantic elements: document structure, textual meaning, media type and correlation tags.

Is it ok to use <strong> in place of <b> blindly?

Note: I know <b> is presentational and <span style="font-weight:bold> is a better way, and &…

html xhtml accessibility web-standards semantic-markup
Please explain rowspan and colspan, col and colgroup

Can anyone explain rowspan and colspan, col and colgroup? And are these W3C valid and semantically correct? Under which …

css xhtml semantic-markup
Anchor or button

What element should I use for JavaScript actions? Actions that does something like play/pause/stop/new/open/save/print/…

html semantic-markup htmlbutton
How to tag a photo to be used as a thumbnail when a page is linked to on Facebook

When a person posts a link on Facebook, Facebook automatically finds a photo to be used as a thumbnail that …

facebook semantic-web semantic-markup
Is there any guide on "When to use display:block when :inline and when :inline-block" and why?

Do you know any good article on "When to use display:block when :inline and when :inline-block" and why? and …

css xhtml semantic-markup
Select vs Radio Buttons and Checkboxes

What's the semantic difference between using a <select> element containing <option> children and, using an <…

html forms semantic-markup
Is it ok to use cellpadding="2" cellspacing="2" in <table>?

Is it ok to use cellpadding="2" cellspacing="2" in <table>? Or are these not recommended by W3C and …

css xhtml w3c semantic-markup
When we should use <dl> over <ul>?

In what scenarios we should go for <dl> not <ul>? Does it matter for screen reader …

css xhtml w3c semantic-markup screen-readers
Markup for postal addresses

Which HTML5 markup should we use for postal addresses? And which vocabulary could we use for enabling machine-readability? As an …

html semantic-markup street-address vocabulary