A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [html5]

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

How to justify implenting a quality HTML coding standard will help in SEO ranking?

One of my clients is an e-commerce website which ranks 6-10th for their keywords. Apart from the other SEO technniques, I suggested them to reveiw their code and optimize as per the HTML standards ...
3
votes
0answers
17 views

What is the correct and most safe way to check if HTML form checkboxes and such have been POST-set? [migrated]

This has confused me since the early days. Maybe it's just in my head, but it seems to me as if this has varied over time, between browsers, and possibly even depending on the local language/locale. ...
1
vote
0answers
17 views

Is there some way to make HTML textareas “steal” tab key presses, preferably without using JavaScript? [closed]

If I, for example, ask a new question on Superuser, and I start typing in the message body textfield, and I make a newline and then press tab, it does not add an actual tab inside the textarea; ...
2
votes
1answer
39 views

html5 - <figure> element position importance

I am an advanced developer stuck with a simple question. Is the position of a <figure> element on a webpage Important or not? And what are some good use-cases of the figure element? Generally, ...
2
votes
0answers
23 views

Would there be any SEO or accessibility repercussions for having a blog article title appear twice in the HTML markup but only once visually?

On pages where I display a single blog post, my HTML markup structure can be broken down into the following: <body> <header><h1>Site Header</h1></header> <...
2
votes
2answers
35 views

Embedded YouTube videos make my site fail Google's mobile optimization tests

I have a website with a responsive theme optimized for mobile. Despite that, many pages don't pass the "mobile-friendly test" from Google (https://search.google.com/test/mobile-friendly) Here is the ...
0
votes
1answer
26 views

Which Schema.org hierarchy should I use for my page?

I have a website with all handy tools, for example, Random Word Generator, Separate a list, etc. Now I want to boost my SEO and one of the things I want to add is Schema.org markup. So I've taken a ...
1
vote
1answer
27 views

Can sites get by with just mp4 video these days? Converting to other formats bloats the size

Is it important to convert mp4 video to another formats like webm or is mp4 enough? I tried to convert to webm in online services, but it makes the size of the video file much bigger. The size ...
1
vote
1answer
92 views

SEO for bibliography/references section of webpage

How do I perform SEO within my references/bibliography section of my website? I have used an aria-label for accessibility purposes, but I don't know how to optimize for the actual citations. If I ...
1
vote
0answers
19 views

Mobile Web: Sliding whole page over to reveal navigation underneath

I'm making an all new mobile version of one of my sites. And I've decided that the way I want to do navigation is to have the 'hamburger' button cause the entire page to slide to the right, revealing ...
0
votes
0answers
47 views

SEO benefits of HTML5 semantic tags [duplicate]

It's widely know that HTML5 offers some elements primarily for semantic purposes. These include: section, article, aside, header, footer, nav, figure, figcaption, time, mark & main. Do any of ...
1
vote
0answers
10 views

Finding all URLs called by a browser for loading a specific URL using Safari, Chrome or Firefox Dev Edition

I would like to sort all URLs of my website into two categories: static (=cacheable) and dynamic. Sadly the shop software does not have a URL structure allowing for this distinction. So what I would ...
1
vote
2answers
92 views

How do I show alt text when hovering over an anchor with a mouse? [closed]

I'd like to show some descriptive text when the mouse hovers on a link: <a class="foo" alt="Hello World" href="/index.html">Hello World</a>
3
votes
1answer
680 views

Is it okay for SEO to wrap block elements in a link?

We have a request to have an entire block of content be clickable as opposed to just a link field. Questions: Is it good practice to allow for entire block of content to be clickable? If we wrap ...
3
votes
1answer
187 views

Can I use <icon> element in HTML5? It fails the W3C validator

When I go to the W3C validator service, to try out if it complains about using an <icon> element, with this example: <!doctype html> <html lang="en"> <head> <title>...
4
votes
0answers
463 views

Google search results snippet for our site is a warning about not being able to play HTML5 video

All of a sudden, without any change in the index.html, our site is showing up in Google search results (on multiple browsers and devices) with Google Preview text that, instead of giving a summary of ...
4
votes
3answers
3k views

