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

Undefined index: module error in php [closed]

ecently I have made a form code and attached modules to it. but soon after I have reached an error saying Notice: Undefined index: module in F:\website\webpage\gate.php on line 68 here is the line ...
0
votes
2answers
24 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
20 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
41 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
12 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
4 views

What are some ways to inject a large amount of HTML into a <div>? [migrated]

I'm pretty new to web design, and I'm trying to build a dashboard for a project. So far, I've got my UI looking like I want it to. It basically consists of a header bar, with a navigation bar on the ...
0
votes
0answers
14 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
20 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
14 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
21 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 ...
0
votes
0answers
4 views

How can I switch the order of multiple float-right elements? [migrated]

I've added a hamburger menu button to my site's nav bar for smaller screens. The button floats to the right. However, I also want my dark-mode button to float to the right, but to the left of the ...
1
vote
1answer
18 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
25 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
2answers
28 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
14 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
23 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
35 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
38 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
10 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. ...
3
votes
1answer
59 views

When is “async” useful for loading scripts into a web page?

If an external script defines functions referred to in the HTML (e.g. onclick=...), the script should be located in the <head> so that it will be downloaded immediately to make the functions ...
6
votes
2answers
2k views

Is there such thing as a line of HTML that has a space after <?

I am currently making a website, and I would like to know if there is ever a space after <. By this I mean is there anything like < html> or is there no such thing as a "command" that has a ...
0
votes
1answer
28 views

Headline hierarchy (SEO): No proper h1 and images as headlines

I got a web design which does not contain a h1 and has several h2s which have text as image. My questions are how to handle this in terms of SEO? Is it possible to add a hidden h1 with a proper page ...
1
vote
1answer
25 views

Google PageSpeed insights disregards rel=“preload” for mobile only

As PageSpeed insights tool report claimed my page could be improved by preloading 2 of the fonts on my page, I added rel="preload" to the <link> tags in question. However, PageSpeed Insights ...
1
vote
1answer
27 views

CDN cached PHP page vs HTML one - Loading speed

Is there any difference at all in terms of loading speed if we have a fully cached PHP generated site (by for example, using CloudFlare rules "Cache everything") and a HTML page? Cloudflare allows ...
0
votes
1answer
66 views

What is the meaning of itemprop=“contentUrl” in HTML img tag?

I see a attribute called itemprop="contentUrl" in a image. But I don't understand the meaning of this.
0
votes
0answers
11 views

Indicate that content shouldn't be indexed… an improved <noscript>

I have a web-based app (not primarily content-based) that relies on some modern browser tech to function. I want to show a default message in the markup for when the browser isn't running JavaScript ...
1
vote
2answers
31 views

Is the placement of semantic elements on the top of HTML code still relevant?

In times of javascript-based rendering and CSS is the placement of semantic elements on the top of HTML code still relevant? I mean, if Google is able to render any CSS and Javascript, is it still ...
0
votes
1answer
54 views

Hypens vs Underscores for image names on website

I was wondering if there is a recommended way to name your files, especially images? I know that hyphens are more recommended due to Googles SEO. Does this mean that images should also be: "named-like-...
0
votes
0answers
20 views

Are HTML files edited with Word cross-browser compatible?

I edit a simple Word file (no images etc.) and want to put it on my website so that it is accessible to all visitors. So far, I exported it to PDF and it worked fine. But in order to save the hassle ...
1
vote
1answer
25 views

Home page title updated to fix a misspelling but Google still has the error

So recently I found that there was a misspelling on the URL title for my business in the google search and I fixed it within WordPress but it has updated on google yet, there is still that error. Does ...
16
votes
3answers
3k views

On what specific grounds were HTML Imports rejected, deprecated and removed?

TLDR: On what specific grounds did browser-makers reject, deprecate and remove HTML Imports? This is me (four hours ago): Apparently I have been living under a rock, because only today I have ...
0
votes
1answer
16 views

A logical usage of heading tags and SEO

