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 ...

learn more… | top users | synonyms

0
votes
0answers
2 views

Ussing reCAPTCHA on HTML5 whit contact-form.php [migrated]

I have a website Html5 and try adding the reCaptcha still sending messages without activating the reCaptcha and last night I received over 300 messages a boot. Help me please how to add so that only ...
-1
votes
1answer
21 views

meta attribute, alternatives for SEO optimization [on hold]

I'm working on a web-site that I need to Search Engine Optimize for multiple-languages. I need to provide language specific keywords targeting the crawler. Someone suggested using <meta ...
1
vote
2answers
16 views

Where do I get a list of attribute 'lang' values - what standard covers this, for SEO optimization?

I'm working on a web-site that I need to optimize for multiple-languages. I want to provide support in 3-4 languages, 'en', 'de', 'cn' - the trouble is, I'm not sure what Saudi-Arabia and the gulf ...
1
vote
0answers
20 views

Mathematical model for a webpage layout? [on hold]

While web-programmers surely know CSS/HTML rules by heart, and web-browsers have algorithms to render web-pages, what interests me whether there are any mathematical models or at least formal ...
1
vote
1answer
22 views

Cause a PDF from a website to be viewed automatically, even on phones

I have a PDF on my website. It works fine when on a computer, but on a phone, there is an extra step for the user. After going to the link with the PDF, they then have to click a link to view it. ...
2
votes
3answers
275 views

Using Schema logo markup with SVG images

I've made a logo which is awesome and I've saved it in AI and SVG format. I wish to use the SVG file on the a site as the logo will appear many times all over the site and would be better than saving ...
0
votes
0answers
3 views

Difference between div~div and div:not(:first-of-type)? [migrated]

Is there a difference between div~div and div:not(first-of-type)? Aside from IE6 whatever errors, are there cases where they would do different things?
4
votes
2answers
986 views

Should I use schema.org location tagging on every page?

I have a nicely tagged section on my homepage describing a restaurant's location, city, state, zip, telephone, cuisine type, price and payments accepted. Should I tag any of this info on every other ...
4
votes
1answer
83 views

What are “environment target actions” in Google AdWords HTML5 ads?

Google AdWords documentation for ad formats list several requirements for creating ads in HTML5. One of the requirements is: For environment target actions, timer and multiple exits are not ...
0
votes
0answers
8 views

How can I center my image in white space? [migrated]

How can I center my image in white space? I am using HTML, PHP or CSS. I am not sure of the best approach, but that is what I have involved so far. I only saw how to align an image within text on ...
2
votes
1answer
92 views

Markup for an HTML5 article

So I have the following HTML for an article (in this case a piece of portfolio work) <article class="work"> <div class="col-row clearfix"> <div ...
4
votes
2answers
115 views

Can microdata be implemented in meta tags?

Please consider the following code marked up with attributes to provide microdata: <!DOCTYPE html> <html> <head> <title>Micro data test - Normal ...
4
votes
3answers
1k views

How many H2, h3 h4 are the maximum recommended?

I know that only one H1 is recommended, but what about the other titles? I've read that you can put "as many as required H2 elements to denote sections on the page". Is it correct?
11
votes
5answers
11k views

Chrome refused to execute this JavaScript file

