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
0 votes
1 answer
22 views

Duplicate content for desktop and mobile

front end dev here. Quite often the design team I work with produces desktop and mobile designs which are quite difficult to create responsively. While it can be done, I feel like I am using an ...
Richie's user avatar
  • 101
0 votes
0 answers
24 views

Unfitting Autocomplete Suggestions in GCSE

So, I'm experiencing some issues with the autocomplete feature in Google Custom Search Engine (GCSE). I'll get straight to the point. Why does it seem that most of the autocomplete suggestions that ...
Slender Tech's user avatar
0 votes
3 answers
72 views

SEO - Should my business name be my H1 tag?

I'm learning about SEO, but confused about where to use H1 and H2. Let's say I have a business called "Joe's Bakery." A brief description of it is, "Unusual Flavored Baked Goods" ...
CheeseFlavored's user avatar
14 votes
2 answers
7k views

What English word corresponds to the HTML keyword `div`?

Most of the tags in hyper-text mark-up language (HTML) have an English word or phrase associated with that tag. For example, the kbd tag is an abbreviation of the English word keyboard. What English ...
Samuel Muldoon's user avatar
0 votes
0 answers
39 views

Redirect from website.com to website.com/keyword1-keyword2/

When a user visits my page through the URL website.com, I want it to be redirected to website.com/keyword1-keyword2/, as I have all the relevant information and SEO power in the index.html file of ...
Jahan's user avatar
  • 21
2 votes
1 answer
34 views

SEO process for new wordpress site after upgrading from old HTML site

i have upgraded a old htlml site(created 15years back) to new wordpress site, when I search the site name in google it list out the home page and other inner page link such as about us, contact us etc ...
Siva K's user avatar
  • 123
0 votes
1 answer
21 views

What do you think about additional markup inside of Hx-Headings?

What do you think, and why, about additional HTML-markup inside of Hx-headings? Does it influence in any way the SEO? I.e. Example 1 <h1> <div> <span>Find the best</...
Evgeniy's user avatar
  • 10.1k
0 votes
0 answers
17 views

Table of contents in compliance with usability.gov 7.3

I'm trying to make the long pages on my site comply with usability.gov section 7:3 which is described here: https://www.powermapper.com/products/sortsite/rules/usegov7.3/ So I went ahead and started ...
mike_s's user avatar
  • 11
0 votes
1 answer
24 views

Custom "cookie solution" [closed]

I'm working on a website for a client who owns a restaurant. I've just finished developing it and I'm working on the part relating to the privacy policy and related cookies. The cookies used by the ...
emmeelite's user avatar
0 votes
1 answer
208 views

Use passive listeners to improve scrolling performance

Google's Lighthouse tests for CWV ran on my website include an issue stating that touch and wheel event listeners are not marked as passive. How and where to fix this? I have tried to check my file ...
Chek Reynaldo's user avatar
0 votes
0 answers
22 views

Shopify hreflang issues [duplicate]

I am getting issues with my hreflang tags on my Shopify store, specifically... Broken hreflang URL No self-referencing hreflang This is what I have tried inside theme.liquid: <head> <meta ...
user avatar
0 votes
1 answer
62 views

Does adding rel=dofollow dynamically affect SEO?

As you know, rel="dofollow" increases the Google page rank of a website added to the href link, but what if I generate it dynamically with JavaScript - does Google still understand it or ...
Garbarius's user avatar
0 votes
2 answers
29 views

Why is margin box said to be box around all other boxes? [closed]

One thing i cant understand when it comes to elements boxes is the margin box. For example mdn web docks defines it as follow : "Margin box: The margin is the outermost layer, wrapping the ...
KeeperOfDs's user avatar
1 vote
1 answer
46 views

Does Image HTML element actually contain image it links to?

One thing that always confused me in HTML and i never found satisfying explanation is specifics of image element. We are generally taught that image element is used to just simply embed an image into ...
KeeperOfDs's user avatar
1 vote
2 answers
398 views

Why is it that in folder structure used for Websites generally Web Pages are on same level of hierarchy as additional content related to them?

As someone getting started with web development seeing that web pages themselves and content related to them is on same hierarchy level in folder(directory) structure used for website development is ...
KeeperOfDs's user avatar
1 vote
3 answers
88 views

How to show my website on Google Search as example.com instead of www.example.com?

My website is currently showing as www.example.com on Google Search. Instead I would like it to be example.com. My DNS servers are properly configured. What I recently did is adding this line into the ...
Hello's user avatar
  • 11
1 vote
0 answers
20 views

Can I style <dt> directly within the tags?

I've inherited a project that contains a small web UI, which is a completely foreign land for me. Elements are displayed using the <dt> and <dd> tags that are styled using a CSS. However, ...
nora hiepe's user avatar
1 vote
1 answer
106 views

Does hiding image make loading faster?

Does hiding the "featured" image on WordPress single post with display:none make the page load faster? I understand the img tag is still loaded in the DOM, just wondering does it make any ...
Rob999's user avatar
  • 31
2 votes
2 answers
229 views

Is it OK the hide one H1 tag and replace it wth another one?

