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
0 answers
8 views

Does changing a link without refreshing the page affect SEO?

I would like to understand whether changing a website's link without refreshing will allow web crawlers to effectively parse my page, and aid in SEO. Background: I have a website, with a dropdown menu ...
user avatar
  • 11
0 votes
0 answers
7 views

Responsive Icon Footers [closed]

Currently developing a multi-device site using a script switch presenting desktop or mobile view sites depending on device width. Desktop version runs pretty well. My problem is I would like the ...
user avatar
1 vote
1 answer
41 views

Locally Hosted Graphic User HTML Editor for Web Developing [closed]

I'm currently developing a new website for a small business, but I'm the only one that can edit via HTML/CSS/JS files. My boss doesn't want to rely on CMS for some reason, but wants some sort of GUI ...
user avatar
0 votes
0 answers
6 views

HTML/CSS/JS - Issues creating two vertical sections [migrated]

I'm trying to create two vertical sections for a web page I'm making (using netlify connected to my github repo) and I cannot seem to set up two vertical sections. I'd ideally like for the left-most ...
user avatar
1 vote
1 answer
28 views

Does Googlebot index closed HTML details element?

I have the following HTML details element that is closed by default. <details> <summary>Details</summary> <p> Something small enough to escape casual notice. </p&...
user avatar
  • 111
1 vote
2 answers
27 views

Would using Bootstrap heading classes over semantic heading tags negatively impact SEO?

Will heading classes over semantic heading tags negatively impact SEO? Bootstrap Heading classes: <p class="h1">Heading 1</p> Semantic HTML Tags: <h1>Heading 1</h1>
user avatar
0 votes
0 answers
7 views

CSS to force a container to properly fit around `<embed>` text, without introducing scroll bars? [migrated]

I have a figure that contains an <embed> element: <head> <meta charset="UTF-8" /> <title>Matroid Partitioning</title> <meta name="viewport&...
user avatar
2 votes
2 answers
45 views

SEO-friendly duplicated (decorative) text

is there any "SEO-friendly" way to show a page title like below? It's easy to implement with an HTML code like this: <h2>Sample Title</h2> <span class="shadow">...
user avatar
1 vote
1 answer
26 views

Display last modification date for non-Wordpress website in Google Search results

I have a simple HTML+PHP website. Google prefers the fresh content in my niche .. but I don't know how can I tell google the published date or the last modified date of any page on my website. I ...
user avatar
0 votes
0 answers
23 views

Why can I use Google web fonts in CSS without an Internet connection or them being installed locally on my computer?

I used a Google font for my website, which isn't stored locally on my computer. When I refresh the page, nothing goes wrong and the font is working fine. However, when I disconnect my Internet ...
user avatar
0 votes
0 answers
11 views

Looking for web hosting with specific properties [duplicate]

I tried to search google and spent many hours trying to figure out whether are web hosting options with the following properties: A shared web hosting. Not a dedicated Server. PHP 8 or above. MySQL 8 ...
user avatar
2 votes
0 answers
20 views

Start hosting with firebase

I made a new firebase project and web app, and i want to use firebase hosting on it. I have a directory set up on replit with html, js, css, but how do i host it on firebase? I have tried looking at ...
user avatar
0 votes
1 answer
23 views

Refused to execute inline script with Comodo Trust Seal

I'm trying to add the Comodo Trust Seal on my site but it gives this error in chrome: Refused to execute inline script because it violates the following Content Security Policy directive: "...
user avatar
0 votes
0 answers
19 views

Should I use the "nofollow" attribute for external links (for more link juice)? [duplicate]

My main question is: Should I use the "nofollow" attribute (rel="nofollow" inside links)? My aim, of course, is to get my pages on my site better ranked by Google. So what are the ...
user avatar
2 votes
0 answers
30 views

What's recommended size for HTML(page) response

