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.

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

How are the <!DOCTYPE> and <html> tags important for SEO ranking?

I'd like to compare the two sites: Site A: <!DOCTYPE html> <html lang=en_US> <head> Site B: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/...
1
vote
0answers
26 views

fonts.googleapis.com called before every heading - is this normal? [closed]

I'm seeing this behaviour in one of the websites I manage: <link href="//fonts.googleapis.com/css?family=Abril%20Fatface:regular" rel="stylesheet" property="stylesheet" type="text/css" media="all"...
1
vote
1answer
50 views

What's the SEO cost of rel=canonical references leading to redirects?

On www.ubuntu.com we recently started including rel="canonical" tags on every page by default, following Google's recommendation. However, as you can see on e.g. https://www.ubuntu.com/cloud, the ...
5
votes
1answer
5k views

HTML Links: noopener vs noreferrer [duplicate]

I am learning about the merits of including rel="noopener noreferrer" for external links. What is the difference between these two attribute values?
3
votes
2answers
884 views

Same link twice on the same page, which will be chosen?

As far as I know, two links with the same URL don't hurt SEO, Google will only see and consider the first one, and SEO benefits will be passed only to this. But what about, if I have two links, one ...
0
votes
1answer
2k views

Will using div tags around text rather than p tags hurt SEO?

I currently have a description at the top of my category pages (woocommerce) of the form <div><input id="post-1" class="read-more-state" type="checkbox" /> <div class="read-more-...
3
votes
1answer
58 views

Using mySql database data directly into generating articles for my website? (newbie, needs to know where to start))

Hi all I am fairly new to web development, I've made a couple of my own sites over the years with simple html tables and free webhosts. This time, I have decided to try to host my own site using WAMP ...
5
votes
3answers
2k views

What directory structure is typically used for domains and subdomains on a Linux Apache server

Although I've used MAMP and AMPPS before on OSX, simply for testing purposes, this question is about actual production websites on Apache servers. If I had the domain name www.example.com - if this ...
0
votes
1answer
34 views

Tags that can be added to drive organic SEO [closed]

Just working on a page template just wondered if there is any more useful tags/codes that can be added to drive organic SEO. We are planning to use Google/Bing Adwords, Google Merchant as well for ...
0
votes
1answer
26 views

How to replace thousands of old JS ad tags in a directory full of static html? [closed]

We're taking over another company's website and we plan on creating an archived version of their old site using wget to mirror the site into an archive.example.com website. Since there are several ...
3
votes
1answer
111 views

Will “dofollow” work for non-anchor tags?

I'm developing a SPA using Ionic, and for performance, UX, and indexing reasons I'd like to use <span> tags instead of <a> tags, as the latter doesn't work very well with Ionic's stack-...
3
votes
2answers
1k 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
76 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
18 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
21 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
24 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
118 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
452 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
25 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
279 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
2k 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
279 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
106 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
51 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
825 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
112 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
82 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. ...
2
votes
2answers
749 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
133 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
53 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
486 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
1k 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
72 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
44 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
1answer
60 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
1answer
453 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 ...
2
votes
2answers
4k 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....
2
votes
1answer
70 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
37 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
99 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
1k 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
63 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
45 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
259 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 ...
16
votes
3answers
24k 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 ...
7
votes
1answer
744 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
700 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
497 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
24 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
19 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 ...

1 2 3
4
5
26