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.

3
votes
2answers
236 views

Server side include (SSI) directives work in index.html but not in files in a sub-directory

I was wondering if someone could explain/have a solution for why my SSI's do not work if the file I'm including is back a directory. e.g. index.html gallery/pictures.html ssi-files/navigation.html ...
4
votes
1answer
69 views

Effect resizing SVGs has on SEO

Does loading an SVG smaller than the original resolution have impact on your SEO? As example: index.html: <img src="test.svg" width="10" height="10"/> test.svg (original size: ...
1
vote
0answers
16 views

Weird response from website buttons [closed]

I'm building a website using html, css and JavaScript. I'm having issues with the buttons on my page, where I have to press them twice to activate them, after that they work fine. It appears that this ...
1
vote
0answers
13 views

RadioButton Onclick call a javascript file? [closed]

I am new to all of this as I am trying to learn. If I create a Javascript file(For organization) then have a button, when I click on the button, how can I call the Javascript file in my folders to do ...
0
votes
1answer
18 views

How would a client edit the website? [closed]

I am wanting to start creating websites for clients but am wondering on somethings. This one I do not know how to put into Google to get the results I want so I am asking here. I do HTML/CSS site ...
1
vote
2answers
71 views

How to get Googlebot to crawl my website faster to pick up my new meta description

I've tried to put an new meta description for my website, but when I look it up I get the wrong description. After some research I found out that I need Google to crawl my site. The cache:website ...
2
votes
2answers
36 views

How should I correctly use the <meta name=“author”> tag?

Should the author tag be the author of the content of the page, or the author of the HTML (if these were different)? The spec (w3/moz) doesn't help to clarify for me. (I appreciate it may have no ...
1
vote
1answer
22 views

Getting the same site to show with a different domain extension in Google

We have one site: sitea.co.uk We also own the domain: sitea.com (redirects to sitea.co.uk) We want US visitors to see sitea.com both in the browser and in Google when searching for our company ...
2
votes
1answer
150 views

Will adding spans for star ratings inside the H1 tag affect SEO?

If I add these span elements inside the h1 element, will it affect my SEO? <h1>PRODUCT 123456789 <span class="fa fa-star checked"></span> <span class="fa fa-star checked"></...
1
vote
1answer
592 views

Loading an external HTML file into another - does it have an affect on SEO?

I have my first web project which will approximately be 50 pages. Up until now I've just done 5 page websites, so if I needed to e.g. add a navigation link, I would just quickly type the code and copy ...
3
votes
2answers
106 views

Is it OK from SEO perspective to use input checkbox outside forms for showing and hiding a menu?

I would like to use clickable menu without JS on my website using just pure CSS for showing and hiding submenus. Just like this: https://codepen.io/Tont/pen/hdsev Funcionality of this menu is based ...
3
votes
1answer
66 views

Redirecting to subdomain, impact on SEO?

I've been working on a web platform project for a client, and we are nearing completion. Basically, the platform is a small social network for a specific group of people. Part of the specification is ...
1
vote
1answer
33 views

From where does Google take the descriptions shown in their search results?

I have a website which is structured like a simple blog - on the left side (so first in the HTML code) I have listed some blog posts. On the right side, a I have a column with things like website ...
0
votes
1answer
312 views

Will this hidden element be count as SEO Spamming? [closed]

As you know, search engine robots sometimes count invisible elements as SEO spam. I have a website that i want to improve SEO performance. I'm planning to make homapage as like below. Will this be ...
1
vote
1answer
39 views

Why was the keygen tag removed from HTML5?

Why was the tag considered a bad API and removed from the HTML specification? This article on Google's developers site says so (the other links are just related materials): https://developers....
0
votes
2answers
66 views

Multilingual website SEO indexing

I've recently develop a website with multiple languages. The main goal was that people living in UK would be able to find the website using google.co.uk (not google.fr) by entering French keywords. ...
3
votes
2answers
333 views

Should JSON-LD contact markup be placed on a homepage or Contact Us page?

I am wondering if JSON-LD contact markup should be placed on a homepage or Contact Us information page, or if both is fine.
1
vote
2answers
75 views

How to emphasize and punctuate words within an 'alt' attribute?

Say, when you have a fair amount of text that you need to alt. (I realize it's best to pull it out of an image and into plain text, if possible ... but things aren't always ideal, unfortunately ... ...
2
votes
1answer
44 views

How do I get keywords indexed when text is so complexly styled that words are broken up?

I was required to implement a web page that has sections where each has a designed title. Basic structure like the following: <div class="page"> <div class="section"> <h1&...
0
votes
2answers
216 views

Responsive web design causes social media buttons to overlap the logo on smaller screens [closed]

I haven't developed a website in quite some time, and am currently working on one for a friend's small company. I put together a simple design, and have been able to get the content itself to be ...
0
votes
1answer
369 views

Using rel=“nofollow” on a form that uses/links to Google Search page?

I have a form that uses/links to Google's Search page to search for the input within my site. I have read other posts regarding nofollow but I am confused if I should put rel="nofollow" on the form ...
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 ...
0
votes
2answers
39 views

Many websites miss the HTML id or name attributes (no support for fragment URI's), what to do about it?

I like the idea that HTML header elements have the id attribute. It allows to share links with fragments like for example with Wikipedia: https://en.wikipedia.org/wiki/Fragment_identifier#Proposals ...
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 ...
0
votes
1answer
39 views

Can you change your URL when clicking links to different sections on the same page?

Can you change your URL when clicking links to different sections on the same page? I have a product list separated by different categories on the same page... these categories are using the ...
0
votes
0answers
40 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....
1
vote
2answers
804 views

Is placing an image over H1 text an SEO issue?

We have a main image on every page of a website. This image includes some text. We want to use text in image as h1 but to make it live text on image would be an issue because of responsiveness issues....
1
vote
1answer
61 views

Is a <h1> tag used for ranking by Google only in it's entirety or also partial words and phrases?

When it comes to SEO/SERPs, does Google read tags only in their entirety? For example, let's say I have the following URL: www.example.com/posters/red-posters/ Here, we see a Parent Category and ...
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
3answers
53 views

Mutlitple <!DOCTYPE html>s in a webpage

I have a site which is divided into templates and sub-items for tempates in the backend's template language. However the sub-templates which are embedded into main templates each start with<!...
3
votes
2answers
508 views

Is using the <pre> tag for ordinary text in a page likely to impact SEO?

When coding pages by hand, I sometimes want to skip having to write all those <p> tags and use: <pre> <h2>Heading written as usual is no problem within a pre</h2> <i&...
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
1answer
41 views

Meta Title Tags Problems

We have a News website in dual language Bengali and English version. Recently, we propose to developer team to add meta title tags and they added meta title tags in HTML code as default News title. ...
2
votes
2answers
144 views

Should I use the lang attribute when writing words in French?

My website is mostly in English but my articles regularly contain words and phrases in French. Here is an example: https://frenchtogether.com/quand-meme/ Should I use the lang attribute for each of ...
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 (...
8
votes
3answers
11k views

What is the difference between “nofollow noopener” vs. just “nofollow”?

I use the WordPress plugin Ultimate Nofollow to easily make links as nofollow. So I expected that plugin will add rel="nofollow". But it added rel="nofollow noopener" Is there a difference between ...
6
votes
1answer
306 views

Does itemprop have a different meaning on links vs. span tags?

I'm using Schema.org markup for a Person, but I get inconsistent results in Google's Rich Snippet Testing Tool when using an <a> tag vs. a <span> tag. Take these two examples: <span ...
0
votes
2answers
206 views

<h3> vs. <strong> (for FAQ's)

We are in the process of publishing FAQ's on our website. For this I am creating the templates and ask myself the following question: What tag should I use for the questions? I've chosen <strong&...
5
votes
1answer
257 views

How to properly implement paywalled content

To avoid cloaking, I'm planing to indicate paywalled content on reviews, but I'm struggling how to format both JSON-LD and HTML: Should I add hasPart and isAccessibleForFree keywords for each Review? ...
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
18 views

Should the canonical link contain a link that will never change, the long version with keywords, or a shortened URL from another domain? [duplicate]

I want to prevent SEO from duplicated content. I have a separate domain only for shortened URLs which is mainly for sharing purpose. I plan to set the rel=canonical in the HTML head and redirect to ...
4
votes
1answer
169 views

Include page name in title?

Should a title include the page's name, for example on an "About us" page: About us | Discover the history of our online store | Amazon.com Or should I just use the keyword filed: Discover the ...
1
vote
0answers
69 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
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 ...
4
votes
3answers
752 views

Why Google is indexing Thumbnails and not Large images?

I have a page full of thumbnails, when clicked it opens the Full size image in new tab. The problem is that Google is indexing the Thumbnail photos only, and leaves the Large images that it links to. ...
1
vote
1answer
202 views

How to make a <select> navigation search engine friendly?

I have part of navigation in an HTML page that is routed by a select: <select id="archive" name="archive"> <option value="">Select an option</option> <option value="1">001&...
4
votes
1answer
342 views

Is it 'ok' to have IFrame tags in RSS feeds?

I ran my RSS feed through http://www.feedvalidator.org/ but it says: This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following ...
0
votes
0answers
420 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 ...
3
votes
0answers
97 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 ...
3
votes
3answers
278 views

Does using too many heading tags (h1s, h2s, and h3s) cause SEO problems?

On my website, I utilize many h1, h2, and h3 tags. I am most worried over the fact that I utilize the h1 tag way too often (3-5 times per page). I did so initially while designing the site because I ...