Consider following example: https://www.gnu.org/software/make/manual/make.html https://www.gnu.org/software/make/manual/html_node/index.html 1 is whole document in single html with large html ...
user avatar
  • 205
2 votes
1 answer
55 views

Can page text HTML structure big change affect on ranking?

On my website I use Wordpress and WP Bakery Page Builder plugin to construct my pages. I want to switch from WPBakery PageBuilder to Gutenberg editor. This will change the text HTML structure. Will ...
user avatar
  • 105
0 votes
1 answer
89 views

My website's image does not work with twitter cards (unclear issues with robots.txt)

Problem I am trying to properly set up metadata for a twitter summary card on my website. I have everything in place, but the card image is not showing. I use Grav, but I guess it does not matter. ...
user avatar
  • 188
1 vote
0 answers
12 views

hreflang sitemap with multiple language-region

i have 2 sitemaps only usage for template purpose, and use 2 sub-directory English(also other lang) and China with same contain. en-sitemap with 15urls (EN sub-directory), the contain like follow: ...
user avatar
  • 11
2 votes
2 answers
89 views

Having multiple keywords separated by comma in the title of the page?

I want to target multiple keywords with same piece of content (I am thinking to add multiple keywords separated by commas in title and description of the page). So, is it the right approach or I am ...
user avatar
1 vote
1 answer
62 views

Does onclick animation affect SEO?

We want to build the website with mind-blowing animations, but SEO is also important for us and I am wondering about the SEO effects in the case of CSS and JS animations. Let's say we want to build ...
user avatar
3 votes
1 answer
95 views

Is Largest Contentful Paint (LCP) measured only above the fold?

A lot of sources mention that LCP is measured only above the fold, and stops measurements after a user action like scroll or key press. Though, I am able to get LCP for an image which is lazy-loaded ...
user avatar
0 votes
1 answer
44 views

Will it affect SEO to use one header and footer file or copy the code in every page? [closed]

I want to create a static website. All of my pages have same header and footer. Should I have a single header/footer file and include it in my pages? OR should I reuse the code in all pages? Will any ...
user avatar
  • 11
1 vote
1 answer
52 views

How can I have either php or html file running - whichever exists

I have these two rules and they appear to be working. How can I combine them into one rule #Force hmtl extn RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(....
user avatar
2 votes
0 answers
31 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 ...
user avatar
2 votes
0 answers
10 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 ...
user avatar
3 votes
1 answer
31 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 ...
user avatar
  • 697
3 votes
1 answer
47 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 ...
user avatar
  • 83
2 votes
1 answer
51 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 ...
user avatar
1 vote
1 answer
48 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 ...
user avatar
1 vote
1 answer
69 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 ...
user avatar
2 votes
1 answer
38 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 ...
user avatar
4 votes
1 answer
124 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 ...
user avatar
3 votes
1 answer
37 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="//...
user avatar
  • 423
2 votes
2 answers
64 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 ...
user avatar
2 votes
1 answer
43 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 ...
user avatar
  • 21
2 votes
2 answers
63 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/...
user avatar
2 votes
1 answer
89 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 ...
user avatar
4 votes
1 answer
330 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 ...
user avatar
  • 121
2 votes
1 answer
81 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 ...
user avatar
1 vote
0 answers
25 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 ...
user avatar
1 vote
1 answer
39 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="/&...
user avatar
  • 109
0 votes
1 answer
27 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 ...
user avatar
3 votes
3 answers
87 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 ...
user avatar
5 votes
2 answers
794 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 ...
user avatar
  • 183
1 vote
1 answer
127 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 ...
user avatar
  • 13
2 votes
1 answer
62 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?
user avatar
4 votes
2 answers
88 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 ...
user avatar
  • 143
2 votes
2 answers
108 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 ...
user avatar
2 votes
1 answer
83 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&...
user avatar
3 votes
1 answer
267 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="...
user avatar
  • 109

1
2 3 4 5
28