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
6 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
8 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
2answers
53 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 ...
5
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
0answers
6 views

CSS padding-top trick won't give me correct proportions [migrated]

It is said that "padding in percentages is based on parent element's width". Padding-top: 100% with width: 100% should give me square shape. Which isn't exactly my case and I don't understand why. ...
0
votes
0answers
4 views

Background of ul list is white. How to remove background? [migrated]

I've tried this, but I still see a white background on the ul *{ background-color: transparent; background-image: none; } CODE: <!DOCTYPE html> <html lang="en" dir="ltr"> <head&...
0
votes
1answer
24 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 ...
0
votes
0answers
9 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
24 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
2answers
35 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
47 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
23 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 ...
17
votes
2answers
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
129 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
64 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
291 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
42 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
49 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
31 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
108 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
vote
1answer
25 views

Could SEO be negatively impacted if an anchor tag has been used without an href attribute in several places?

I have a site where anchor tags are used without any href attribute and the site's ranking is not good. Is it possible that there's a negative impact on SEO if anchor tags have been used without an ...
1
vote
6answers
115 views

How to Insert Videos from Youtube Using the <iframe> Tag?

What is the best way to insert videos from youtube using the tag? How Can I achieve it?
1
vote
1answer
22 views

Does the position of Google Analytics snippet within the document head (before or after scripts and css) affect tracking data?

The MonsterInsights plugin puts the Google Analytics tracking code before other java scripts and stylesheets. I wanted to reduce by one more the number of plugins that I’m using so I put the Google ...
2
votes
2answers
43 views

Meta name description in og:description

I would like to ask if is there any difference when I have description and og:description separately and together. Is there just only difference that when it's separately I can add different text and ...
2
votes
2answers
230 views

Are <p> tags important inside the <article> tag for SEO?

Since you can't put <h2> tags and lists and such inside <p> tags. How to go about creating articles with <h2> tags and lists. Can I replace the <p> tag with a <div>? Or ...
1
vote
0answers
27 views

How to get site link image to show up reliably when posting to social sites?

I hope this is the right kind of question for this forum. I have seen this post but it didn't help or I didn't understand it well enough. I'm trying to have the feature so that when a link (to a ...
2
votes
1answer
25 views

Can robots.txt be used to prevent bots from seeing lazily loaded content?

Let's say that googlebot is scraping https://example.com/page. example.com has a robots.txt file that disallows /endpoint-for-lazy-loaded-content, but allows /page /page lazy loads content using /...
1
vote
0answers
25 views

Is there a way to use js templating with wordpress without impacting seo or ux?

I have one JSON file that contains the text content for my hundreds of Wordpress posts. I am using templating, mustache.js, to insert the text content and render the posts. This saves me a lot of time,...
2
votes
1answer
20 views

Is it possible to have a site that uses WordPress with some pages that don't

I am redoing an old static html site in WordPress and that's all fine, but there is a section of the site that is in a subdirectory that would be fine to keep the static html. I am building the ...
1
vote
1answer
28 views

Can sites get by with just mp4 video these days? Converting to other formats bloats the size

Is it important to convert mp4 video to another formats like webm or is mp4 enough? I tried to convert to webm in online services, but it makes the size of the video file much bigger. The size ...
5
votes
3answers
68 views

Does rendered HTML from an angular app need to be styled and pretty when shown just to search engine bots?

I have an angular app, and while google does index those now, many other sites do not. I have built some middleware that intercepts requests from crawlers and serves static HTML pages that those ...
4
votes
2answers
202 views

How many links per page maximum can we have in an HTML sitemap?

In the XML sitemap, there is a limit of 50,000 per XML sitemap. Is there a limit of links to be present on the HTML based sitemap? If I have more than 100k pages or posts, Should I used them as ...
3
votes
1answer
45 views

Standard or common way to secure a destination-email-address of a client-side contact-form

I have a website with a minimal, client-side HTML-CSS-JavaScript contact form but I desire to hide the destination email address of that form from the HTML source code so that form users would not be ...
1
vote
0answers
19 views

I am trying to make a file upload form for my website, I have some code but it is not working [closed]

I cannot get this to work am I doing something wrong? $extensions= array("jpeg","jpg","png"); if(in_array($file_ext,$extensions)=== false){ $errors[]="extension not allowed, please choose a ...
1
vote
0answers
86 views

Getting following errors Text too small to read, Clickable elements too close together, Content wider than screen [closed]

I am getting the following errors in the GSC in mobile usability area. 1. Text too small to read 2. Clickable elements too close together 3. Content wider than screen I got the same error in the ...
3
votes
1answer
30 views

<pre> tag generates a blue box behind the pre-formatted text and a table around it on the printable version. How to disable this?

I use Pre tags to embed code lines into my MediaWiki page. Problem is that Pre tag generates a blue-ish box behind the pre-formatted text which is parsed into a table when you set printable=yes in the ...
2
votes
0answers
17 views

Is there a better way to find and replace html site files? [closed]

I've a large 1000 page site I'm trying to edit. I tried a find and replace with Dreamweaver but apparently the template is broken and split up. So when I do a find and replace it updates the template ...
2
votes
0answers
91 views

Is there a problem in adding Adsense verification code via JavaScript?

I work with a certain CMS (MediaWiki) in which there is no direct control over HTML (as there is in Drupal Twig files for example); Hence, in this case, I have to load my Adsense verification code via ...
3
votes
1answer
117 views

How to make a website have an icon when placed on an Android home screen?

How can I make Dance Culture have an icon on the Android wallpaper like it has with WolframAlpha. See screenshot below. I've found favicon but can't tell what's different in the html source code to ...

1
2 3 4 5
25