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

Is it recommended to put a pricelist in the same web page of a contact form? [closed]

I have a website that contains a pricelist webpage and a contact us webpage containing a simple contact form which contains the following mandatory fields: Name Email Type of service in which the ...
1
vote
0answers
109 views
+350

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

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

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

Use only one structure for all my html email [closed]

For more optimal performance in the field of mailing, is it better to use a single structure of html code in the emails I send ? Or does using several different structures on my emails not affect ...
0
votes
0answers
5 views

CSS line-spacing: not Reflected in Display of Document [migrated]

I have an intractable, at least for me, HTML/CSS problem. Here is a bit of a web page I'm currently developing: (The whole page is here: http://www.professorbrown.net/) Note that the "fine print" at ...
1
vote
0answers
51 views

Someone is 301 redirecting penalized websites to my website

Some is doing a negative seo attack on my site 301 redirecting toxic sites to my site, I have done research and noone online seems to have an answer, would disavowing the domain doing the 301 work or ...
3
votes
0answers
17 views

What is the correct and most safe way to check if HTML form checkboxes and such have been POST-set? [migrated]

This has confused me since the early days. Maybe it's just in my head, but it seems to me as if this has varied over time, between browsers, and possibly even depending on the local language/locale. ...
4
votes
0answers
47 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
7 views

Why is there still a small margin on the footer? [migrated]

I was tinkering a little bit with particles.js, so i did this in html: <div id="particles-js"></div> and then this in css: *{ margin: 0%; padding: 0%; } #particles-js{ ...
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
87 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
29 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
36 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
25 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
23 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
40 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
86 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
5answers
63 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
37 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
83 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
25 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
24 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
19 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
110 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
18 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
74 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
88 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
105 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
40 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
186 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
108 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
20 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
33 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
56 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
46 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
26 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 ...