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.

43 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
19 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 ...
3
votes
0answers
215 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 ...
2
votes
0answers
28 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 ...
2
votes
0answers
26 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 ...
2
votes
0answers
96 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 ...
2
votes
0answers
236 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 ...
2
votes
0answers
11 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 ...
2
votes
0answers
294 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 ...
2
votes
0answers
147 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 ...
1
vote
0answers
29 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 ...
1
vote
0answers
11 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 ...
1
vote
0answers
28 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 ...
1
vote
0answers
21 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 ...
1
vote
0answers
134 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 ...
1
vote
0answers
514 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 ...
1
vote
0answers
34 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 ...
1
vote
0answers
27 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,...
1
vote
2answers
66 views

Can you put all the text in a static tag for SEO but completely re-write the page with JavaScript?

Can our website used the trick: putting all SEO data in some tag, but rendering all the web page elements with JavaScript? How would that work for SEO? May be like: <div> <a href="/about"...
1
vote
0answers
30 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="?...
1
vote
0answers
40 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 ...
1
vote
0answers
73 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 ...
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
0answers
65 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
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
185 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
0answers
362 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> ...
1
vote
0answers
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?
1
vote
0answers
80 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 ...
1
vote
0answers
37 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. ...
1
vote
0answers
92 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" /> &...
1
vote
0answers
222 views

checking for duplicate title and meta description tags across multiple subdomains

I know in Google Webmaster Tools, under "search appearance" for any domain, there's an "HTML Improvements" section which only checks crawled URLs specifically for that domain. My website has ...
0
votes
0answers
49 views

Is it SEO problematic to create footnotes with frontend JavaScript?

I have an RTL (Hebrew) MediaWiki 1.34.0 website in which I am having a serious problem creating footnotes for articles with the core Extension:Cite because its de facto lack of support in Hebrew, as ...
0
votes
1answer
18 views

Does the re-use of HTML email newsletter content for blog posts have SEO (or other) repercusions?

I am (in parallel) building both a newsletter subscriber list (using Mailchimp) and also a blog website (using Wordpress). I want to be as efficient as possible with the use of my content / copy. I ...
0
votes
0answers
15 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 ...
0
votes
0answers
9 views

Are a large SVG and a small SVG whose viewBox blows up its contents equal, with regards to perfomance?

I have a potentially large yet rather simple <svg> document inside my page. It contains the graphical elements of my web app. Its width and height are currently as big as the visible portion of ...
0
votes
0answers
18 views

Using the noscript tag as a wrapper for all site content

I want to make a primitive version of the site, which will be displayed only when JS is turned off. This version is also needed for better indexing by search engines. The main version of the site will ...
0
votes
0answers
11 views

How can i get my webpage in the results of the Google search news tab

My website is indexed by Google. It shows up pretty ok in the search results. But my website is a local news website and i want the articles to show up in the news tab of the Google search engine. ...
0
votes
0answers
11 views

Indicate that content shouldn't be indexed… an improved <noscript>

I have a web-based app (not primarily content-based) that relies on some modern browser tech to function. I want to show a default message in the markup for when the browser isn't running JavaScript ...
0
votes
0answers
20 views

Are HTML files edited with Word cross-browser compatible?

I edit a simple Word file (no images etc.) and want to put it on my website so that it is accessible to all visitors. So far, I exported it to PDF and it worked fine. But in order to save the hassle ...
0
votes
0answers
60 views

How to ensure a user doesn't miss a webpage crucial for constructive usage of another webpage?

I have a problem of the need to ensure that a user doesn't miss a webpage crucial for what I assume as a constructive usage of another web page. Personal example of this problem My website contains ...
0
votes
0answers
30 views

My download link I crafted on my site does not work on new browsers yet follows standards

In an effort to serve excellent image files to only legit guests of my site, I needed to make PHP code. I narrowed the problem down to a few lines of code as follows: The first piece is a simple web ...
0
votes
0answers
793 views

Why cannot I reproduce Confirm form resubmission scenario?

I have the following code, which is just a simple HTML form (POST method). I have tried to get the "Confirm form resubmission" message of the browser, by sending the form, hitting browser's back ...
-1
votes
1answer
290 views

How to do an accessible and SEO-friendly image header?

given these two classes (which I've copied from bootstrap 4.1.3): .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-...