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
0answers
11 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 ...
-1
votes
0answers
12 views

trying to hide a “0” value from a HTML display [closed]

Is there any way to hide an HTML field based on the displayed value of "0" I have an ecomm site that displays Quantity available with a numeric value. I only want to display the number if it ...
5
votes
2answers
61 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
60 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
136 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
50 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
27 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
82 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
vote
2answers
51 views

How to remove all .html extensions from all pages of site running under Apache?

On a shared hosting environment based on CentOS-Bash, Apache (with Nginx as a "reverse proxy"), PHP and MySQL I host a MediaWiki website. Normally, no webpage has a .html extension. I have ...
2
votes
0answers
20 views

Do the <detail> and <summary> HTML tags which hide text until clicked have any effect on SEO?

For example: <details> <summary> short summary </summary> long details </details> Will Google treat "long details" normally or will it ...
2
votes
4answers
54 views

Is it better for SEO to link an entire section, or just the “read more” inside it?

I have an question that I'd like to get an in-depth answer for and could not find an answer. If we assume that both of the following are styled exactly the same, which is better/worse/right/wrong ...
5
votes
0answers
42 views

How do search engines treat spaces that are not U+20?

Introduction A problem with writing HTML pages for agglutinative languages, is that search engines generally work poorly when trying to parse them. Often-times, searches with correctly written ...
1
vote
1answer
29 views

HTML entities appearing incorrectly in Google SERPS

I have always created my web pages to ensure they can be validated by W3C. Namely, when I am using HTML entities in my title tag or meta description, I will ensure that these characters are being ...
0
votes
0answers
16 views

How long does it take to index the page? [duplicate]

I published my web-app 1 week ago and it took 2 days to be indexed. But I made some changes to the HTML to improve the SEO four days ago and the changes have not yet been indexed even with the number ...
0
votes
0answers
25 views

Can this code using 'display:none' hurt my SEO? [duplicate]

I'm trying to solve a problem with a content that I'm putting in a page with an iframe, the problem is: I want the SEO of that iframe but in the principal page, I wrote a collapse with JavaScript but ...
1
vote
0answers
25 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 ...
2
votes
1answer
169 views

URL is unknown to Google - Will this still be indexed?

I am cloaking my website over a site I have developed in replit, but found a way to cloak over a pre-existing domain through managing DNS records and choosing a "cloak" method. This is a ...
0
votes
0answers
34 views

SEO Content Length issue: Split html source into multiple files

I am quite novice to SEO and I own a website called pierre-alexandre.io. Since it's a single page with a lot of HTML, I decided to split the html source into 3 different files. So my index.html looks ...
3
votes
1answer
52 views

How can I find and remove WordPress malware resulting in URLs with this styling: / top:0; left:-9999px

I'm breaking my head for 2 days with this one, and would appreciate some extra thoughts. These links are found in wp-content/cache/wp-rocket .html files only, while they are not present on the actual ...
1
vote
1answer
21 views

How to interpret this html page and where do I add meta tag

I'd like to redirect my webpage to another webpage. I used a template to develop the website and I couldn't read the code on this page. Could anyone tell me what does the code below means? --- layout: ...
1
vote
0answers
28 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/#...
3
votes
0answers
44 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>...
4
votes
1answer
74 views

Upgrading my website to be multilangual, is this use of canonical code correct?

I have a good search-engine ranked webpage written in Dutch (=NL) and I have just upgraded my site to be in French too. So I've created subdirectories for NL and FR, but my root/index is now exactly ...
1
vote
0answers
21 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 ...
1
vote
0answers
56 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 ...
0
votes
1answer
38 views

Anti-spam question and google recaptcha added for html contact form but still getting spam messages, how to completely stop?

We implemented the below anti-spam question code into our html contact form. Also google recaptcha is active on the form. But still getting spam of dating and automated other spam messages. Here is ...
0
votes
1answer
17 views

Problem of URLs with internal links with 'base href'

I've got a website with includes the following directive in the HEAD section: <base href="https://example.com" /> Now, I want to create internal links to sections within the page '...
2
votes
1answer
28 views

How to upload a prepared html page on Google sites?

In order to create an html page using Google sites, there are some tools and templates in the Google sites itself; however, I did not find an option for uploading an html page (site) that has been ...
1
vote
1answer
20 views

500 Internal Server Error for *.html and *.htm files [closed]

I look after the website airandmore.at, it is a wordpess site. Now I ran into the problem that *.html and *.htm requests don´t work, for example do I get a "500 Internal Server Error" in ...
2
votes
1answer
69 views