Is it OK if I use display:none to hide the theme's default h1 tag on single post and replace with another one I manually place? This is done for styling purpose. Generally, does display:none affect ...
Rob999's user avatar
  • 31
3 votes
1 answer
64 views

Should we implement the accesskey HTML attribute?

I'm researching whether to add accesskeys to our site and was wondering if they are commonly used nowadays for accessibility. I checked out the source code on a dozen or so large websites and didn't ...
linnse's user avatar
  • 131
0 votes
0 answers
22 views

Is it possible to control what image shows next to your website's name in Google search results? (not image search) [duplicate]

When I search for my website I find this image next to the search result in Google. Can I control what image is shown here and how? Could this be done through metadata for example?
M.KH's user avatar
  • 101
1 vote
0 answers
201 views

Why are Semrush and Ahrefs reporting 403 forbidden on FontAwesome Kits, despite crossorigin?

Having authorized my domain from within Font Awesome kit, and included crossorigin attribute in both my link and script tags as below, both ahrefs and semrush crawl reports continue to give me the ...
RodneyUK's user avatar
1 vote
1 answer
89 views

Why is my server 302-redirecting Lighthouse away from my robots.txt file, but not when I visit it with a web browser?

This is my robots.txt file: User-agent: * Disallow: /user/ Disallow: /user/* Disallow: /home/* Disallow: /adminpanel/* Disallow: /Valorant_Guess/* Disallow: /Leagueoflegends_Guess/* Disallow: /...
szocel's user avatar
  • 41
3 votes
3 answers
156 views

Should H1 tags on all pages in a section of the site be the same?

When navigating to various pages within the "About Us" section of our website, should the H1 tags, be the same or different for SEO? For example we have a page with "about us" as ...
juliank's user avatar
  • 31
2 votes
1 answer
2k views

Make a link for an address that opens the default map app

HTML provides for: <a href="tel:+5558675309">555-867-5309</a> for a link to dial a phone number <a href="mailto:[email protected]">[email protected]</a> to ...
Basil Bourque's user avatar
0 votes
0 answers
190 views

Why does Bing Webmaster Tools tell me that my h1 tag is missing?

Here is a snippet of code from my index.htm page. The h1 tag is there, so why isn't Bing recognizing it? <body class="designview landing-page sidebar-collapse"> <script> ...
JRN's user avatar
  • 1
2 votes
2 answers
479 views

How to Give Credit for Background Images

I'm using a background image (creative commons attribution license) on one of my pages. There was no direction on how to attribute the image. I want to give credit to the source, but since this is a (...
HomeSlice's user avatar
  • 133
0 votes
1 answer
63 views

Is there anything wrong with using a form select element for navigation?

I mean, I'd like to use a <select> list of options, and change document.location with javascript based on the selected option. I'd use it for product categories navigation. I already use it that ...
Luca Reghellin's user avatar
3 votes
1 answer
2k views

How to show line numbers for HTML in Developer Tools?

In Firefox Developer Tools, where the HTML is shown, I would like to see the line number, but line numbers are not shown. (It's worth mentioning that I am having the same issue in Chrome, as they are ...
Mentalist's user avatar
  • 227
0 votes
0 answers
58 views

Changed URL of a site, now Google won't index it

So within typo3 I changed the URL of site so it fits better with the content of the site. Then I got Search Console to crawl. Now it says that Google won't index the site because the canonical link ...
imconfused's user avatar
1 vote
0 answers
24 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 ...
Slender Tech's user avatar
1 vote
0 answers
19 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 ??
OmarDev's user avatar
  • 21
2 votes
1 answer
67 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=&...
yvgwxgtyowvaiqndwo's user avatar
2 votes
2 answers
246 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 ...
William Jensen's user avatar
2 votes
2 answers
54 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 ...
Jónas Grétar Sigurðsson's user avatar
2 votes
1 answer
74 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 ...
julian bechtold's user avatar
3 votes
1 answer
116 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. ...
Daniel Griscom's user avatar
3 votes
1 answer
278 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="...
Zachary's user avatar
  • 131
0 votes
1 answer
267 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/...
immeckro's user avatar
1 vote
1 answer
914 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 ...
pauleric5's user avatar
2 votes
1 answer
41 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, ...
Pete's user avatar
  • 123
1 vote
0 answers
30 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 ...
lilsolar's user avatar
2 votes
1 answer
1k 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 ...
Rumplin's user avatar
  • 123
-1 votes
1 answer
535 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 ...
Ooker's user avatar
  • 620
2 votes
1 answer
65 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 ...
Richard's user avatar
  • 311
2 votes
0 answers
143 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 ...
vardan Kaushik's user avatar
5 votes
5 answers
3k 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 ...
lilsolar's user avatar
0 votes
0 answers
14 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 ...
Richard's user avatar
  • 19
1 vote
2 answers
119 views

Removing .html Extension On URL Inside Of An MAMP Server [closed]

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 ...
Richard's user avatar
  • 19
1 vote
0 answers
18 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&...
ePrince's user avatar
  • 11

1
2 3 4 5
29