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.
1,415
questions
3
votes
2
answers
332
views
Display SEO-friendly musical chords above text in HTML
I'm currently rendering guitar chords above lyrics on my website like this:
span.chunk {
position:relative;
top: 15px;
display: inline-flex;
flex-direction: column;
vertical-...
2
votes
2
answers
422
views
Why should we use semantic HTML5 elements such as header and footer instead of div?
I'm designing a website, but some websites use semantic HTML5 tags like <header> or <footer> instead of div.
My question is, why do they use them like this, is there any harm in terms of ...
5
votes
1
answer
1k
views
Figure or Div, which should I use?
I'm designing a news site. I use thumbnails of news on the homepage. Should I use the div or figure tag for them?
Sample figure,
<a href="/news_url">
<figure>
<img src="...
0
votes
1
answer
93
views
<title> tag and favicon aren't correctly showed by Google Search [duplicate]
I'll go straight to the point.
For a few days I've been working on the SEO on my website and I noticed that the favicon still isn't showed by Google Search and that the <title> tag is showed ...
18
votes
2
answers
33k
views
Correct image dimensions when using Schema.org's logo/image
What are the correct image dimensions when using Schema.org’s logo/image (e.g., for a Brand)?
I want to create a logo for the brand with correct dimensions so that it doesn't look too distorted when ...
3
votes
1
answer
488
views
Best SEO-friendly approach for icon links?
I'm having trouble finding info on this. I'd like to know what is the best way to markup icon links so Search Engines can make sense of it. Google's validator tools seem to ignore title attributes.
...
13
votes
2
answers
9k
views
How to improve extremely slow page load time on a 23MB web page full of SVGs?
I have a webpage that is full of inline-SVG around 140+ inline SVGs! Just the HTML file size is 23MB, plus there is external CSS and JavaScript loading, though that is roughly only around 30KB. The ...
5
votes
2
answers
730
views
Does using onclick to redirect parameters impact SEO?
For SEO, I need to have my link https://www.example.com/ on a third party website. However, I also need this website to pass parameters to my site.
If the third party website used the below structure ...
20
votes
8
answers
8k
views
Is inline JavaScript good or bad?
I've currently switched from WordPress to Yii framework and an external developer is rebuilding my site.
One thing I notice is that each time he invokes AJAX / jQuery the Yii way, it embeds inserts ...
9
votes
1
answer
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 ...
12
votes
1
answer
10k
views
What is the difference between noopener and noreferrer?
I am learning about the merits of including rel="noopener noreferrer" for external links.
What is the difference between these two attribute values? When should I use noopener, and when ...
4
votes
6
answers
6k
views
How to convert an HTML tree to PDF?
How to convert an HTML tree (actually this one) to PDF?
7
votes
2
answers
5k
views
Convert Microsoft Word documents (.doc/x) into HTML files [closed]
Does anybody knows of a good application to get it done quickly and efficiently ?
I bought Word Cleaner but the results are merely sufficient and I need to go over all the generated html files to ...
2
votes
0
answers
31
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 ...
1
vote
1
answer
288
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
1
answer
835
views
SVG inline title in H1 for SEO
I would like to use in my H1 a SVG inline using title to put my text/keyword.
eg:
The classic way
<h1>My Title</h1>
My idea
<h1>
<svg>
<title>My Title</title>
...
1
vote
2
answers
54
views
Setting up a classic webring — should I add `rel=sponsored` to the links?
Back in the day, when backlinks weren't such a spam vector, sites (usually small personal sites) used to be part of webrings; they'd dedicate part of their pages to promoting other sites in the same ...
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>
...
1
vote
2
answers
246
views
Do tags that are not recognized by HTML affect SEO?
For some reason, I'm trying to use tags that are not included in HTML tags, for example <new_tag>This is new to html</new_tag> Everything seems to work as I wanted across all browsers, but ...
2
votes
1
answer
1k
views
Must the image url in a sitemap file begin with the same domain the file is stored on?
I remember when making a sitemap, all URLs defined in between <loc> and </loc> must be part of the same domain as the domain the file is stored on. For example, I can use this line in my ...
2
votes
4
answers
2k
views
Does styling links in the same way as non-clickable text affect seo?
I have a web design where a elements looks exactly like p elements. Pages may have many links so I want the links to look similar to normal text for readability reasons. Does this affect SEO in any ...
0
votes
1
answer
121
views
Google test results html is different from view source html
When I see page html in google test rich results I see SearchAction and WebSite attributes in Rendered Html and there is an error about it.
'SearchAction' object must be nested inside a 'WebSite' ...
1
vote
1
answer
40
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 ...
1
vote
0
answers
13
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 ...
5
votes
2
answers
941
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 ...
11
votes
2
answers
6k
views
Does minifying HTML have an impact on SEO?
What happens when I minify my HTML in SEO terms? I mean, I minified my HTML which means that every <meta... /> tag is being placed on one line.
Will this affect my SEO at all?
1
vote
3
answers
199
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
2
answers
66
views
How can I avoid a too small h-bar (ℏ) 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 ...
2
votes
1
answer
6k
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
1
answer
56
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
1
answer
567
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
1
answer
80
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 ...
2
votes
2
answers
2k
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 ...
42
votes
9
answers
34k
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 ...
2
votes
4
answers
85
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 ...
7
votes
6
answers
16k
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.
...
2
votes
0
answers
207
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
3
answers
7k
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 ...
0
votes
0
answers
84
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
1
answer
167
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
1
answer
26
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
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/#...
3
votes
0
answers
84
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>...
24
votes
2
answers
31k
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
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 ...
1
vote
0
answers
324
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
1
answer
156
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
3
answers
9k
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
2
answers
76
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
2
answers
190
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=...