Will Google Images ignore images with empty alt text?

You can put images that are just decorative into a HTML document like this, by setting their alt text to nothing: <img src="decorative.png" alt="" /> This means that screen ...
1
vote
1answer
169 views

css,js,img folders not available for subdomain pointing to subfolder

I created a subdomain for my site subdomain.example.com I then pointed it to a subdirectory inside the /public_html folder on the server, where i created an index.html file. I referenced all assets ...
1
vote
1answer
105 views

Adsense TOS regarding preconnecting origins

Is it against adsense TOS if I preconnect origins like pagead2.googlesyndication.com, googleads.g.doubleclick.net, tpc.googlesyndication.com and others that are commonly used by adsense? The ...
9
votes
1answer
2k views

Why do some web pages bake images into their HTML?

Some webpages bake image data into the HTML, like this one which has baked it into a piece JavaScript code, making the size of the HTML document itself reach several MB in size. Why do some web ...
1
vote
0answers
18 views

Where to put anchor tags in Angular CSR Applications such that routes get indexed? [duplicate]

I built this site with Angular 10: https://fireflysemantics.com/ And when the top level domain is visited it reroutes to this: https://fireflysemantics.com/welcome However There's no link to that from ...
1
vote
2answers
28 views

Controlling crawling of a website using semantic headings structure

I implemented website for my company. One of my focuses was using as semantic structure for the HTML as possible. So I used <section>s and marked each section properly with heading tag (<h1&...
2
votes
2answers
227 views

How do you prevent HTML special character coding from displaying on a website?

An article in the Wall Street Journal (wsj.com) displays HTML special character code instead of the actual character, the greater-than sign. Thus, instead of displaying >, the article displays &...
1
vote
2answers
268 views

Regarding SEO, is there difference between em and i, strong and b tags

HTML tags, strong and b tags result visually same to bold, em and i tags for italic. Does the search engines or browsers treat them differently or give priority one on another? What to alternate tag ...
0
votes
1answer
23 views

How to Improve Press Release Distribution To News Bots On Public Company Website

I have a website for a publicly traded company that has been issuing press releases about once a month, however none of these releases are showing up on any of the major stock watch apps/sites. Let me ...
2
votes
1answer
23 views

How to create a html file offline with app cache

We have an online html file that is accessible through the browser, we want this to be available offline and looking in to it the best thing would be using the App Cache with a manifest file. I ...
1
vote
1answer
51 views

Google page title not matching html <title> tag

I've written an online book. When I search for the book on Google, it is labeled as <no_title> rather than the title in the HTML's <title> tag. Any idea how I can update the title in the ...
1
vote
2answers
35 views

Using two domain names in a single folder

I have inherited an English/French static web site. The original developer created it so all the html files are in the root directory of the English domain and added "-fr" to the French file ...
1
vote
0answers
32 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 ...
5
votes
4answers
796 views

Would it help SEO to put only keywords inside header tags and style other text beside it to look like part of the header?

So, I have this suggestion by a client - asking me to break the title on every section into two tags. They want to replace <h*> tag with a combination of <h*> and <p> tag such that ...
3
votes
0answers
23 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 ...
1
vote
1answer
68 views

Do I need to have headers attributes in <td> elements for accessibility or can scope attributes be used alone?

I'm trying to make a website I'm working on meet accessibility requirements. I've checked it at https://achecker.ca/checker which complains about all the <td> elements in my tables not having id ...
2
votes
2answers
75 views

Can in-page anchors link to themselves for SEO?

My page has a lot of sections. Each section has a unique anchor tag like <h2 id="anchor-text">. Is it a good practice to link anchors to themselves <h2 id="anchor-text">...
0
votes
2answers
116 views

SEO impact of h2 or h3 tag above h1 tag

I have several hundreds of pages with good SERPs. I have a requirement to add a common sub section (kind of note) with a single heading and and a couple of lines beneath the heading. I will be using a ...
1
vote
2answers
94 views

How to avoid that H1 tag is used for SEO, “fake” H1 with CSS

What is the best and easiest way to provide something like the H1 tag but in a way that it doesn't affect google rankings? Our homepage sometimes is used for advertisement, this should be in the H1 ...
1
vote
3answers
96 views

Does Google ignore empty tags?

In my source code, I have two H1 tags. The first is used for my page title and the second is in not populated: (<h1></h1>) Does Google read this as an H1 tag still, or will it ignore this ...

1
2 3 4 5
27