Skip to main content

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
2 answers
34 views

How is a website using url "example.com/index.php?id=" for every page storing and calling its content?

It's been a while since I've been heavy into webdev and I have a question about ?id=. The website in question is not using a typical silo structure, as in: "example.com" > "example....
D M's user avatar
  • 61
0 votes
0 answers
35 views

Simplified page view with URL

Earlier there was a Google url https://www.google.com/reader/view/?url= where one got a simplified page view of any url. Now this service is dead - you get just a 404. Does somebody know something ...
Evgeniy's user avatar
  • 10.1k
0 votes
1 answer
37 views

What does trailing slash on void elements has no effect and interacts badly with unquoted attribute values mean?

For reference here is the head tag of one of my websites. <!-- Basic--> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/&...
Neil Meyer's user avatar
1 vote
2 answers
46 views

Google SERP not being updated despite new title and meta

When I first published and submitted/indexed my site, I didn't have any html tags. I realized that quickly and fixed the problem. I've resubmitted my site with the proper seo stuff, but it's not ...
No Name's user avatar
  • 113
1 vote
1 answer
25 views

JS files Listed several times in Page Speed

My website has a few js files at the bottom. As you can see on the picture, some of them are listed several times as per the index page itself. Does it mean they're downloaded more than once? Thanks
Pixelkomando's user avatar
0 votes
0 answers
16 views

How to Directly Serve index.html on Root Domain with Namecheap Hosting and Bitbucket

I'm facing an issue with configuring my website hosted on Namecheap and using Bitbucket for version control. Here's the scenario: My website's domain is mywebsite.com. The index.html file, along with ...
user avatar
0 votes
1 answer
16 views

HOW TO BRING CENTRE ALIGNMENT IN WEB PAGE USING HTML? [closed]

In html, what can we write in the code to bring the content of my web page in the center ?? I have tried to write the code within "center" tag and "/center" but it's not working. ...
Sanchali's user avatar
0 votes
0 answers
22 views

Issue with Thumbnail Display in Google Search Results

I have a small startup, and I created a basic website in HTML for my company. Everything is fine, except whenever I google search my company name, it shows this random thumbnail on the right side of ...
Marcus Caesar's user avatar
0 votes
1 answer
32 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
28 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
174 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
44 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
25 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
19 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
  • 21
0 votes
1 answer
30 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
248 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
33 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
74 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
30 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
47 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
699 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
99 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
22 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
251 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
367 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
89 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
1 vote
0 answers
231 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
101 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
189 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
3k 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
219 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
626 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
119 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
3k 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
63 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
25 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
68 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
414 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
65 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
89 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
118 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
282 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
322 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
1k 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
44 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
31 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
2 3 4 5
29