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.

65 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
293 views

svg vs canvas for SEO

While choosing a charting library for my react application, one of the criteria that I am evaluating is whether the library works with canvas or svg internally. Apart from the various other factors ...
gaurav5430's user avatar
3 votes
0 answers
29 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 ...
lolBOT V9.17's user avatar
3 votes
0 answers
16 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 ...
Dan Jacobson's user avatar
3 votes
0 answers
81 views

Do HTML elements with the boolean attribute hidden get picked up by search engines?

I recently learned of the existence of the hidden attribute. It basically hides elements that are not relevant in the current state of the webpage (e.g., a user that is not logged in): <p hidden>...
Juan Marco's user avatar
3 votes
0 answers
26 views

What might select a field and scroll to it, without using 'scroll', 'focus', etc?

I have inherited maintenance of a mess of a project. There's a particular set of (rather tall) pages that scroll way down the page on every page load, and eventually it occurred to me that it's ...
KlaymenDK's user avatar
  • 131
3 votes
0 answers
270 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 ...
chharvey's user avatar
  • 811
2 votes
0 answers
144 views

What are the best practices for converting php website to nextjs website?

I have a website built using HTML and PHP. I want to revamp the design of the website but the code is literally messed up. It contains a lot of duplicate and junk code and cleaning it will be too much ...
vardan Kaushik's user avatar
2 votes
0 answers
421 views

Allow Content Security Policy For Iframe With data:text/html

I'm trying to use iframe with data:text/html. My iframe tag is: <iframe id="preview" class="preview" src="data:text/html;charset=utf-8,%3Cscript%20src%3D%22https%3A//cdnjs....
Ömer Faruk Demirel's user avatar
2 votes
0 answers
55 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 ...
Mohammad Hossein Fattahizadeh's user avatar
2 votes
0 answers
127 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 ...
Ethan Salonga's user avatar
2 votes
0 answers
30 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 ...
Aleš Kramžar's user avatar
2 votes
0 answers
190 views

Problem with iframe cloaking, How can I add all my website files into a domain name itself?

I have come to the point where a “simple” way of building websites is just not able to facilitate larger projects. I have been using repl.it to simply host and read files I have coded in HTML, CSS, JS ...
Cohen's user avatar
  • 141
2 votes
0 answers
160 views

Use .htaccess/SSH/Cpanel to prevent a specific part of a specific PHP script from being processed

I have a website built with MediaWiki CMS which I host on a CentOS based Apache "shared server environment" (SiteGround) in which I can partially control Apache by: .htaccess files SSH Some Cpanel ...
user avatar
2 votes
0 answers
35 views

Recommend Method for Showing Filtered Data?

Let's say you're displaying a list of products and you can filter the products by different attributes. The filtering is purely front end. Is it recommended to put all the products in the HTML and use ...
Chris Hayes's user avatar
2 votes
0 answers
32 views

Is there a way to use js templating with wordpress without impacting seo or ux?

I have one JSON file that contains the text content for my hundreds of Wordpress posts. I am using templating, mustache.js, to insert the text content and render the posts. This saves me a lot of time,...
newuser's user avatar
  • 21
2 votes
0 answers
104 views

Is there a problem in adding Adsense verification code via JavaScript?

I work with a certain CMS (MediaWiki) in which there is no direct control over HTML (as there is in Drupal Twig files for example); Hence, in this case, I have to load my Adsense verification code via ...
user avatar
2 votes
0 answers
2k views

How to 'noindex' a specific image on a specific page on my website?

I'm generally aware how the noindex HTML tag works and how to use it. However, I haven't managed to find a way to not index specific images on specific pages on my website. I'm looking for a ...
JoHKa's user avatar
  • 121
2 votes
0 answers
14 views

How to include a link in email that opens an Android app if available, but opens the website if not?

In HTML code for an email is there a way to have a fallback URL when a primary URL cannot be handled? For example: Open app when using Android Open website when clicking on it on a desktop I know ...
UberFace's user avatar
  • 121
2 votes
0 answers
957 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> ...
Eddie's user avatar
  • 121
2 votes
0 answers
311 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 ...
Tony's user avatar
  • 63
2 votes
0 answers
182 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 ...
Petrutech's user avatar
1 vote
3 answers
88 views

How to show my website on Google Search as example.com instead of www.example.com?

My website is currently showing as www.example.com on Google Search. Instead I would like it to be example.com. My DNS servers are properly configured. What I recently did is adding this line into the ...
Hello's user avatar
  • 11
1 vote
0 answers
20 views

Can I style <dt> directly within the tags?

I've inherited a project that contains a small web UI, which is a completely foreign land for me. Elements are displayed using the <dt> and <dd> tags that are styled using a CSS. However, ...
nora hiepe's user avatar
1 vote
0 answers
205 views