I have a dynamic school website (feed from a database), and I have it structured with different sections, for example. Sports Academic life Our students At first sight, it is pretty obvious that I ...
0
votes
1answer
24 views

How to justify implenting a quality HTML coding standard will help in SEO ranking?

One of my clients is an e-commerce website which ranks 6-10th for their keywords. Apart from the other SEO technniques, I suggested them to reveiw their code and optimize as per the HTML standards ...
1
vote
0answers
14 views

How to Fix:Though favicons are added, it doesn't show in Google Search [duplicate]

First of all , it does show up in the browser tab.But when I search in google the favicon doesn't show next to the url. This is what's on the html <link rel="apple-touch-icon" sizes="57x57" href="...
0
votes
0answers
60 views

How to ensure a user doesn't miss a webpage crucial for constructive usage of another webpage?

I have a problem of the need to ensure that a user doesn't miss a webpage crucial for what I assume as a constructive usage of another web page. Personal example of this problem My website contains ...
1
vote
0answers
132 views

Use .htaccess/SSH/Cpanel to prevent a specific part of a specific PHP script from being processed

I have a website built with MediaWiki CMS which I host on a CentOS based Apache "shared server environment" (SiteGround) in which I can partially control Apache by: .htaccess files SSH Some Cpanel ...
0
votes
0answers
9 views

(HTML) need a (b:if cond) for image links (repost) [duplicate]

i'm working on a photo blogger, and i upload 100 pictures a day, i can't remove hyperlink for per picture, i only want to remove picture hyperlinks or disabled left click. so i'm using a CSS that i ...
4
votes
1answer
66 views

Will redesigning my site hurt my SEO if my URLs and content stay the same but the DOM structure of pages changes radically?

I have a great working WordPress site that I make money from because the SEO has been perfect for ages now. I really want to redesign the site (the design is 12 years old now) and I want to use ...
1
vote
0answers
17 views

Is there some way to make HTML textareas “steal” tab key presses, preferably without using JavaScript? [closed]

If I, for example, ask a new question on Superuser, and I start typing in the message body textfield, and I make a newline and then press tab, it does not add an actual tab inside the textarea; ...
1
vote
0answers
432 views

Mobile Google Search Result Icon/Favicon Not Showing Up

I have put link rel=icon in the HTML with 48px icon size, tried with .ico and .png but the custom main site icon is not showing up in Google Search Result (Mobile). I have request reindex in Search ...
4
votes
1answer
48 views

Should en and x-default be included on the same page for hreflang tags?

We are using a tool called SEMRush where it is flagging that the en and x-default values for the hreflang are causing conflicts. Should both en and x-default be included for the hreflang tags? This ...
3
votes
1answer
58 views

Will changing from target=_blank to target=_self affect SEO or analytics?

I saw that my website is using target="_blank" on internal links due to something I totally missed in the code. So, I changed that to _self, as there is no need to target a new window while they are ...
2
votes
1answer
39 views

If a web crawler get a 404 error, will it not index that url?

Say I have a page page.example.com/page. In my (python) server, you only get served html if you are logged in, which you can do at page.example.com/login. If you aren't logged in, the server responds ...
2
votes
0answers
26 views

Recommend Method for Showing Filtered Data?

Let's say you're displaying a list of products and you can filter the products by different attributes. The filtering is purely front end. Is it recommended to put all the products in the HTML and use ...
1
vote
2answers
41 views

Will a robots noindex meta tag completely prevent search engines from indexing a page?

I am wondering if meta tag <meta name="robots" content="noindex,follow"> will completely prevent a website page from being indexed. What if user has registered website from Google Webmaster ...
1
vote
1answer
109 views

If I make changes in the template I use for a product page, do I need to update all <lastmod> tags for all product pages in my sitemap.xml?

I'm currently building a sitemap for my web app. Note: my app is a single page app built with React and Firebase. Basically I wan to index blogPost and product pages. So I intend to generate my ...

1
2 3 4 5
26