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
19 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
25 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
63 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
18 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
35 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
79 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
500 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
152 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
378 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
2k 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
120 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
67 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
749 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
255 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
97 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
800 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
22 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
163 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
453 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
28 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
103 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
377 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
215 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
873 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
266 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
101 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
52 views

H1 and the Header HTML5

Should I put the <h1> tag inside the <header> section (HTML5) or outside?
3
votes
3answers
563 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
291 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
57 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
10 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
287 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
444 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
66 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.
2
votes
1answer
62 views

What factors affect how fast HTML5 videos will start playing?

If I host videos on my server and include them as HTML5 video in a webpage, what factors affect how fast they will start playing? Of course bandwidth is a factor, but does also the media type of the ...
0
votes
1answer
74 views

exchange value between two dropdown boxes html [closed]

I'm building a dictionary web. Like every dictionary app, we choose two languages from two drop down boxes. And if we click the "<->" button, two chosen languages will exchange side. For example, ...
1
vote
1answer
374 views

HTML5 Microdata - itemref to another itemscope (CollectionPage containing all the blogs)

On the Google structured testing tool, it shows that they are all separate instances. I'm trying to have them list to each other. This is what I have now: <section class="primary content-area" ...
3
votes
1answer
812 views

Is there a Microdata version of JSON-LD’s “@id”?

I'm trying to generate Microdata markup (making use of Schema.org). I know that JSON-LD has a "@id" which helps reference that whatever data is. Is there a similar thing for Microdata? As I wouldn't ...
1
vote
2answers
323 views

How to embed a Schema.org data type?

How to embed items of a different data type? Schema.org explains it here: https://schema.org/docs/gs.html I use Google’s markup helper (www.google.com/webmasters/markup-helper/) that creates ...
1
vote
1answer
242 views

Schema.org - Microdata and JSON-LD behave diffrently for same code [duplicate]

Having a hard time with JSON-DL and several blogPost. The way I see it, both Microdata one and JSON-DL one is exactly the same, yet the latter only show one blogPost, where Microdata show both. HTML ...