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
5 views

Can I link to a Bootstrap carousel slide AND scroll to the slide? [migrated]

I'm using a typical Bootstrap carousel in the body of my page. At the top of my page, I'd like to be able to link to a slide. This is easy and done like: <a href="#" data-slide-to="0">First ...
0
votes
0answers
10 views

Footer on the milddle of the page [closed]

sorry for my English.... I to try as here to say towards the footer to keep where it belongs, without it to happen.... . On my Css I have different Media Query (desktop, tablet and smartphone), Now ...
1
vote
0answers
12 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 ...
0
votes
0answers
7 views

How to create a product customiser? [closed]

So I'm looking at doing a project to practice and I thought I'd try my hand at building an interactive product customiser, not WordPress or anything. Just to see if I can build this to run in a ...
4
votes
1answer
24 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 ...
0
votes
0answers
10 views

From target blank to self: do I need to measure differently?

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 ...
0
votes
0answers
5 views

HTML/CSS justifying text in separate blocks [migrated]

Taking any page from any book or article that is justified and trying to make an exact online replica (same look and feel with HTML/CSS), that is including justifying the text with the exact line ...
2
votes
1answer
24 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
21 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
votes
0answers
17 views

How many H1 tag, Can we use in One html Page? [duplicate]

Some years ago, everybody who work in Seo field, Recommended that Use only One H1 tag in page, but I heard We can use as many as necessary H1 tag and it doesn't make any problem for Seo (Google search ...
1
vote
1answer
30 views

Will robots- noindex meta tag completely prevent searching from indexing page

I am wondering if meta tag <meta name="robots" content="noindex,follow"> will completely prevent website page from being indexed. i noticed one of the website has following noindex meta tag on ...
1
vote
1answer
23 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
23 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
3answers
46 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
34 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
70 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
24 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
23 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
23 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
18 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
27 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
65 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
102 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
17 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
62 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
28 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
16 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
87 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
102 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 ...
3
votes
2answers
30 views

Can display:none CSS be used on a div with a rich snippet?

I'd like to use the following code: <div itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating"> <div> <span itemprop="ratingValue">[rating]<...
3
votes
2answers
157 views

AdSense units don't respect CSS margin rules

I just noticed that on sites with "auto ads" enabled, auto-placed AdSense units don't follow CSS rules regarding margin or padding in mobile view. They display across the entire viewport instead of ...
0
votes
3answers
53 views

Where do I put my static HTML and CSS files when migrating my site from Joomla?

I previously made a website with the Joomla CMS. Once it was online, I started over from scratch to re-do my website using only handwritten HTML/CSS (and a little of JavaScript). My question is: How ...
1
vote
3answers
67 views

What are the benefits of utilizing a Web Server vs opening an HTML file directly via your browser

I've just begun coding in Javascript. I'm looking for an in depth answer that explains the features that are available to me when using a web server to serve up my index.html file vs simply opening ...
0
votes
0answers
19 views

m.me links not working chrome mobile

I just got into a problem when links to messenger (m.me/PageNumber) are not working on mobile chrome. It works fine on desktop chrome, it redirects straight to messenger.com/PageNumber. But on ...
0
votes
0answers
10 views

Processing iframes reliably when webserver can only handle one request at a time

I'm trying to serve HTML from a web server made in MS-DOS that is capable of processing one web request at a time. I made some HTML in which two iframes must be loaded. I use iframes because ...
2
votes
1answer
36 views

How do you create a home page without a file name or .HTML extension?

When we make HTML pages, we generally save it with a .htm or .html extension. But most webpages on the internet have extensions like .com or .org, for example, https://example.com. How do these pages ...
1
vote
1answer
28 views

Change my website's photo on a the mobile Google search results

I have noticed that google has started to show little images next to search results on mobile devices. The first photo I have displayed on my website is my logo. Currently this is the image that is ...
1
vote
2answers
44 views

Semantic markup itemprop name / description on multilingual website

I would like to set up semantic markup for products such as accommodation on a language stay on a site available in fr, en and es. I wonder if I can have the name of the Product and its description ...
1
vote
0answers
21 views

Selecting a forms “select” option based on referring URL [closed]

I have a seemingly simple question that I can’t find an answer for. Scenario: I am developing a ”single-page” website based on a HTML5 UP! template that shows/hides content after clicking a button ...
0
votes
0answers
38 views

How to force GTM to add tag in the <head>?

I've followed below steps for adding AdSense script inside of my website: Now that you have the code head over to GTM. Create a new tag. Provide a name. Select custom HTML as the tag template. Copy ...
1
vote
0answers
9 views

How I can removie html extensions [duplicate]

I'm new at web development, I have a question, Thank you all for your answers. I made a website with HTML5 and CSS, I Published my website on my website host using FTP (FileZilla Client), But when I ...
0
votes
1answer
24 views

What is the effect of HTML tag increase using Flexbox to SEO?

As you all know when HTML tags increase, it negatively effects SEO. The ratio of the number of tags to content size needs to be below 0. When i use Bootstrap or Flexbox-based discovery the number of ...
0
votes
1answer
59 views

Getting schema validation error for BreadcrumbList

For itemlistElement when the href is same as the URL, schema validator is throwing error I have created an example to demonstrate the issue I'm facing. Here is the link to example https://glitch.com/...
0
votes
0answers
9 views

Preferred method of indexing words with diacritics

I have lots of pages using foreign words, transliterated into their latin equivalent, using a vareity of diacritics. Some example of such characters: ā, ṛ, ṭ and ḥ. As for words: Vṛkṣa can be ...
0
votes
1answer
74 views

Preventing MediaWiki from wrapping space-indented content in <pre> HTML tags [closed]

MediaWiki wraps all space-indented nested content in <pre> HTML tags. To reproduce go to a MediaWiki web site with the skin "Vector", go to an edit page, add some HTML content, add some space-...
0
votes
1answer
54 views

MediaWiki destroys CSS aesthetics for <code> tag

In MediaWiki:Common.css I gave these essential directives: code { display: block; } then I created an article with this content: <code> <x> <y> <z></z> ...
0
votes
1answer
39 views

Adding a contact form to MediaWiki

There are a few contact form extensions for MediaWiki that one can download and install but I don't want to use extensions at all (or changing the PHP) if there is another solution in HTML-Javascript. ...
1
vote
1answer
36 views

Is there any reason I don't see many people use media attribute inside link tag?

Recently I read about media attribute for <link> tag. Immediately I thought it would be a great idea to separate all the media queries into separate files and link them only when the website is ...