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
1answer
17 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
46 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
21 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 ...
0
votes
0answers
5 views

CSS / HTML button:hover issue? [migrated]

I'm new to web design and am leaning it to be able to run my own page and potentially more. This may not be the right area for this post or it might, but I have an issue that does not resolve by ...
1
vote
1answer
22 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
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
199 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
73 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
21 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
19 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
49 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
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
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 ...
5
votes
4answers
780 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
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 ...
1
vote
1answer
50 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
66 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
64 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
56 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
76 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
vote
2answers
37 views

Does it matter if blockquotes contain quote characters for SEO or accessibility?

If I have a block quote <blockquote> <p>“Time is an illusion. Lunchtime doubly so.”</p> </blockquote> Does it matter or impact seo if I do or don't include quote ...
1
vote
1answer
34 views

Switch properly from HTML website to WordPress without hurting Google rankings

I'm about to switch my current HTML website to WordPress. My website has been up since 2006. I think my situation is pretty standard. Here are the main details of the transition: My current site is ...
1
vote
1answer
31 views

Does using wordpress builders affect SEO rank?

In our blog, we used to use the normal WordPress editor to publish any new post to our blog, but now we aim to use a unified skeleton for each post where each post is divided into 4 or 5 different ...
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
29 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 ...
2
votes
1answer
37 views

How can Wagtail CMS pages be edited directly as HTML, instead of as the default WYSIWYG block editor?

I work on a website that uses Wagtail CMS, a Django web framework. Its page editor uses blocks (https://docs.wagtail.io/en/v2.9/topics/pages.html) and I don't see any simple options or instructions ...
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 ...
0
votes
1answer
48 views

What is the correct way to use image in place of the H2 tag without affecting the SEO ranking in a bad way?

I'm designing a WordPress post template where I have more than one section on the page each section has a picture as it's main heading. my question here is what is the best practice to implement this ...
0
votes
2answers
27 views

H1 tag word with two styles

For the purpose of playing with the words I have H1 tag with different styles. Moreover those styles are applied two to one word. For example: <h1>Some<span>thing</span> dif<span&...
1
vote
1answer
22 views

Question on search engine optimization for nodejs website

I just made my first website and I had some questions about how google would index it. For this website, content is only generated once the user interacts with a map seen on the website. I read this ...
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
20 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 ...
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 ...
0
votes
1answer
59 views

How to cache Images & JS files on static HTML page

I want to cache image & JS files on a static webpage. and trying to improve browser cache score, after adding following tag it doesn't make any difference to the cache score which remains at 49. ...
0
votes
0answers
22 views

Should I use and iFrame or Javascript for the best SEO [duplicate]

I am currently doing some research as I'm wanting to build a sort of jobs board. Users can add jobs on my site, and then embed the list of jobs onto their site. From my research, I can tell there are ...
1
vote
1answer
27 views

How to set H1 tag on my site's homepage that has a logo?

Hi so on my website I only have a logo etc, and I don't use any headline/banner (h1) on the homepage. I wanted to ask how do I place a H1 tag into this homepage which I've read is good for SEO? My ...
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 ...
1
vote
1answer
21 views

Will Googlbot and other crawlers see content inserted by JavaScript on the window load event?

Many robots, especially Googlebot, can read content written by JavaScript on sites. There are some methods developed especially for site speed. At the beginning of these, do some operations after the ...
1
vote
1answer
80 views

YouTube Subscribe button/link without redirect

I want to embed a youtube subscribe button in my webpage. But each time the subscribe button is clicked, it redirects the user to the YouTube app to subscribe. I want the user to stay in my website, ...
0
votes
1answer
16 views

Options -Indexes Blocking external JavaScript [closed]

I have a problem. I do not what to be able users to list in my web so I use this: Options -Indexes For whatever reason the external JavaScript is not loading. But when I erase this line in .htaccess ...
4
votes
3answers
38 views

How to use <q> with RTL Hebrew alphabet

If I have a section of text with Hebrew characters: <p> אאאאא <q>הללויה</q> פֿון לענאָרד כּהן אויף ייִדיש </p> <p> <q>הללויה</q> פֿון לענאָרד ...
0
votes
0answers
20 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
1answer
25 views

Speeding up loading time of large html file [closed]

I am hosting a static web page, which you can visit at nswcorona.imfast.io. It is a very large index.html file with many elements (displaying geo-data), and takes about 10-15 seconds to load. I am new ...
3
votes
1answer
39 views

Should I add a language code in my HTML if I have just one language?

Should I do this? <!DOCTYPE html> <html lang=en_US> <head> Instead of my current code: <!DOCTYPE html> <html> <head> If I only use just one language (meaning: ...
3
votes
1answer
45 views

Is it correct that I no longer need to escape Extended Latin characters in HTML when using UTF-8 encoding?

Some background first: 2003 - 2010 In 2003, I switched from HTML 4.01 to XHTML 1.0 and encoded my XHTML documents, using: <meta http-equiv="Content-Type" content="text/html; charset=ISO-...
1
vote
0answers
10 views

Scripting for After Effect [closed]

I'm trying to make a simple script for After effects, i HAVE A GOOD KNOWLEDGE WITH java Script,css and html I have used brackets and Adobe Extend script tools but I think I need to arrange the steps ...
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. ...

1
2 3 4 5
26