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
1
vote
0answers
9 views

Gatsby View Page Source not showing HTML

I'm trying to get my HTML code to show on view page source for SEO purposes. When I visit another Gatsby website, such as https://afsp.org/ for example and look at the view page source, and you try ...
2
votes
0answers
8 views

How to whitelist page from Google Mobile Usability issues check?

My site has a page that admittedly only looks good on desktop. How can I tell Google Search Console "Thanks for the Mobile Usability issues warnings, no need to tell me again about this ...
3
votes
1answer
28 views

What would be the proper rel value for an api endpoint?

I need to expose an API endpoint in the html documents, so I can later do client-side rest calls (for search and/or subsequent pagination). As the JS needs to stay agnostic of config files, I suppose ...
3
votes
0answers
31 views

naming HTML anchors

So I'm probably overthinking this, as I do with everything. But I'm just curious to what others think. In general, naming a HTML anchor link should be short and related, but if you have a table of ...
2
votes
1answer
9 views

I am unable to view the contents of my website which I deployed on Firebase

I deployed a simple website (made using only HTML and a bit of CSS & JavaScript) which only contains a button. After the deployment I ran the project by copying the given domain on the web browser ...
1
vote
1answer
36 views

How to cache the html file of redirected website

I have a website A whose content gets updated every minute(Its content is related to stock price). However, because displaying the content of website A requires expensive computation, I want to create ...
1
vote
1answer
27 views

Core Web Vitals - Field data difference Mobile vs Desktop

I am observing a strange problem related to Core Web Vitals, I have same website for both mobile and desktop(same server/same page/same DOM size) but I when I look into search console I get different ...
2
votes
1answer
20 views

Can I create a custom 404 page with a parameter value?

I have a very basic website https://myappname.example with only a home page that allows users to go and download my app from Apple store or Google play. I have a use case when user can click on ...
4
votes
1answer
62 views

Core web vitals - LCP is being recounted on element outside viewport

I have been trying to control LCP on my website but unfortunately a strange phenomenon is continuously occurring, An element which is not in viewport is considered to be an LCP. Opposite to that ...
3
votes
1answer
26 views

Should I change the 'preconnect' URLs from href="//" to href="https://"?

In order to speed up the load of my webpages, that use ads from Google Adsense, I'm considering to modify the following 'preconnect' directives: <link rel="preconnect" href="//...
2
votes
2answers
40 views

My website has been cloned without authorization. What can I do?

I have the following problem: I operate an online service and about 2 months ago a Copy Cat clone appeared under a strange domain unknown to me. My portal is simply mirrored/redirected to another ...
2
votes
1answer
33 views

How should canonical and alternate links be defined?

I'm afraid I couldn't understand the information available about this feature. A canonical link should be the "canonical" or "preferred" version of a web page. An alternate link ...
2
votes
2answers
54 views

Why is google search console misreading my URLs and sitemap.xml?

I have a very stranget issue on my site with Google Search Console. I've added my sitemap here: https://formulastocks.com/sitemap.xml which links to 2 other site maps: https://formulastocks.com/...
2
votes
1answer
25 views

Are H1, title, and meta tags mandatory on a 404 error page?

