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
15 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
47 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 ...
0
votes
0answers
6 views

Appropriate Markup for SEO, Content Flow, and Accessibility [closed]

I have a design that has a section that looks like the following: As with anything, this could be marked up in several ways: <section> <header> <p>About Area Title<p&...
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
31 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
22 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
1answer
23 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 ...
37
votes
8answers
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 ...
0
votes
0answers
11 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
19 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
68k 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
23 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 ...
1
vote
1answer
66 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
24 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
46 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
19 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: ...
0
votes
1answer
10 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 '...
1
vote
0answers
25 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/#...
4
votes
0answers
63 views

Upgrading my website to be multilanguage, is this use of cannonical code the right way?

I have a good SE 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 en FR, but my root/index is now exactly the same as my ...
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
20 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
28 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
35 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
23 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
19 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
65 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
903 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
80 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
173 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
55 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
2k 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
207 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
13k 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
vote
3answers
85 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 ...
5
votes
4answers
791 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 ...
4
votes
1answer
3k views

Should it be beneficial to put dot (period) in the end of Image Title tag's text or ALT text?

When I looked in the Google for such data I found only one article that deals with ALT attributes and (if I understood correctly) clues that indeed it is logical to put dots in the end of ALT text ...
1
vote
1answer
50 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 ...
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
21 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
2answers
34 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 ...

1
2 3 4 5
26