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 [html]

HTML (HyperText Markup Language) is the predominant markup language used for creating web pages. In modern web pages, HTML is used to markup the contents of the website, while CSS and Javascript are used to define the styles and behaviors respectively.

1
vote
2answers
26 views

HTML SEO: “alt” text attribute for related photos

If I have a photo gallery where each photo in the gallery has a mini-feed of 'related photos', should the alt text of these related photos describe these related photos or should they describe the ...
1
vote
1answer
34 views

Does Fetch as Google have a charchters / lines limit? And does it matter?

I have a test page with text only. No JS. No CSS. Just the html, head, body and p tags and a lot of lorem ipsum text. Now when I try to use Fetch as Google tool, the HTTP response is cutted at the ...
1
vote
1answer
173 views

Replacing trivial <h2>s with <div role=“heading”>s for SEO?

In the structure of my upcoming website, there will be multiple level 2 headings inside the master header. An example can be seen below: <header id="banner"> <h1><a href="">My ...
1
vote
1answer
91 views

Best element to use for simple anchoring, avoiding potential SEO penalties for lack of content and purpose of the element

Firstly, an introduction to why the element is necessary I have a need to compensate for a fixed top navigation bar in my anchors. For example, if I let my users navigate to a section like #comments ...
-1
votes
1answer
22 views

How to do an accessible and SEO-friendly image header?

given these two classes (which I've copied from bootstrap 4.1.3): .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-...
3
votes
0answers
101 views

How do I get the Structured Data Testing Tool to ignore template elements?

I’m using Web Components to build a site, and one of the biggest features is my use of the <template> element. Here’s an example: <ul> <template> <li> <div ...
2
votes
0answers
273 views

MailChimp form with single opt-in (API)

How to easily make MailChimp API form without double opt-in? Using their API is hard for people with no coding skills and 3rd party tools like POWr or Privy don't have option to disable MailChimp ...
2
votes
0answers
120 views

How can I add hreflang links to the <head> in Zen Cart?

I have a site using Zen Cart platform. I made it in 6 languages. I am trying to improve my ranking and/or SEO and I wanted to insert hreflang manually for each page. I know that it should be ...
1
vote
0answers
15 views

reason for wrapping an anchor in a form?

This is one of those "found in someone else's code and wondering what they're thinking" questions... The HTML being generated is of the form <form method="post" action="#"> <a href="?...
1
vote
0answers
35 views

generating part of html with javascript to increase the page loading speed

I've got picture gallery on my website that contains few hundreds of images. These are miniatures that are enlarged when have been clicked. The images are well optimized (they are compressed using one ...
1
vote
0answers
47 views

Quotes with HTML attribute problem showing up in Google's data highlighter

We have a Bengali website and there are some category pages for art and literature. When we are using any narration with "example" quotes, it's showing errors in Google Search Console Data ...
1
vote
0answers
41 views

What is it called when an HTML block floats while scrolling down the content until something else takes its place?

Recently updated my blog and was looking for the improvements they have added. I noticed a floating section of text that stayed there until a part of description ended. (Similar to the timestamp on ...
1
vote
0answers
31 views

Would having Angular tags in source code hurt SEO or would they just be ignored?

A developer wants to create an Angular site and of course still populate the page with HTML so the search engines can read the content. In the source code there are Angular tags like in the ...
1
vote
0answers
53 views

Does repeating heading text in a span hurt SEO?

For the design I am following, I've had to repeat heading text on a site I am building. I was wondering how this might affect SEO and if I should invest time in trying to change the markup to only ...
1
vote
0answers
23 views

Massive URLs being recorded due to search redirects - are bots going into a loop and slowing down website

I'm looking at a client's website and using Screaming Frog to give a general analysis and it is recording massively long URLs due to what I think are search redirects - see Example below. I'm ...
1
vote
0answers
72 views

Why is my Last-Modified header always sent using GMT timezone?

I want to send the last-modified in IST timezone, But it always sends in GMT. What is wrong with this PHP code? echo "Timezone " . date_default_timezone_get () ; //==>verified, timezone set ...
1
vote
0answers
158 views

Is there any SEO differences/considerations between data in LISTS vs TABLES vs DEFINITION LISTS?

Are there any SEO or user-experience considerations between using... Tables: <table> <tr> <td> Lists: <ul> <li> Definition Lists: <DL> <dt> <dd> ...
1
vote
0answers
57 views

Nodejs Express - How to point two urls to single html page

I have an HTML page template (player.html) which displays Football players information and information is loaded on to page using a rest API call. When the user select "Ronaldo" from a dropdown, ...
1
vote
0answers
34 views

Can I use < and > in my meta title and is it allowed by Google?

I want to use in title Get <my special product> at offer price. Is it allowed by Google and HTML standard to use < and > in meta title?
1
vote
0answers
79 views

HTML Code in Google Search Description/Snippet

When googleing for a certain keyword, Google will list our site along with this description: Wie die Spitzenforschung im globalen Dorf abläuft, zeigt das neue Globe. ETH Zürich, Globe Magazin, 1/16 ...
1
vote
0answers
37 views

SEO Impact of Javascript for typography (like kerning.js, lining.js & co)

From the design perspective the typography options presented by css are somewhat limited and there exist many javascript libaries that give us very handy tools to manipulate the font-rendering. ...
1
vote
0answers
87 views

Can images be combined using the clip CSS Property while still maintaining image SEO and semantics?

I have two images in my web page. Actually there are 20 but I want to keep things simple: <div> <img src="apple.png" alt="Apple" /> <img src="orange.png" alt="Orange" /> &...
1
vote
0answers
174 views

checking for duplicate title and meta description tags across multiple subdomains

I know in Google Webmaster Tools, under "search appearance" for any domain, there's an "HTML Improvements" section which only checks crawled URLs specifically for that domain. My website has ...
0
votes
0answers
26 views

My download link I crafted on my site does not work on new browsers yet follows standards

In an effort to serve excellent image files to only legit guests of my site, I needed to make PHP code. I narrowed the problem down to a few lines of code as follows: The first piece is a simple web ...
0
votes
0answers
87 views

A canonical URL for each section of a webpage

The homepage shows among other things the newest blog posts and the most booked courses (domain.tld/). For keyword optimization, I create two extra web pages, one for a listing of all blog posts (...
0
votes
0answers
423 views

Google Search Console Error - Sitemap appears to be an HTML page

I recently started getting this error in Google Search Console when submitting our sitemap. Errors Sitemap is HTML Your Sitemap appears to be an HTML page. Please use a supported sitemap format ...
0
votes
0answers
39 views

How do you do 301 redirects when you've changed platforms?

A client is having problems with 301 redirects producing 404 Error messages. They previously had a WP site, but decided to change it to an HTML one. They are using the same domain name, and hosting is ...
0
votes
0answers
65 views

Web page is not crawled completely by Google

I have a webpage which is built by converting the docx document to html page. The page is added to the google webmaster tool and the sitemap file also been submitted and maintained regularly. There ...
0
votes
0answers
667 views

Why cannot I reproduce Confirm form resubmission scenario?

I have the following code, which is just a simple HTML form (POST method). I have tried to get the "Confirm form resubmission" message of the browser, by sending the form, hitting browser's back ...