The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
-1
votes
0answers
6 views

How to stop text getting cut off in mobile device view [migrated]

I am learning HTML/CSS through trial and error and by playing around with some free code. I can read and understand enough code to change style things like colour, backgrounds, opacity, add images etc....
5
votes
3answers
63 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 ...
3
votes
1answer
65 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
43 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
16 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
36 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
26 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
76 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
91 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
27 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]<...
2
votes
1answer
89 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
50 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
61 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
13 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
9 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
24 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
30 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
34 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
8 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
51 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
73 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
37 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
34 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 ...
1
vote
1answer
79 views

MediaWiki: Hiding certain HTML elements for non-logged-in users

In a MediaWiki-based non-communal website there are some HTML elements that should be presented only for logged-in-users (an administration menu or some of its links). Usually if I want to hide ...
1
vote
1answer
36 views

Relative URL resolution for Microdata properties

The HTML Microdata Working Draft shows the following example: Assuming a page at http://example.net/some/dataexample contains the following code: <section itemscope itemtype="http://example.org/...
2
votes
0answers
106 views

rel=“noreferrer noopener” in target=“_blank” external links

In numerous sites I have been reading, they say that you must use rel="noreferrer noopener" when using target="_blank" within external links. I can understand why you should use noopener as a ...
0
votes
1answer
26 views

I want an image and link to only show to people located in USA and Australia on my website, how to do this? [closed]

I'm using 2 different CMS, WordPress and MyBB. I've searched for the answer but can find it nowhere. Any ideas?
0
votes
0answers
16 views

Is stylised h1 tag SEO friendly? [duplicate]

I'm using this kind of markup to stylise my h1 title : <h1><span class="">M</span><span class="">y</span> <span class="">t</span><span class="">i</...
2
votes
1answer
60 views

Spurious &#8203; or \u200b being injected into my code

The problem When viewing the HTML output from my website using the code inspector within Google Chrome, I get the spurious character &#8203; being injected in my code (snipped screen capture ...
0
votes
1answer
30 views

how to make a xkcd style comic website [closed]

I am new to web development and I would like to know how to make an xkcd style comic website specifically the structure. xkcd.com has a separate folder for each comic with an index.html inside, but it ...
1
vote
1answer
33 views

Can i load images from other websites and display into my website? [duplicate]

Is loading the images from other sites into mysite is good? Will it affect my website in anyways like speed, seo, copyright? please don't mark this ques as off topic or duplicate. I need a clear ...
1
vote
0answers
32 views

Remove the link to create a talk page from MediaWiki when the create page permission is off [closed]

I have a website that I created with MediaWiki but this website is not a community of two or more users and I am the only registered user as this is a personal website where I publish my services and ...
0
votes
2answers
29 views

Does a class or another attribute of heading (h1-h6) impact SEO?

One developer said that it's better to avoid adding a class and another attribute to page headings i.e. to h1-h6 as it impacts SEO. Is that true? Or maybe it includes only h1? Or does it not matter ...
2
votes
0answers
45 views

How to 'noindex' a specific image on a specific page on my website?

I'm generally aware how the noindex HTML tag works and how to use it. However, I haven't managed to find a way to not index specific images on specific pages on my website. I'm looking for a ...
2
votes
1answer
106 views

How can I redirect a Blogger blog to another blog

I have a blogger blog with its own domain (I'll call it www.example.com); that's to say: this site used to be a www.example.blogspot.com and I purchased a name domain later; I can continue to manage ...
1
vote
1answer
58 views

SDTT says “Unspecified Type” for 'name' in <link>

My code: <main vocab="http://schema.org"> <article typeof="NewsArticle"> <h2 property="headline">Wie instaliert Virtual Box in Windows 10</h2> <link property="image" ...
1
vote
1answer
21 views

Should I use nofollow on links to my other sites? [duplicate]

I have a portfolio page, which includes websites that I made with links to them. Should I make nofollow links to them? Or does having do-follow links help me?
0
votes
1answer
51 views

<meta> for RDFa: “Attribute 'src' not allowed on element 'meta' at this point.”

I have this code for Schema.org; <main vocab="http://schema.org"> <article typeof="NewsArticle"> <h2 property="headline">Wie instaliert Virtual Box in Windows 10</h2> ...
0
votes
1answer
34 views

How to hide a text value in RDFa?

I want to hide the name of the publisher. My code: <article typeof="NewsArticle"> <h2 property="headline">Wie instaliert Virtual Box in Windows 10</h2> <meta img property="...
1
vote
1answer
49 views

Google Analytics doesn't track events, everything else is correctly tracked

I've set Analytics for my new landing page. Everything works correctly( real-time data as well) except for Events tracking. Actually, this is the first time I'm working with Analytics Events tracking,...
0
votes
2answers
46 views

Is an H1 tag that contains a style block with CSS as well as an image with alt text Google-friendly?

Here is how my website's H1 tag shows up in the Moz tool (or any other SEO tool I used so far): The website is build through Shopify platform and Shopify says it's perfectly fine but I have my doubts,...
0
votes
0answers
18 views

What's the purpose of HTML headings? [duplicate]

Please clear this thing up for me. What is the purpose of HTML headings (h1, h2, h3 tags etc)? Is it to let the search engine know what content is important on the page... OR to show what is the ...
0
votes
2answers
60 views

How can I determine where a login form is submitted?

I want to write a program which will log in to squareup.com. So for this I need to know where the form is located and to where is it submitted. So the form is located at https://squareup.com/login, ...
2
votes
1answer
170 views

Getting Gravatar to appear in email Inbox

I have created a Gravatar for my email address for my business website through the Gravatar Website (gravatar.com). I have done some reading and understand that this gravatar should appear in peoples ...