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.

1
vote
0answers
19 views

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

MediaWiki wraps all space-indented nested content in <pre> HTML tags. To reproduce go to a MediaWiki edit page, add some HTML content, add some space-indented nested HTML content inside it, and ...
0
votes
1answer
42 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
16 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
25 views

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

Recently I read about media attribute for <link> tag. Imidietly I thought it would be great idea to seperate all the media queries into seperate files and link them only when the website is ...
0
votes
0answers
10 views

MediaWiki SocialMedia share bar without an extension? [closed]

Is there a dynamic and reliable solution for displaying share buttons for common social media applications for MediaWiki that I could use without installing extensions at all? I want total reliance ...
0
votes
0answers
38 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
28 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
57 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
25 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
40 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
25 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
31 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
26 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
28 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
25 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 ...
1
vote
1answer
68 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
32 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
18 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
28 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
28 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
33 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
39 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
17 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
56 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, ...
1
vote
1answer
54 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 ...
2
votes
1answer
29 views

Combining RDFa Lite author schema and rel=“author” HTML markup

Is there any way to retain the HTML rel part of the below snippet: <body vocab="http://schema.org/" typeof="AboutPage"> <address property="author" typeof="person">Contact <a rel="...
3
votes
1answer
31 views

500 error after migrating from Easy Apache 3 to EA4 on Centos6 VPS

I made the mistake of clicking the button in WHM to migrate from Easy Apache 3 to EA4 and now I am receiving a 500 error when I try to visit my site. What have I broken and how can I troubleshoot the ...
5
votes
1answer
87 views

When an attribute value ends in a slash, can I omit the quotes? It looks confusing when the trailing slash is next to the closing angle bracket

I have been thinking about this case: You want to use canonical on page A directing to example.com/: <link rel=canonical href=example.com/> If I wouldn't use quotation marks like that, could ...
0
votes
2answers
51 views

How to add google structure data in Blog Post?

I want to add Google structure data in WordPress Blog posts, pages. Where i need to place Structure data (in body or head section)? What is the correct schema structure for Posts or pages? Thanks
1
vote
1answer
33 views

Can you put all the text in a static tag for SEO but completely re-write the page with JavaScript?

Can our website used the trick: putting all SEO data in some tag, but rendering all the web page elements with JavaScript? How would that work for SEO? May be like: <div> <a href="/about"...
0
votes
1answer
29 views

What is less bad for SEO: to have a <section> with no heading, or to hide the heading with CSS? [duplicate]

I have my document outlined in several <section>s, but according to the spec The theme of each section should be identified, typically by including a heading (h1–h6 element) as a child of ...
2
votes
0answers
10 views

How to include a link in email that opens an Android app if available, but opens the website if not?

In HTML code for an email is there a way to have a fallback URL when a primary URL cannot be handled? For example: Open app when using Android Open website when clicking on it on a desktop I know ...
1
vote
1answer
29 views

SEO impact of usage of many spacers/formatters/… class in HTML instead of in css static file

We're working on redesigning our full website, we have a critical impact on our business from SEO. We are trying to use a lot of formatters, spacers, etc classes from SASS like suggested by bootstrap. ...
1
vote
0answers
27 views

reason for wrapping an anchor in a form?

This is one of those "found in someone else's code and wondering what they're thinking" questions... The HTML being generated is of the form <form method="post" action="#"> <a href="?...
2
votes
1answer
62 views

Loading multiple pictures as sprites?

I've read it's a good idea to combine images as sprites (and use background positioning) to have less dns lookups and therefore speed up your site. But it seems all the images are loading ...
1
vote
2answers
57 views

Why does the SDTT tell me that the image field is missing?

I created a recipe on Drupal 8. When I test my page with Google Structured Data Testing Tool, it tells me that the image field is missing: Yet when I open the link of the image in my internet browser,...
1
vote
0answers
242 views

Is email obfuscation still helpful in 2019? [closed]

Historically, even simple tricks would prevent mailto: links from being harvested by web crawlers, but I'm curious to know if modern bots are too advanced to be beaten. Is the effort to obfuscate ...
1
vote
0answers
39 views

generating part of html with javascript to increase the page loading speed

I've got picture gallery on my website that contains few hundreds of images. These are miniatures that are enlarged when have been clicked. The images are well optimized (they are compressed using one ...
2
votes
1answer
39 views

Does Fetch as Google have a charchters / lines limit? And does it matter?

I have a test page with text only. No JS. No CSS. Just the html, head, body and p tags and a lot of lorem ipsum text. Now when I try to use Fetch as Google tool, the HTTP response is cutted at the ...
1
vote
0answers
21 views

Browsers load actual website from external server and keep in cache [closed]

So, currently, I'm using 000webhost to host my website, but they only allow 1000 MB to store all the files for my website, which IMO is a little small. So, what I want to accomplish is something like ...
3
votes
1answer
96 views

Can I use <icon> element in HTML5? It fails the W3C validator

When I go to the W3C validator service, to try out if it complains about using an <icon> element, with this example: <!doctype html> <html lang="en"> <head> <title>...
3
votes
4answers
89 views

Google showing dynamic page title set by JavaScript rather than the static title embedded in the HTML

On my website the title is initially set through the title tag in the html served by my server. It is then changed to its dynamic equivalent through JavaScript. I want Google to show my website's ...
1
vote
1answer
28 views

How many internal links does Googlebot care about per page?

I read somewhere something like this: Penguin (Google algorithm) indexes (cares/reviews) only the first 5 internal links in the DOM from the top. I that true? You know, I have a "related posts ...
1
vote
2answers
51 views

Does having a <span> tag around a portion of a word hurt SEO?

If I do <h1>H<span style="font-size: 12px;">ello</span> W<span style="font-size: 12px;">orld</span></h1> Will search engines read it as "Hello World"? Will this ...
1
vote
2answers
39 views

HTML SEO: “alt” text attribute for related photos

If I have a photo gallery where each photo in the gallery has a mini-feed of 'related photos', should the alt text of these related photos describe these related photos or should they describe the ...
1
vote
1answer
67 views

How can I use canonical tags to resolve duplication between the home page, category pages, tag pages, and article pages?

On my site I have something like little blog (PHP and MySQL dynamically loaded posts), with categories like "life", "business", and "health". Each article has added tags. Tags allow to find articles ...
3
votes
2answers
205 views

SEO method to set page titles differently? (same header PHP)

My PHP-based site files start off with <?php include("PHP/header.php"); ?> which includes all the HTML (metadata, scripts, etc.) shared by every page - along <head> and <title>. The ...
1
vote
1answer
79 views

GTmetrix complains of un-optimized images in responsive design

The website GTmetrix is giving me low score on "Optimize images" for the following reason: On my main page I have 4 columns with images. Each column takes 25% of the screen resolution so on my ...
0
votes
1answer
94 views

What if to load duplicated blocks e.g. header and footer by JS

If we use static site generators (SSG) and edit some block duplicated on many pages e.g. header or footer, we need to regenerate all the HTML pages using this block. Regardless of the speed of our SSG,...