Will it help SEO to use <strong> tags just around a keyword while making a larger containing phrase bold using CSS?

I'd like to make keywords in the text more relevant for crawlers, and also to enhance some parts in the text to get an easy readability avoiding keywords dilution. I was thinking to do it this way: &...
0
votes
2answers
143 views

Should I load a large category menu structure via ajax

I'm trying to understand what is best practice for rendering large quantity of navigation links. If a site has 100+ categories in a menu system each containing a link to the category (placed within a ...
1
vote
0answers
31 views

HTML5 navigation and search engine optimization

I'm trying to use HTML5 navigation for AngularJS application. Everything works well, until SEO optimisation. For hashbang sub-urls (example.com/#!/siuburl) most of crawlers (google, facebook) which ...
2
votes
1answer
68 views

What are the practical benefits of having just one <h1> per page

It is a recommendation to have just one per page, even validators print out a warming if there are more, but other recommendations contradict it like: Any rank can be used as the heading of an ...
1
vote
1answer
21 views

Does Google read and value text placed inside <detail> tag

HTML5 has a <detail> tag (explained here) that shows a summary and shows all text if clicked on read more. Does Google value content inside tag as much as text written outside it?
1
vote
3answers
822 views

Can I use Google Analytics from a local HTML file on Android (no hosting)?

I created an HTML file that uses Google Analytics. When I use it at a URL on my web host, it is working perfectly. Can I instead use it locally on my Android device, instead of hosted on my website?...
3
votes
1answer
2k views

How do I specify the HEVC codec in the HTML5 video source type attribute? [closed]

(Originally posted on Stack Overflow) I'd like to load and play a smaller HEVC-encoded video on web browsers with support for it. I'm using this code on Safari 11 (macOS 10.13), which has support ...
3
votes
3answers
2k views

Html5 tag video VS Youtube video

Is it better to embed a Youtube video in an Iframe or to load the video on an HTML5 tag ? Which's better from an SEO point of view ? Is there any difference on the loading time, optimization and the ...
3
votes
3answers
1k views

Can hreflang be placed on the body of the HTML?

Can hreflang be placed on the body of the HTML? Or has it to be in the head? I can't find clear information about this.
1
vote
0answers
264 views

Can SiteNavigationElement in schema.org describe a navigational element which links out to external sites?

