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
14 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 ...
0
votes
0answers
18 views

Google Sites - Single Page Website

I am currently trying to implement a single page on google sites but I can't figure out how to make the menu pointing to specific one page sections. I do think it's possible since there's already a ...
0
votes
0answers
13 views

Allow Iframe on pages with X-Frame header for internal use on Firefox to read external HTML - the secure way - client-side-only solution [closed]

I am trying to customize my workflow. I am working at an IT company and we are running many services for managing our customers, running on different domains. I want to embed one page to the other ...
0
votes
1answer
15 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 '...
0
votes
1answer
24 views

Does dynamic changing content in html affect SEO? [closed]

I have one HTML layout and I'm showing content in it from a database, so it exists only when a user goes to a link on my website. Meta tags are also taken from DB. Does it affect SEO? Wouldn't it be ...
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 ...
1
vote
2answers
47 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 ...
1
vote
1answer
97 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 ...
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
73 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 &...
4
votes
1answer
73 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
2answers
44 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 ...
38
votes
9answers
27k views

Preventing robots from crawling specific part of a page

As a webmaster in charge of a tiny site that has a forum, I regularly receive complains from users that both the internal search engine and that external searches (like when using Google) are totally ...
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 ...
2
votes
0answers
18 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
53 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
6answers
13k views

Is there a way to save MS Word document as HTML w/o the ms proprietary stuff?

So normally I wouldn't use this feature ("Save as Web Page") but I have large documents from clients they just want put on their site as HTML, and formatting it all by hand seems like a waste of time. ...
5
votes
0answers
37 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 ...
0
votes
1answer
24 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
23 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 ...
62
votes
8answers
70k views

Anchor tag inside <h1> or <h1> inside anchor tag: which is better?

I am trying to use <h1> tags on my blog for the post title and came across one problem. Title is hyperlinked. Case 1: <h1> <a href=""> xyz </a> </h1> case 2: <a ...
1
vote
0answers
24 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 ...
5
votes
3answers
2k views

Getting Gravatar to appear in email Inbox

I have created a Gravatar for my email address for my business website through the Gravatar Website (gravatar.com). I have done some reading and understand that this gravatar should appear in peoples ...
2
votes
1answer
140 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
27 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
50 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
20 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
27 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
43 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>...
21
votes
2answers
27k views

Can I instruct the browser not to look for a favicon?

I have a website that doesn't have/need a favicon. Is there a way to instruct the browser not to waste a request looking for /favicon.ico ? I don't mean filtering logs, but something client-side, ...
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
36 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
37 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 ...
3
votes
3answers
7k views

Using PHP inside .html files not working as expected

Apache2, Linux, php5 I have added this line to my .htaccess file AddType application/x-httpd-php5 .htm .html running apace2ctl -m, shows this module loaded A php5_module (shared) I have a ...
1
vote
2answers
70 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
2answers
177 views

Why isn't Google Webmaster Tools reporting this backlink?

Index page <html> <head> <title>Links</title> <meta name="robots" CONTENT="index, follow" /> </head> <body> <div id=...
8
votes
2answers
15k views

Should menu titles (h1, h2, h3…) be inside or outside the <nav> tag?

Let's say I want to write a simple menu in HTML5. Should I write like this: <h1>My Menu</h1> <h2>Submenu 1</h2> <nav> <ul> <li><a href="#">...
2
votes
1answer
27 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
67 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 ...
0
votes
1answer
912 views

How to transform RDF to Microdata in a WordPress site?

I have a breadcrumb with RDF data and I want to adapt it to Microdata. First of all, I'm not sure about the structure, because it will work on a WordPress template. But I found this code: http://www....
1
vote
1answer
121 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
2answers
229 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 ...
1
vote
1answer
79 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
1k 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
3answers
3k views

How to trace origin of script injected in my webpage

I was looking through a static site I created on my local server, in my web browser, and found a curious call to an external script <script src="https://engowe.com/ad.php?u=...
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
27 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
214 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 &...
44
votes
6answers
14k views

Why aren't we supposed to use <table> in a design?

What are some clear and logical reasons for why we shouldn't be designing websites with tables? Where are the benefits, what has been driving this idea in the industry? When is it okay to use a table?

1
2 3 4 5
27