Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
0answers
4 views

Need a small help with the custom shopify theme product quick-view script code? [on hold]

I have a limited knowledge of working in HTML/Scripts coding. I have a custom theme which has got the quickview option and it is not showing the stock availability as expected. From my own research, ...
3
votes
1answer
64 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>...
3
votes
0answers
35 views

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

All of a sudden, changing nothing on our 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 ...
3
votes
3answers
1k 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
33 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
26 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
62 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
17 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
326 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?...
2
votes
1answer
625 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 ...
2
votes
3answers
854 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 ...
0
votes
0answers
33 views

Do having a specific designated DIV attribute name help your organic SEO ranking? [duplicate]

Intro I am at a standstill at the moment before I go any further. I will have many much of the same repeated pattern layouts throughout 3 pages of having 2 images (with text below them) side by side....
3
votes
3answers
781 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
165 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
77 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
545 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 ...
-3
votes
1answer
18 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
105 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
199 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
25 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
32 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
78 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. ...
4
votes
3answers
3k views

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

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
259 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
120 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 ...
2
votes
1answer
529 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?
4
votes
1answer
223 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
85 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
48 views

H1 and the Header HTML5

Should I put the <h1> tag inside the <header> section (HTML5) or outside?
3
votes
3answers
442 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. <...
2
votes
1answer
591 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
216 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
38 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
9 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
213 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
312 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
63 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
38 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
57 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
71 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
292 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
573 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
256 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
216 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 ...
1
vote
0answers
69 views

How to store and play interactive HTML5 content? [closed]

I am really having a hard time finding much information on interactive HTML5 services or best practices. We currently have tons of HTML5 interactive elearnings produced in Captivate, Articulate, ...
2
votes
1answer
1k views

Correct way to use sameAs itemprop in Microdata

My client has recently implemented the sameAs markup for the social media profiles. They have used Microdata as they don't want to use JSON-LD as they feel it'll be some work to go through the site ...
3
votes
4answers
1k views

Should we use <nav> for global navigation since it is sectioning content?

Background In term of SEO, <h1> should be used as page specific content only and we should avoid to use it for site logotype. So, a current homepage structure should be something like: <...
0
votes
2answers
204 views

Email obfuscated in HTML page [closed]

I am trying to design a page based on simple material design lite - similar to this page: http://fxpblog.co/firefox/nightly/. If you look in line 380 of source code the email address is given but it ...
7
votes
2answers
12k views

How to specify publisher in schema.org's Article structured data?

I am trying to use the Article type from schema.org: <article itemscope itemtype="https://schema.org/Article"> <!-- ... --> <meta itemprop="publisher" content="MyCorp" /> </...
3
votes
1answer
180 views

Which is best SEO practice to markup source code on web page?

What is the best way to present source code to users without affecting SEO? Let's say my website is HTML tutorials and I need to present HTML code to the user so that they can copy it. If my main ...