Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
HTML5 is the fifth revision of and currently the latest version of HTML (HyperText Markup Language). The fifth revision of HTML introduced many new syntactic features such as video, audio, canvas as well as section and article to name a few, with which the content of websites may be better semantically structured.
12
votes
Accepted
Is datetime-local removed from HTML 5.1?
The datetime-local state is part of:
WHATWG’s HTML (Living Standard) (as of 2014-03-14)
W3C’s HTML5 (Candidate Recommendation) from 2014-02-04
W3C’s HTML 5.1 (Working Draft) from 2014-02-04
But it … This was proposed in the mail <input type=datetime-local> HTML5 CR bugs from 2014-01-14. …
9
votes
Accepted
Linking several separated Microdata <div>s together?
You could use the itemref attribute.
From the Microdata (W3C Working Group Note) spec:
4.2 The basic syntax:
Properties that are not descendants of the element with the itemscope attribute can be as …
0
votes
What is the purpose of the section tag
The most important difference is that section plays a role in the outline of the document, div not.
Document 1:
<body>
<h1>foo</h1>
<div>…</div>
<h2>bar</h2>
</body>
Document 2:
<body>
<h1>fo …
2
votes
Is it safe to use multiple h2 tags for a list of products?
If you show product title, price, short description, and image (etc.) for each product in the product listing, you should use headings (resp. sectioning elements).
Each product should be an separate …
1
vote
Can I use RDFa with HTML5?
and RDFa Lite 1.1 specifications for use in HTML5 and XHTML5. … So yes, you can use RDFa in HTML5. …
2
votes
How to mark up a poem in HTML for SEO
For HTML5, a poetry element was proposed (and rejected). In the W3C wiki, there is a discussion about markup for poetic content. …
2
votes
Accepted
When should I use <tag>content</tag> tag style, when <tag attrs> and when <tag attrs />?
The HTML5 spec says about start tags in step 6:
Then, if the element is one of the void elements, or if the element is a foreign element, then there may be a single "/" (U+002F) character. … In XHTML5 or (X)HTML5 polyglot documents, you MUST add the / for void elements. …
2
votes
Accepted
Are Microdata attributes valid on any element?
Yes, you can use every HTML5 element for Microdata …
Microdata defines 5 new attributes for HTML5:
itemid
itemprop
itemref
itemscope
itemtype
Let’s see where they can be used. … (Note that Microdata (W3C Note) refers to the HTML5 spec for defining what a "HTML element" is, so essentially "HTML element" means "HTML5 element". …
1
vote
Use of hgroup tag and how much well for SEO it is?
The hgroup element was removed from HTML5 more than a year ago. … For alternatives, there is now an own section in HTML5:
Subheadings, subtitles, alternative titles and taglines
In short, you should not use heading elements (h1-h6) for the "subtitles" anymore, as they …
3
votes
Accepted
meta attribute, alternatives for SEO optimization
The suggestion doesn’t make sense. You can’t specify meta-keywords in an HTTP header. (Only meta elements with an http-equiv instead of a name attribute can alternatively be specified with HTTP header …
1
vote
Accepted
Combine microdata to optimize website - Is combining OK?
Yes, you may use different vocabularies (like Schema.org and Data-Vocabulary.org) in the same document.
Microdata (in contrast to RDFa) has rather limited support for mixed vocabulary use for the sam …
1
vote
Link child product to parent product when not contained in child element
Yes, itemref can do this, but it has to be used on the element to which the properties should be added to.
So instead of this
<div id="main-product" itemscope itemtype="http://schema.org/Product">
< …
5
votes
Accepted
Schema.org SiteNavigationElement markup
Your questions seem to be:
Can I specify itemprop="url" on li?
Can I specify itemprop="name" on a?
The answer to both of these questions is: No, you should not do that. Microdata defines special …
0
votes
Accepted
Can I use same 'itemtype' in Microdata twice?
No, you should not add several items which are about the same thing on the same page.
If the datePublished is the publication date for your whole page, it has to be nested under WebPage and not unde …
2
votes
Accepted
Correct way of internationalizing links
In HTML5, the alternate link type should be used. … So a link to the French translation could look like:
<a href="…" rel="alternate" hreflang="fr" lang="fr">Français</a>
HTML5 doesn’t offer a way to denote which of the documents is the original one …