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
0 answers
10 views

Having the Current Search Results Tab Stay Selected When Query Changes

In Google custom search, there are two tabs. Images and Web (Search Results). When you are in the images tab, and you change or reenter your search query, the tab changes back to the Web tab. What ...
0 votes
0 answers
7 views

How to connect transition to ::before psuedo-element on hover? [migrated]

I created a div that contains a background image which upon hovering an orange tint shows up over it. I used ::before psuedo-element to accomplish this. However I want the hover to be smooth so I used ...
0 votes
0 answers
7 views

What is wrong with my CSS declaration? [migrated]

<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="chapter3.css"> </head> <body> <h1 class="blue&...
1 vote
0 answers
12 views

Display data on Html page [closed]

I have a website that displays data from external files. But there is a problem with the display as in the attachment. How can I control the page size to display the full data without compression ??
  • 21
2 votes
1 answer
57 views

Would changing my webpage's HTML content only partially affect my SEO?

I have a webpage like this: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content=&...
2 votes
2 answers
49 views

From a SEO perspective is <h1><div>PAGE TITLE</div></h1> the same as <h1>PAGE TITLE</h1>?

I am aware that Google uses text inside of h1 tags to help index webpages and this can improve a website's SEO ranking. Does nesting SEO-important text such as a page title inside of multiple html ...
2 votes
2 answers
29 views

From the SEO perspective, is it ok to change h1 content based on the sites query parameters?

I have a page with many cards and with filtering. The filtering is added to the query and I want the h1 to reflect what is filtered. While this is not problem to implement, should I, is this ok from ...
2 votes
1 answer
28 views

website navigation with multiple locations on one domain

I am now managing the Webpage for the Piano Institute Switzerland. The institute now has multiple locations and a webpage for each location. Due to the overhead managing all webpages, we thought about ...
3 votes
1 answer
97 views

Why would this malfunctioning site pad its error page? [closed]

One of my daily websites, gocomics.com, is currently down with an error message: The requested service is temporarily unavailable. It is either overloaded or under maintenance. Please try later. ...
3 votes
1 answer
177 views

Using rel="me" on Wix-hosted site

I'm trying to verify the link to my personal website from my mastodon profile. The site is hosted by Wix, so my ability to edit the code is limited. I know verification requires adding <a rel="...
  • 131
0 votes
1 answer
57 views

Rewrite Ampache music server URL/DocumentRoot with .htaccess

I have ampache music server installed under example.com/ampache/public. What should I write in example.com/.htaccess file to change the appearance of example.com/ampache/public into example.com/...
0 votes
0 answers
10 views

What's time of waiting (After updating description, title of the pages...) of searching sistem Google [duplicate]