In the head of my HTML page, I have: <script src="https://raw.github.com/cloudhead/less.js/master/dist/less-1.3.3.js"></script> When I load the page in my browser (Google Chrome v ...
0
votes
1answer
262 views

Is this way of using Pushstate SEO friendly?

As discussed in this question in Mauvis Ledford's answer and Pumbaa80's answer, Pushstate has many advantages in comparison to hasbangs. But I would like to discuss a single disadvantage Pushstate ...
0
votes
2answers
55 views

html5 microdata strategy for a planned activity (not physical)

I try to put microdata in a leisure club's planning, which propose various activities (drawing, yoga, english for kids...). My problem is with those weekly activities as microdata event does'nt ...
1
vote
1answer
122 views

mp4 videos are showing up as “corrupt” after uploading them to web server?

I took a sample mp4 video from here and uploaded it to the web server via FileZilla. Once the file was on the web server navigating to it in a browser gives the error when viewed in Mozilla. Video ...
5
votes
2answers
1k views

Schema.org, HTML5 and the datetime format: how do I get it to validate?

Schema.org says this, The opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas ',' ...
0
votes
2answers
58 views

Use of hgroup tag and how much well for SEO it is?

I used hgroup tag like as in section. I want to know that it's well for SEO or not and this is a correct use of hgroup. HTML: <section> <hgroup> <h1>CCTV Camera's ...
2
votes
1answer
203 views

Webmasters hentry error and authorless pages

Within Google Webmasters Search Appearance->Structured data I'm getting a series of errors: Error: Missing required hCard "author". And most of my 44 errors have: Missing: Author Missing: ...
1
vote
3answers
214 views

Website logo text - best tag for SEO purposes?

I'm trying to develop a new website in HTML5 adhering to SEO standards where possible and I'm having a little trouble trying to figure out what tag my site name and slogan should live in. Originally ...
1
vote
2answers
30 views

Can I include title for an HTML5 a element?

Can I add title attribute for "a" element in HTML5? The spec does not mention title attribute for "a" element here http://www.w3.org/TR/html-markup/a.html, so for example, would it be valid to use ...
3
votes
4answers
583 views

Self-referential hreflang attributes for single language website?

I've been told by an SEO company to add a hreflang attribute to every page on a single-language website (ie. 'self-referential' tags), but everything I've read about the hreflang tag, including ...
2
votes
1answer
41 views

Most invariant URI to refer to a HTML5 element from w3.org?

If one is in a situation where you are required to use a URI (simple strings would not do)...how would you refer to the concept of an HTML5 element ("div", "li", etc.)? As a starting point for what ...
6
votes
3answers
3k views

Where do I create the file .htaccess, in order to serve my HTML5 cache manifest file correctly?

From a post on http://diveintohtml5.org/offline.html (Wayback Machine Copy) Your cache manifest file can be located anywhere on your web server, but it must be served with the content type ...
7
votes
3answers
731 views

Should I always use HTML5 Microdata for SEO?

So I've been looking into this HTML 5 Microdata, but I'm not sure if or when it is appropriate to use. I know that if used with rating and you search a website it will pull up things like video rating ...
1
vote
2answers
36 views

Global UTF-encoding, the right way

I'm curious, as to what is the right way to have UTF-8 encoding on all web files All my files (incl. CSS and JS) are made and saved in UTF-8 encoding In PHP, I set the char-set on top of the main ...
4
votes
2answers
158 views

Making HTML5 videos stored on AWS S3 **difficult** to download (because I cant make it impossible)

I am building a website that hosts video's stored on AWS's S3 service. The videos are played thru a HTML5 player we have built. Ive just been asked to make sure "nobody can steal our video's". Now I ...
0
votes
2answers
110 views

What is the replacement for the Web Intents HTML standard?

"Web Intents" were deprecated in Chrome 24 (November/2011) and are no longer supported in any browser: We also gathered a lot of valuable data and feedback from our experimental support for Web ...
0
votes
1answer
157 views

CSS3 animation to start only when page is scrolled to the right place [closed]

I want to show an CSS3 animation with a delay, but it is below the fold of the page, meaning, that animation may start and end before user scrolls to the area where it should perform. How can I set ...
0
votes
1answer
23 views

Bootstrap responsive does not work? [closed]

Can anyone master take a look at my template travel website, I'm new in responsive design and have a template to reference. It was coded in responsive way, but when I open it, nothing happen. This is ...
3
votes
1answer
49 views

Are there any problems with pages from the same site using different doctypes?

After a re-design of some pages in our site, we have the new re-designed pages with doctype HTML5 and all the rest pages (that are not yet redesigned) with doctype XHTML 1.0 Transitional. Does that ...
0
votes
1answer
34 views

the right way of specifying website files in html [closed]

i specify my website's internal files like this for my website: www.mscaspian.com ` but when i validate it with w3c it says there is an error in the last part, '>' . i don't understand why this is ...
2
votes
0answers
35 views

How do you add scroll bars when window's width is reduced [closed]

I have completed a login webpage, which gets distorted when the browser is narrow. I added min-width property to my body tag, but this does not help. How can I keep all the contents fixed when the ...
3
votes
3answers
416 views

Basic semantic rules of CSS (and HTML), right or wrong?

Here is the summary I've recently learnt from discussions on this site (and similar) of 4 basic rules, so please correct me if I'm wrong or misunderstood something: a) Don't use IDs in CSS (or use it ...
1
vote
1answer
53 views