Why are Semrush and Ahrefs reporting 403 forbidden on FontAwesome Kits, despite crossorigin?

Having authorized my domain from within Font Awesome kit, and included crossorigin attribute in both my link and script tags as below, both ahrefs and semrush crawl reports continue to give me the ...
RodneyUK's user avatar
1 vote
0 answers
24 views

Having the Current Search Results Tab Stay Selected When Query Changes

In Google custom search, there are two tabs. Images and Web (Search Results). When you are in the images tab, and you change or reenter your search query, the tab changes back to the Web tab. What ...
Slender Tech's user avatar
1 vote
0 answers
30 views

When doing URL forwarding from my custom domain from registrar to GitHub, mobile view doesn't work and gives tablet view instead

I have a website set up so that my custom domain forwards to my GitHub pages website. I set this so that it's easier to host static websites. When I view my website through custom domain on mobile ...
lilsolar's user avatar
1 vote
0 answers
244 views

Fetch doesn't seem to work in Heroku deployed app

This is an issue that im bringing over from the general stackoverflow because I was told it should be asked here instead. The original issue is moreless gone now. The issue now is that when I am ...
pk550's user avatar
  • 11
1 vote
0 answers
24 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: ...
Alfan's user avatar
  • 11
1 vote
0 answers
27 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 ...
Maria_seo's user avatar
1 vote
0 answers
15 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> ...
Kuba Zábran's user avatar
1 vote
0 answers
44 views

meta data / tags for bootstrap modals

I created a website on bootstrap and a lot of content is in the modals (pop ups) of the webpage, I was wondering how do I tell search engines that for example Contact Us page www.example.com/#...
lados's user avatar
  • 11
1 vote
0 answers
24 views

Can you specify the max-snippet length in a X-robots-tag header?

The specs by Google does not address this issue. So, I would like to know what is the x-robots-tag equivalent for: <meta name="googlebot" content="max-snippet:20"/> Is it ...
Jesske's user avatar
  • 11
1 vote
0 answers
294 views

Prevent images from loading in display:none container until the container is shown

As a newbie to website development, I'm struggling to optimise my website to get it to load content only when needed. Aim: to stop the tab that has all the photo content from loading until the user ...
GIS_py's user avatar
  • 111
1 vote
0 answers
34 views

Mixed content (http, https) fix

I am a digital marketing with enough HTML/CSS skill to be dangerous, correct problems, but also cause them. So I tend to stick to WordPress. I inherited an entirely static HTML site that I'm trying ...
Patrick's user avatar
  • 11
1 vote
0 answers
124 views

How can I ensure Chromium Edge's Immersive Reader is available on my pages?

Immersive Reader seems to be quite picky about the pages on which it will enable the address bar button. While there is always the option to select a block of text and right-click to open it in the ...
hemp's user avatar
  • 111
1 vote
0 answers
128 views

html metadata for single-page React App

I am adding html meta data to my single-page react web app for the purpose of search engine optimization. Some answers on related stack overflow posts suggested using react-helmet to manage the meta ...
Xi Liu's user avatar
  • 111
1 vote
0 answers
29 views

Will adding a Age Disclaimer landing page to a site make it less search engine optimised?

I need to add an age disclaimer landing page for an adults only website but am worried that it will make the site less search engine optimised. The page will have a button (<18) which will ...
atman_lens's user avatar
1 vote
0 answers
921 views

Mobile Google Search Result Icon/Favicon Not Showing Up

I have put link rel=icon in the HTML with 48px icon size, tried with .ico and .png but the custom main site icon is not showing up in Google Search Result (Mobile). I have request reindex in Search ...
Jeaf Gilbert's user avatar
1 vote
0 answers
37 views

How to get site link image to show up reliably when posting to social sites?

I hope this is the right kind of question for this forum. I have seen this post but it didn't help or I didn't understand it well enough. I'm trying to have the feature so that when a link (to a ...
pineapplejoe's user avatar
1 vote
0 answers
41 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="?...
Tom Swiss's user avatar
1 vote
0 answers
46 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 ...
zwora's user avatar
  • 11
1 vote
0 answers
78 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 ...
Mazharul Haq SEO's user avatar
1 vote
0 answers
39 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 ...
mat boy's user avatar
  • 339
1 vote
0 answers
104 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 ...
Harry Francis's user avatar
1 vote
0 answers
26 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 ...
MisterO's user avatar
  • 11
1 vote
0 answers
396 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 ...
Mani's user avatar
  • 1,317
1 vote
0 answers
35 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?
Mani's user avatar
  • 1,317
1 vote
0 answers
88 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 ...
Andy's user avatar
  • 177
1 vote
0 answers
46 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. ...
io_berlin's user avatar
1 vote
0 answers
98 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" /> &...
John Sewell's user avatar