I had PHP code, that prints meta-tags description (Only description). And in 1 week after changing descriptions amount of visitors had down (As I understand, due to Google algorithms had read it in ...
1 vote
1 answer
33 views

Use of canonical tag on website with different language versions AND separate mobile versions for each page

I have a website where every page (http://www.example.com) has a separate mobile version (http://m.example.com). And I simply use the rel="canonical" tag on one of those two pages to avoid ...
2 votes
1 answer
39 views

What is the impact of using edge workers to serve static versions of a dynamic application before loading JS?

Here is my dilemma: I have quite a complex e-reader single page application. It uses rewrites to route say /book/page/2 to /index.html for processing behind the scenes. The JS payload is quite heavy, ...
  • 123
0 votes
0 answers
16 views

Can having two identical sets of navigation links affect SEO if they are utilised to display differently on smaller and larger screen sizes? [duplicate]

I'm constructing a static website using astro js and bootstrap. Displaying similar links in two distinct ways is giving me problems. On desktop, it shows up as a vertical navbar that looks something ...
1 vote
0 answers
26 views

When doing URL forwarding from my custom domain from registrar to GitHub, mobile view doesn't work and gives tablet view instead

I have a website set up so that my custom domain forwards to my GitHub pages website. I set this so that it's easier to host static websites. When I view my website through custom domain on mobile ...
2 votes
1 answer
223 views

Nginx URL rewrite with static .html files for SEO

I'm trying to setup a Nginx configuration for nice URLs without .html extension. What I currently have works, but the / URI redirects to /index and I don't want that. The URL rewrite rules should be ...
  • 123
-1 votes
1 answer
51 views

Why isn't iframe designed to be able to load only a certain element of another website? [closed]

Reading the answers in iframe to Only Show a Certain Part of the Page, and given the fact that you can always hide and customize elements via the devtool, I have a hypothesis that the web (in general ...
  • 594
2 votes
1 answer
45 views

Getting rid of top and bottom border tails

Look at the image... and now could anyone tell me how to get rid of the top and bottom "tails" to the borderline (which are there because the line-height is set to 40px). The source code is ...
  • 279
2 votes
0 answers
42 views

What are the best practices for converting php website to nextjs website?

I have a website built using HTML and PHP. I want to revamp the design of the website but the code is literally messed up. It contains a lot of duplicate and junk code and cleaning it will be too much ...
5 votes
5 answers
2k views

How can I upload my files to a domain that I bought?

I secured domain on register.ca, and I have it in my account. How would I go about actually uploading my HTML & CSS files onto the website? Previously, I just used GitHub to host my sites, so I'm ...
0 votes
0 answers
13 views

.htaccess File Causing Page Not To Load Properly [duplicate]

I'm using a .htaccess file to get rid of the ".html" at the end of each URL on my website. This file works well at getting rid of the extension on all my pages except for one which displays ...
  • 19
1 vote
2 answers
57 views

Removing .html Extension On URL Inside Of An MAMP Server

Below is the code that I'm using on a .htaccess page in order to get rid of the ".html" at the end of the URL. It works fine on all pages except for one. Would any of the code on that one ...
  • 19
1 vote
0 answers
16 views

Website not showing in search results when searching with spaces [duplicate]

Website not showing in search results when searching with spaces Example: mywebsite.com (Without spaces) When i search "mywebsite" it shows #1 (With spaces) When i search "my website&...
  • 11
1 vote
0 answers
192 views

Fetch doesn't seem to work in Heroku deployed app

This is an issue that im bringing over from the general stackoverflow because I was told it should be asked here instead. The original issue is moreless gone now. The issue now is that when I am ...
  • 11
2 votes
1 answer
123 views

Changing HTML and CSS files don't show the change on the Apache virtual host?

I've been working on a website and I'm testing it on a virtual server hosted by my desktop. Whenever I change something on the HTML or CSS file I'm in, it shows the change I did on the LiveServer (the ...
3 votes
1 answer
157 views

Creating a multilingual page or two different versions of a page?

My website is totally in turkish language. But I needed a page example.php to be both turkish and english. I am planning on creating 2 different versions like example_tr.php, and example_en.php. The ...
  • 504
2 votes
0 answers
93 views

Allow Content Security Policy For Iframe With data:text/html

I'm trying to use iframe with data:text/html. My iframe tag is: <iframe id="preview" class="preview" src="data:text/html;charset=utf-8,%3Cscript%20src%3D%22https%3A//cdnjs....
3 votes
3 answers
77 views

Does changing a link without refreshing the page affect SEO?

I would like to understand whether changing a website's link without refreshing will allow web crawlers to effectively parse my page, and aid in SEO. I have a website, with a dropdown menu where you ...
  • 31
1 vote
1 answer
50 views

Locally Hosted Graphic User HTML Editor for Web Developing [closed]

I'm currently developing a new website for a small business, but I'm the only one that can edit via HTML/CSS/JS files. My boss doesn't want to rely on CMS for some reason, but wants some sort of GUI ...
1 vote
1 answer
49 views

Does Googlebot index closed HTML details element?

I have the following HTML details element that is closed by default. <details> <summary>Details</summary> <p> Something small enough to escape casual notice. </p&...
  • 131
2 votes
2 answers
38 views

Would using Bootstrap heading classes over semantic heading tags negatively impact SEO?

Will heading classes over semantic heading tags negatively impact SEO? Bootstrap Heading classes: <p class="h1">Heading 1</p> Semantic HTML Tags: <h1>Heading 1</h1>
user avatar
2 votes
2 answers
54 views

SEO-friendly duplicated (decorative) text

is there any "SEO-friendly" way to show a page title like below? It's easy to implement with an HTML code like this: <h2>Sample Title</h2> <span class="shadow">...
1 vote
1 answer
43 views

Display last modification date for non-Wordpress website in Google Search results

I have a simple HTML+PHP website. Google prefers the fresh content in my niche .. but I don't know how can I tell google the published date or the last modified date of any page on my website. I ...
user avatar
0 votes
0 answers
31 views

Why can I use Google web fonts in CSS without an Internet connection or them being installed locally on my computer?

I used a Google font for my website, which isn't stored locally on my computer. When I refresh the page, nothing goes wrong and the font is working fine. However, when I disconnect my Internet ...
0 votes
0 answers
11 views

Looking for web hosting with specific properties [duplicate]

I tried to search google and spent many hours trying to figure out whether are web hosting options with the following properties: A shared web hosting. Not a dedicated Server. PHP 8 or above. MySQL 8 ...
3 votes
0 answers
23 views

Start hosting with firebase

I made a new firebase project and web app, and i want to use firebase hosting on it. I have a directory set up on replit with html, js, css, but how do i host it on firebase? I have tried looking at ...
0 votes
1 answer
83 views

Refused to execute inline script with Comodo Trust Seal

I'm trying to add the Comodo Trust Seal on my site but it gives this error in chrome: Refused to execute inline script because it violates the following Content Security Policy directive: "...
0 votes
0 answers
20 views

Should I use the "nofollow" attribute for external links (for more link juice)? [duplicate]

My main question is: Should I use the "nofollow" attribute (rel="nofollow" inside links)? My aim, of course, is to get my pages on my site better ranked by Google. So what are the ...
user avatar
2 votes
0 answers
33 views

What's recommended size for HTML(page) response

Consider following example: https://www.gnu.org/software/make/manual/make.html https://www.gnu.org/software/make/manual/html_node/index.html 1 is whole document in single html with large html ...
  • 205
2 votes
1 answer
55 views

Can page text HTML structure big change affect on ranking?

On my website I use Wordpress and WP Bakery Page Builder plugin to construct my pages. I want to switch from WPBakery PageBuilder to Gutenberg editor. This will change the text HTML structure. Will ...
  • 105
0 votes
1 answer
346 views

My website's image does not work with twitter cards (unclear issues with robots.txt)

Problem I am trying to properly set up metadata for a twitter summary card on my website. I have everything in place, but the card image is not showing. I use Grav, but I guess it does not matter. ...
  • 188
1 vote
0 answers
15 views

hreflang sitemap with multiple language-region

i have 2 sitemaps only usage for template purpose, and use 2 sub-directory English(also other lang) and China with same contain. en-sitemap with 15urls (EN sub-directory), the contain like follow: ...
  • 11
2 votes
2 answers
283 views

Having multiple keywords separated by comma in the title of the page?

I want to target multiple keywords with same piece of content (I am thinking to add multiple keywords separated by commas in title and description of the page). So, is it the right approach or I am ...
1 vote
1 answer
169 views

Does onclick animation affect SEO?

We want to build the website with mind-blowing animations, but SEO is also important for us and I am wondering about the SEO effects in the case of CSS and JS animations. Let's say we want to build ...
3 votes
1 answer
206 views

Is Largest Contentful Paint (LCP) measured only above the fold?

A lot of sources mention that LCP is measured only above the fold, and stops measurements after a user action like scroll or key press. Though, I am able to get LCP for an image which is lazy-loaded ...
0 votes
1 answer
136 views

Will it affect SEO to use one header and footer file or copy the code in every page? [closed]

I want to create a static website. All of my pages have same header and footer. Should I have a single header/footer file and include it in my pages? OR should I reuse the code in all pages? Will any ...
  • 11
1 vote
1 answer
64 views

How can I have either php or html file running - whichever exists

I have these two rules and they appear to be working. How can I combine them into one rule #Force hmtl extn RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(....
2 votes
0 answers
90 views

Gatsby View Page Source not showing HTML

I'm trying to get my HTML code to show on view page source for SEO purposes. When I visit another Gatsby website, such as https://afsp.org/ for example and look at the view page source, and you try ...
3 votes
0 answers
12 views

How to whitelist page from Google Mobile Usability issues check?

My site has a page that admittedly only looks good on desktop. How can I tell Google Search Console "Thanks for the Mobile Usability issues warnings, no need to tell me again about this ...

1
2 3 4 5
28