Correct way of internationalizing links

I am interested in a correct way to show search engine that the link is a translation of some content to another language. For example: you have some article written in German. So this is original ...
0
votes
1answer
67 views

Which is more correct: <h1><a>..</a></h1> OR <a><h1>..</h1></a> from SEO point of view?

I read the same question on SO, but it was only addressing HTML complaint point of view. Moreover with HTML5 it does not make so much difference. I assume (without anything to back up my assumption), ...
6
votes
4answers
912 views

Too many duplicate image alt attributes. What to do?

I've got a table. And as you can see below I've got a lot of duplicate alt attributes going on. What is the best way to prevent this but still have valid HTML5 code? <table id="benefits"> ...
0
votes
1answer
35 views

Proper H Tag Usage For SEO [duplicate]

What is the up to date correct usage of the H tags? I was originally told that it was only one H1 tag per page. Now I am being told that you can use more than one h1 tag as long as it is only one ...
1
vote
1answer
37 views

Proper format to markup article author for Google rich snippets and HTML5

The Google guideline Author information in search results tells us that we need to use the following format to link to the article author: <a href="[profile_url]?rel=author">Author</a> ...
1
vote
2answers
125 views

When should I use <tag>content</tag> tag style, when <tag attrs> and when <tag attrs />?

I'm using HTML5. I just a bit confused that some people said "html validator does not like <tag attrs /> tags style". It is obvious that if I need to place some content between opening and ...
6
votes
1answer
468 views

Is datetime-local removed from HTML 5.1?

HTML5 seemingly introduces these two input types: datetime (with a timezone) datetime-local (without a timezone) Even though both are present on the W3C wiki, the HTML 5.1 nightly draft ...
2
votes
2answers
684 views

Responsive design best practice: Duplicate html elements for media querying and SEO impact?

I have a page with, in order of html appearance, a figure tag, headgroup tag, and an article tag. In order to make a page's design responsive using media queries, I need a different order for ...
12
votes
8answers
5k views

Which tool can tidy/indent HTML5? [closed]

I've already spent about 2 hours searching google and trying various tools but either they don't do indent tags per say or they aren't HTML5 compatible such as the famous HTML tidy which was last ...
10
votes
2answers
1k views

Proper usage of <title>, <header>, <h1> and <h2> in a HTML5 website?

I have been studying this subject for several days and have found many conflicting suggestions with regards to search indexing. I am working on a project which has a lot of different pages ranging ...
3
votes
3answers
302 views

we choose to use tables to layout web forms: (how) can we make them valid/accessible?

we are building a site with dozens of very complex forms and we decided that the best solution for us is to make them using <table> but we are worried about accessibility and standards. what i ...
5
votes
1answer
67 views

Which browsers do not support user-defined tags?

I recently added HTML5 <nav> and <footer> elements to a page, thinking that HTML5-capable browsers would use them for semantic things like navigation, while older browsers would see them ...
9
votes
3answers
2k views

Can I use <link> tags in the body of an HTML document?

Can I use <link> tags in the body of an HTML page? I tried to find the answer to this question, but found contradictory information. When adding Schema.org microdata markup to an HTML page, I ...
2
votes
1answer
84 views

Can changing websites from XHTML 1.0 to HTML5 affect rendering in older browsers like Internet Explorer 8?

We are considering the pros and cons of switching from XHTML 1.0 Transitional to HTML5 for our website (for instance, to enhance our SERP positions by using microdata and new specific HTML5 tags for ...
1
vote
1answer
63 views

When updating to HTML5, will adding <!doctype html>, <article>, and microdata result in rendering problems in older browsers?

When updating our website from XHTML to HTML5, will changing the following things result in rendering problems for our site in older browsers like Internet Explorer 8: Specify <!doctype html>. ...