Deployment of some parts of schema.org still appear to be at a late experimental stage. After extensive debate, there appears to be a - tentative - method to describe the principal navigation section(...
1
vote
2answers
113 views

Despite hreflang tags accessing example.nl redirects to the English site, not the Dutch

In my website I have contents in both English and Dutch. Here are my hreflang links: <link rel="alternate" href="https://www.example.com/en/" hreflang="en-us" /> <link rel="alternate" ...
1
vote
0answers
859 views

How is Google's indexing affected by history.pushState? When should it be called?

I am maintaining a single page app and I am trying to make it friendlier to search engines. The way the page works is that when a user clicks on an internal link, an AJAX request is made to fetch new ...
-2
votes
1answer
26 views

Play “.ch” extension stream on HTML [closed]

I am trying to play .ch stream from a html player. But can't find the solution. .ch streams can be played successfully in Android via "ExoPlayer". But I want to embed them to my website too, but none ...
1
vote
2answers
176 views

Is it good to have duplicate Microdata properties on different tag on a single page?

I am adding Schema.org Microdata to one of the website homepage. This website has a logo which is surrounded with <a> anchor tag. This anchor tag already uses itemprop="url" like this: <a ...
0
votes
1answer
589 views

How can I encourage the browser to cache the HTML5 <video> poster image?

I have a web page with a series of videos embedded on the page: <video controls preload="metadata" poster="/path/to/video1/poster-image-1.jpg"> <video controls preload="metadata" poster="/...
1
vote
1answer
29 views

How do you use a font-family's special features inside html?

How do you use a font-family's symbols, glyphs, ornaments and other features inside? For example how do you use a font's superscript?
1
vote
0answers
36 views

how to use html5 audio player to play single song whose content is divided into an array of urls? [closed]

I get multiple urls for same song url1 -> first 5 sec of song url2 -> next 15 sec of song and so on I have to use them to play the song without any lag. Is it possible using html5 audio ? Thanks in ...
2
votes
0answers
104 views

Does AdWords support polite loading or backup images?

I"m new to creating HTML5 display ads and I don't know whether AdWords supports polite loading or backup images. When we upload and test our ads, there is some lag where there is no ad for a moment. ...
3
votes
3answers
4k views

What will happen if I don't include the HTML DOCTYPE tag? [closed]

I know adding <!DOCTYPE html> (if using HTML5) on the first line is mandatory. What will happen if I don't include it? Because my site still looked the same when I removed it. <!DOCTYPE html&...
3
votes
1answer
404 views

Do search engines look at the contents of custom HTML elements?

Given the following HTML: <my-custom-tag> <a href="some-page.html">Some page</a> <a href="other.html">Other</a> </my-custom-tag> How do search engines ...
2
votes
1answer
245 views

Using HTML5 EME (Encrypted Media Extensions) for JS

I am thinking about developing a paid JS script, and I wanted to prevent its piracy by using HTML5's EME to safely decrypt and use my JavaScript file client-side. Can EME be used for more than just ...
3
votes
1answer
956 views

Does html5 picture tag affect SEO?

I know when using <img> tag, the alt & title are using for SEO. But is <picture> tag is better for SEO with the attribute srcset? If yes how?
3
votes
1answer
269 views

Indexing an Angular.js website with html5mode

I'm currently developing a website with AngularJS 1 and I have a big problem with SEO. I have decided to use html5mode to beautify the URLs, but Google, despite the research about this subject, doesn'...
3
votes
1answer
109 views

How to use <article> tags in the home page of a blog?

I have a home page of a blog where I have the img, title, date, and a brief summary or intro for each post. Then a link to the full text in another page. I am not sure how I should use <article> ...
2
votes
1answer
53 views

H1 and the Header HTML5

Should I put the <h1> tag inside the <header> section (HTML5) or outside?
3
votes
3answers
584 views

Headings order in HTML semantics and SEO

Google uses this HTML code in its Adwords pt-BR page: <section class="..." id="..."> <h4 class="..."> Preços </h4> <h2> Você paga somente pelos resultados. <...
1
vote
1answer
1k views

itemprop for canonical link and meta description in the head

I've a problem with validation of the code provided by Google. Idea is (simplified): <head itemscope itemtype="http://schema.org/WebSite"> <title itemprop="name">Example.com - Best ...
1
vote
1answer
302 views

Article preview and non-text types in meta tags

I'm trying to figure out how to implement Schema.org right, and since the very beginning I faced some issues and I would be very happy if you make it clearer for me. First of all, basic structure of ...
1
vote
0answers
60 views

PHP database information in a table that can be displayed on a website [closed]

Hey guys i just want to put the information from the database into a table which i can display on a website but i have no idea how to do it. <?php include 'database_conn.php'; // make db ...
0
votes
1answer
11 views

Disabling highlighted search box [closed]

I made a search box using input html tag but while inputting when I click on the search box it is highlighted with blue border. How do I remove it ? Thanks
-1
votes
1answer
298 views

using header tag for menu is SEO Friendly? [duplicate]

i just want to know is this ok if i use this stucture: <header> <h1>Luke</h1> <ul> <li><a href="#">Sign In</a></li> <li><a href="#...
1
vote
0answers
476 views

Multiple URLs for the same page on scroll. Is it SEO frendly? [closed]

I have a web page with some sections, and I made the url change (with the html5 history api) when I scroll to these sections. Is it SEO frendly? Won't Google see my page as multiple pages instead of ...
1
vote
1answer
67 views

Title tag content length based on character pixel width

I read that the length of the contents in a title tag depends on the character pixel width. What does this mean? I'm referring to an article that I read on Search Engine Land: http://...
0
votes
1answer
40 views

Appropriate way to introduce a hashtag on a web page SEO wise

I want to introduce a hashtag in a site's slider and I know it shoudn't be an anchor tag what's the correct tag for this considering SEO.