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.

Divide Width of Element Between Child Divs With CSS

I have a varying number of inline-block divs that I want to collectively take up 100% of their parent. Can this …

css layout semantic-markup
Use of profile attribute in HTML head tag

What is the use of profile attributes in the HTML <head> tag? I happened to read about it …

html semantic-markup
What tag should be used for a logo element if the logo is text?

I have read that an <h1> tag is inappropriate for a logo. But if your logo is plain …

html semantic-markup
What is the most semantic way to display a street address in HTML?

I have an address that is going to be displayed on a webpage, but it is not the address for …

html w3c semantic-markup street-address
Placeholder VS Label for input in HTML5

I'm Making a form with multiple inputs where I need to give lable of form element inside input itself and …

forms html accessibility semantic-markup screen-readers
How to semantically tag poem text?

What to use for poem? pre blockquote code something else?

html meta-tags semantics semantic-web semantic-markup
Should I have aside element ouside or inside of main element?

Let's say aside element includes "Oh, by the way …" content such as reading suggestions, advertisements, or cross sells. Is it …

html seo accessibility semantic-markup
When can I safely use the new <main> element in HTML5?

On the 16th December, a HTML5 extension specification for the <main> element was submitted to the W3C …

html semantic-markup specifications
Can I have a logo image inside a nav element?

In the interest of writing semantic and solid markup, can I position a logo image inside a nav element? Right …

html semantic-markup nav
When is it semantically correct to use the hr element?

The HTML5 reference says that The hr element represents a paragraph-level thematic break, e.g. a scene change in a …

css html semantic-markup