404 error page is not used to enhance SEO (see: https://support.google.com/webmasters/answer/2445990), so does it really necessary to have the H1 tag, a page title, a meta description, and a ...
4
votes
1answer
318 views

Does it make sense to host media on a .onion site on the darknet, or can I link to lightweb as well?

There is a resource on the light web (normal Internet), hosted on multiple servers and subdomains. Let's nominally call servers A (main, with code) and B (auxiliary, with photos and videos), and the ...
2
votes
1answer
55 views

How JSON works in HTML Script Tag regarding SEO Search availability?

I know this topic already all over the forum. But still, I'm confused if there is no exact example of what they mean with dynamic render using Javascript. so here is the background of my question: I ...
1
vote
0answers
24 views

Reviews and E-A-T: 3rd party aggregators vs. self managing vs other options?

One of my clients is a hotel chain and I've recently recommended to implement reviews from their customers in their hotels' landing pages. The developer I work with usually picks the (good) reviews ...
1
vote
1answer
33 views

Use in the breadcrumb article tag

I'm using the breadcrumb inside the article tag, would that be a good use? let me give an example <article> <nav aria-label="Breadcrumb"> <ol> <li><a href="/&...
0
votes
1answer
26 views

Include a URL is in the page so JavaScript can access it without users viewing it

I have a media URL in each page from my database. I play the media with JavaScript code and I have to include it in my page so the JS cat get the media URL and play it. Is it OK to include the URL in ...
3
votes
3answers
79 views

Is an HTML only website a problem for SEO?

I consider to build a website without any JavaScript/CSS. I want it to be the most light weight a website can be ever. Only HTML. There won't be any images, videos, audios, embeddings, iframes or ...
5
votes
2answers
781 views

Domain names mirroring my domain except for small details

I am just an amateur web editor and have had a non-commercial personal website www.mysurname.example with useful technical tips and culture content since 1999. I code my web pages directly in HTML and ...
1
vote
1answer
72 views

sitemap and canonical url for website that has only one page: "index.html" hosted using GitHub Pages

I have the almost same question as this: How do I correctly add index page to xml sitemap - do I need a canonical expression? But I am confused with the accepted answer, as for my case, the website ...
2
votes
1answer
43 views

Does noreferrer or noopener impact SEO [duplicate]

I was wondering if the html attribute tag noreferrer or noopener had an impact on my google SEO, and if yes, how?
4
votes
2answers
39 views

Does inserting meta elements into the <head/> using JS effect SEO?

I am developing a static HTML/CSS website I have multiple meta tags I add to the head on each page. As it stands currently whenever I want to change the meta information I need to manually update each ...
2
votes
2answers
85 views

Why should we use semantic HTML5 elements such as header and footer instead of div?

I'm designing a website, but some websites use semantic HTML5 tags like <header> or <footer> instead of div. My question is, why do they use them like this, is there any harm in terms of ...
2
votes
1answer
58 views

In terms of SEO, what are the implications if you mix h1, h2, etc with role="heading"?

In terms of SEO, what are the implications if you mix h1, h2, h3, etc with role="heading", if any? For example: <div role="heading" aria-level="1">Header 1</div&...
3
votes
1answer
104 views

Figure or Div, which should I use?

I'm designing a news site. I use thumbnails of news on the homepage. Should I use the div or figure tag for them? Sample figure, <a href="/news_url"> <figure> <img src="...
3
votes
3answers
369 views

Which one is the correct way to use h1 tag?

In a website that provides content which is divided into parts, what is the more correct way to use the H1 tag? <div class='header'> <span>Episode 2</span> <h1 class='large'&...
3
votes
2answers
68 views

Display SEO-friendly musical chords above text in HTML

I'm currently rendering guitar chords above lyrics on my website like this: span.chunk { position:relative; top: 15px; display: inline-flex; flex-direction: column; vertical-...
0
votes
1answer
23 views

<title> tag and favicon aren't correctly showed by Google Search [duplicate]

I'll go straight to the point. For a few days I've been working on the SEO on my website and I noticed that the favicon still isn't showed by Google Search and that the <title> tag is showed ...
3
votes
1answer
64 views

Understanding role="complementary" attribute and <aside> tag

In MDN the documentation for ARIA: complementary role says: The complementary landmark role is used to designate a supporting section that relates to the main content, yet can stand alone when ...
5
votes
2answers
247 views

Does using onclick to redirect parameters impact SEO?

For SEO, I need to have my link https://www.example.com/ on a third party website. However, I also need this website to pass parameters to my site. If the third party website used the below structure ...
13
votes
2answers
6k views

How to improve extremely slow page load time on a 23MB web page full of SVGs?

I have a webpage that is full of inline-SVG around 140+ inline SVGs! Just the HTML file size is 23MB, plus there is external CSS and JavaScript loading, though that is roughly only around 30KB. The ...
3
votes
1answer
68 views

Best SEO-friendly approach for icon links?

I'm having trouble finding info on this. I'd like to know what is the best way to markup icon links so Search Engines can make sense of it. Google's validator tools seem to ignore title attributes. ...
2
votes
0answers
27 views

unable to access webpage on IOS devices

I am currently developing an IOT device that can connect to the internet but works offline as well. I have designed it so that when the user first connects to the wifi network run on the ...
1
vote
1answer
90 views

SVG inline title in H1 for SEO

I would like to use in my H1 a SVG inline using title to put my text/keyword. eg: The classic way <h1>My Title</h1> My idea <h1> <svg> <title>My Title</title> ...
1
vote
0answers
13 views

Could it hurt SEO to remove a WordPress plugin that lists all categories using a <select> dropdown?

I'm redesigning WP Site and there's a plugin listing all categories in select box. The option code looks like this: <option class="level-0" value="2926">AAA</option> ...
5
votes
1answer
128 views

SEO/crawlability impact of HTML Streaming

With the rise of HTML Streaming (e.g. React 18 Streaming), I'm wondering how crawlers handle HTML streams. Most importantly, do crawlers wait until the stream has ended? How does the Google crawler ...
1
vote
2answers
69 views

Do tags that are not recognized by HTML affect SEO?

For some reason, I'm trying to use tags that are not included in HTML tags, for example <new_tag>This is new to html</new_tag> Everything seems to work as I wanted across all browsers, but ...
0
votes
0answers
6 views

Does the order of elements within an <article> matter? [duplicate]

I'm currently building a new WordPress theme for a client who receives a lot of traffic. This is how their articles are currently structured throughout the site: <article> <header class=&...
1
vote
2answers
30 views

Setting up a classic webring — should I add `rel=sponsored` to the links?

Back in the day, when backlinks weren't such a spam vector, sites (usually small personal sites) used to be part of webrings; they'd dedicate part of their pages to promoting other sites in the same ...
0
votes
1answer
32 views

Google test results html is different from view source html

When I see page html in google test rich results I see SearchAction and WebSite attributes in Rendered Html and there is an error about it. 'SearchAction' object must be nested inside a 'WebSite' ...
0
votes
0answers
20 views

Google Optimize for A/B test: Trying to edit existing HTML but says it's over the limit even when I test deleting some of it?

I am trying to set up an A/B test of a company's website for my project. There are certain changes I'd like to make such as changing the 'favourites' products on the home page to one with the top ...
1
vote
0answers
11 views

Question about: How to show backup ads now that AdSense doesn't have the ability to do so for you? [duplicate]

I have some questions! I use Adsense code on my site. My question is, how to ad backup affiliate code in to the code below? Also how do I add the affiliate code in 2 diferent sizes (I want to add the ...
5
votes
2answers
194 views

How to Substitute HTML Entities in RSS?

It happened several times that an automatically generated RSS feed broke due to the presence of HTML entities. This makes sense since RSS is not HTML but the issue is that it is generated from ...
1
vote
3answers
74 views

Are absolute or root-relative internal links better for SEO?

Does website seo score changes the way writing internal links as: <a href='http://example.com/def' title='abc'>Abc</a> or <a hef='/def' title='abc'>Abc</a> I know that ...
1
vote
1answer
848 views

What causes double slashes in url path?

I have a lot of problem with Google search, because it (stochastically) finds many duplicates in the form of http://www.example.com/path/filename.html http://www.example.com/path//filename.html I ...
1
vote
2answers
64 views

How can I avoid a too small h-bar (&hbar;) showing in Firexfox?

On the page https://www.motionmountain.net/bet.html the character h-bar (ℏ) is much smaller than an h, and hard to read. This happens only with Firefox (version 87.0, on OSX), not with Opera, Chrome ...
0
votes
1answer
32 views

Will removing a HTML section block from my all website pages, affects SEO and my website rank?

So I have a hidden HTML section block that is heavy and requires multiple HTTP requests, which slowing my website page speed load. So I am trying to implement a lazyloading methodology for this ...
1
vote
1answer
195 views

How do you use preload links for CSS containing only @font-face?

I'm declaring preload links for a CSS file containg ONLY @font-face rules. Should I add <link rel="preload" href="styles.css" as="style"> as="style" or &...

1
2 3 4 5
27