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

HTML page getting automatic left and top borders?

Context: I'm trying to make a webpage that is exactly 210mm wide and 297mm tall, because I want it to be perfectly printed on an A4-type paper sheet. However, the webpage automatically gets small ...
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar
0 votes
1 answer
20 views

software/app to resize images to set size [closed]

I have a gallery page featuring different users. Each user upload an image of themselves that is displayed on the gallery page. My problem is that I need to fit all the images to a set size of 250PX ...
Paul Kendal's user avatar
1 vote
2 answers
29 views

Making title attribute of HTML elements display as text instead of as tooltips [closed]

Some websites that I use put a lot of otherwise-unavailable information inside the title attributes of HTML elements. When I'm visiting those websites in a browser, I would like to be able to see all ...
WingedKnight's user avatar
0 votes
0 answers
62 views

Cloudflare times out when displaying pages with CSS/JS

Update (8/22/2024): I've tried setting up Nginx to solve this but it also faces the same issue. In addition the people who've replied both here and on Reddit both tell me this is a Cloudflare issue. ...
Adrian W.'s user avatar
2 votes
2 answers
32 views

Condensing size for language variations while remaining good with SEO

I have a multi-lingual website. For each page, in the HTML header, I set the language variations as follows: <link rel="alternate" href="https://www.example.com/a-page/" ...
mike_s's user avatar
  • 53
0 votes
0 answers
19 views

canonical links on multi-domain site

I have a question about using link[rel="canonical"] elements. Consider a company with an international site com-domain and a site located inside China cn-domain (actual domains trigger Stack ...
user avatar
1 vote
0 answers
14 views

alternate links on multi-domain site

I have a question about using link[rel="alternate"][hreflang] elements. Consider a company with an international site com-domain and a site located inside China cn-domain (actual domains ...
user avatar
0 votes
1 answer
17 views

Same server and same HTML but different results: embedded YouTube blocking

I run a webserver divided into two sections: a marketing area, managed by Joomla, and a technical area which is mostly static HTML. The Joomla expert reported that embedding YouTube videos wasn't ...
seismofish's user avatar
0 votes
1 answer
29 views

Looking at the developer's source code doesn't reveal all the code

Newbie here, but I didn't know where else to go. I have a very rudimentary understanding of html/css. I am trying to use python to extract data from the major league soccer website to populate a ...
Chris Barrow's user avatar
0 votes
1 answer
23 views

Looking for that old FixOutlook campaign story decades ago that came to nothing

Many years ago, there was a campaign to finally have the terrible HTML rendering and some other annoyances of Outlook fixed. It could have been fixoutlook.org, but I'm not sure about that. Currently, ...
David.P's user avatar
  • 101
1 vote
1 answer
33 views

How do I ensure that all images are indexed by Google when using the carousel pattern?

This is how the main product picture appears on my website: and it has the following markup: <div> <img alt="Force Factor, ProbioSlim" class="dialog__trigger ...
Lilou Artz's user avatar
1 vote
2 answers
85 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
46 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
110 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
144 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
27 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
68 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
18 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
33 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
46 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
34 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
331 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
45 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
38 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
27 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
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 ...
fmerighi's user avatar
0 votes
1 answer
268 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
1 answer
84 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
33 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
51 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
884 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
117 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
36 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
439 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
521 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
111 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
298 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
105 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
211 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
5k 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
243 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
773 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
147 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
28 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
71 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
596 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

1
2 3 4 5
29