Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
265 views

<h3> vs. <strong> (for FAQ's)

We are in the process of publishing FAQ's on our website. For this I am creating the templates and ask myself the following question: What tag should I use for the questions? I've chosen <strong&...
5
votes
1answer
294 views

How to properly implement paywalled content

To avoid cloaking, I'm planing to indicate paywalled content on reviews, but I'm struggling how to format both JSON-LD and HTML: Should I add hasPart and isAccessibleForFree keywords for each Review? ...
1
vote
0answers
24 views

Massive URLs being recorded due to search redirects - are bots going into a loop and slowing down website

I'm looking at a client's website and using Screaming Frog to give a general analysis and it is recording massively long URLs due to what I think are search redirects - see Example below. I'm ...
1
vote
0answers
19 views

Should the canonical link contain a link that will never change, the long version with keywords, or a shortened URL from another domain? [duplicate]

I want to prevent SEO from duplicated content. I have a separate domain only for shortened URLs which is mainly for sharing purpose. I plan to set the rel=canonical in the HTML head and redirect to ...
4
votes
1answer
170 views

Include page name in title?

Should a title include the page's name, for example on an "About us" page: About us | Discover the history of our online store | Amazon.com Or should I just use the keyword filed: Discover the ...
1
vote
0answers
91 views

Why is my Last-Modified header always sent using GMT timezone?

I want to send the last-modified in IST timezone, But it always sends in GMT. What is wrong with this PHP code? echo "Timezone " . date_default_timezone_get () ; //==>verified, timezone set ...
1
vote
1answer
194 views

Replacing trivial <h2>s with <div role=“heading”>s for SEO?

In the structure of my upcoming website, there will be multiple level 2 headings inside the master header. An example can be seen below: <header id="banner"> <h1><a href="">My ...
4
votes
3answers
821 views

Why Google is indexing Thumbnails and not Large images?

I have a page full of thumbnails, when clicked it opens the Full size image in new tab. The problem is that Google is indexing the Thumbnail photos only, and leaves the Large images that it links to. ...
1
vote
1answer
237 views

How to make a <select> navigation search engine friendly?

I have part of navigation in an HTML page that is routed by a select: <select id="archive" name="archive"> <option value="">Select an option</option> <option value="1">001&...
4
votes
1answer
413 views

Is it 'ok' to have IFrame tags in RSS feeds?

I ran my RSS feed through http://www.feedvalidator.org/ but it says: This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following ...
3
votes
0answers
124 views

How do I get the Structured Data Testing Tool to ignore template elements?

I’m using Web Components to build a site, and one of the biggest features is my use of the <template> element. Here’s an example: <ul> <template> <li> <div ...
3
votes
3answers
326 views

Does using too many heading tags (h1s, h2s, and h3s) cause SEO problems?

On my website, I utilize many h1, h2, and h3 tags. I am most worried over the fact that I utilize the h1 tag way too often (3-5 times per page). I did so initially while designing the site because I ...
1
vote
0answers
178 views

Is there any SEO differences/considerations between data in LISTS vs TABLES vs DEFINITION LISTS?

Are there any SEO or user-experience considerations between using... Tables: <table> <tr> <td> Lists: <ul> <li> Definition Lists: <DL> <dt> <dd> ...
-3
votes
1answer
21 views

Play “.ch” extension stream on HTML [closed]

I am trying to play .ch stream from a html player. But can't find the solution. .ch streams can be played successfully in Android via "ExoPlayer". But I want to embed them to my website too, but none ...
1
vote
0answers
63 views

Nodejs Express - How to point two urls to single html page

I have an HTML page template (player.html) which displays Football players information and information is loaded on to page using a rest API call. When the user select "Ronaldo" from a dropdown, ...
1
vote
1answer
143 views

Meta tags position for SEO

I would like to know if position of meta tags like: <meta name="description" content="...."> <meta name="keywords" content="...."> given they are inside <head> tag, matters ...
2
votes
2answers
850 views

How to write JSON-LD for list of people?

I have a page that contains a list of people with a link of each that will open the main page of that person. Each link should have its own structured data. I'm using JSON-LD, but the example given ...
2
votes
1answer
2k views

How to use JSON-LD in my page that already have content?

I have a website that I created just to test my CSS, JS and PHP skills. I have written data in simple HTML tags. Now I heard about Microdata, RDFa and JSON-LD. And Google recommends using JSON-LD for ...
1
vote
1answer
58 views

Can a tracking script hurt your SEO?

In this case the script that I'm talking about is as below. It contains a redirect that shows the original url, but actually is a cloaked URL that can be ignored by adding data-pzz="false". So a SEO ...
1
vote
1answer
38 views

How to deal with a big structure website performance

first of all thanks in advance for taking the time to help me out. My doubt resides in how the performance is affected if I decide to develop a website only with html, css and javascript or if I ...
1
vote
0answers
35 views

Can I use < and > in my meta title and is it allowed by Google?

I want to use in title Get <my special product> at offer price. Is it allowed by Google and HTML standard to use < and > in meta title?
3
votes
1answer
88 views

What is the effect of class=“something” in a link on SEO

I'm wondering what the effect would be of a class in the HTML. Say I have a script that tracks events that I can turn off by adding class="notracking" to the link. Would this effect the SEO effect ...
1
vote
0answers
182 views

Is hiding <img> tag or set it in noscript SEO friendly? [closed]

Is it possible to make img tag display:none and then add it with CSS background? For example: <div style="background-image:url('image.png')"> <img src="image.png" alt="description of ...
1
vote
2answers
53 views

Hiding the text that is already shown in a preview image

I've got a page, in which I have a preview of a document, as JPG. Also, I've got the content read of that image. I am doing it like this, but I have no idea if this is a way Google won't hate me: &...
1
vote
1answer
27 views

How do you use a font-family's special features inside html?

How do you use a font-family's symbols, glyphs, ornaments and other features inside? For example how do you use a font's superscript?
1
vote
1answer
62 views

CSS Linked Comments [closed]

How can I do this kind of comments using html + css? Best regards
1
vote
1answer
89 views

How to link PDF and PS for best indexing while still maintaining proper design?

Assume that you are having a single web page with several links to your papers: ... Author list 1, Paper Title 1 [PDF] [PS], publication venue 1, year 1 Author list 2, Paper Title 2 [PDF] ...
2
votes
1answer
301 views

Can rel=“prev” and rel=“next” attributes be placed on elements other than <link>?

Is this the absolute ONLY correct way to indicate a paginated series of pages to search engines? <head> <link href="www.example.co.uk/news/?page=8" rel="prev"> <link href="www....
4
votes
2answers
64 views

.htacess - Remove .html from the homepage but not from folders within within that website

I'm trying to remove the .html from my landing page, an example would be instead of domain.com/contact.html it would be domain.com/contact while at the same time keeping the .html for all the folders ...
4
votes
1answer
39 views

HTTPS implementation. Should I change pre-head tags?

I implemented HTTPS on all the webpages of my website. My browser tells me it's a "Secure connection" with a green signal. I double-checked that all the images, CSS files, JS files, etc. were HTTPS, ...
2
votes
2answers
629 views

How do I correctly add index page to xml sitemap - do I need a canonical expression?

When I create an xml sitemap using an online sitemap creator, it adds the following <url> <loc>http://www.mysite.co.uk/</loc> <lastmod>2017-09-26T18:03:59+00:00</...
1
vote
0answers
9 views

(The attribute image.itemtype has an invalid value.) [duplicate]

<img itemprop="image" alt="Picture." src="http://www.websitename.com/img/picture.jpg"/> Here's my code. (Microdata). It gives me a warning on Googles Structured data testing tool.
1
vote
1answer
45 views

why and where should i write strict code like xhtml [closed]

I just start to learn web programming, first lesson we study html, I believe our text book content is out of date? It state XHTML is the future... But I seldom hear about it today now? I Google and ...
0
votes
1answer
35 views

AJAX compatibilty [closed]

In 2015 Google stopped supporting their AJAX for Adsense program, So I've researched and developed tons of AJAX content. I understand the flaws so I'm striving for backwards compatibility. loadPage('...
3
votes
2answers
4k views

Best way to add a custom font to my site?

Based on my research, I found that there are 3 ways to do that which are: @import url ('https://..........'); in CSS @font-face {fonta-family: 'myfont'; src: url('myfont.tff');} in CSS <link rel="...
5
votes
1answer
475 views

Are Static Websites (HTML & CSS) Hack-Proof?

If a website uses HTML & CSS only without any server side language, does it make it Hack-Proof? Thank you
1
vote
1answer
119 views

Is it considered keyword stuffing to use similar alt text on all images in a thumbnail gallery?

I have a thumbnail gallery of 50 photos under the category of "Mustang 1969". Now for each image I have this alt attribute: alt="blue ford mustang 1969" The only part that's changing is the first ...
3
votes
1answer
147 views

Does Google index JavaScript ALTERED content over original content?

I know Google nowadays is pretty good at scanning the DOM and adding stuff to your site using javascript isn't a problem anymore. Thing is, I'm using JavaScript (jQuery) to collect information from a ...
3
votes
1answer
86 views

Do search engines ignore or penalize well known quotes when they are properly marked up <q> or <blockquote>?

I want to add quotes from artists on my site. I know that I can put these quotes into q or blockquote elements. Do search engines ignore these quotes? I do not want these quotes to affect my sites ...
2
votes
2answers
179 views

alt attribute for thumbnail image that links to the original file

I have a wallpaper gallery page that displays small thumbnails, when clicked it opens the original full size image for a user to download it. Will adding alt attribute to the thumbnails make the ...
3
votes
1answer
303 views

SEO for links duplicated and hidden for responsive design

I would like to know if duplicating some links in the menu for responsive purposes (display:none in some cases) can affect SEO. Simple example: <ul> <li><a href="/one">one</a&...
1
vote
1answer
36 views

Would Google split a word if it has HTML tags on it?

I need to highlight some letters in a word. I wonder if Google will consider the text as a whole word if the crawler finds HTML tags between the letters. The text "example" will be written in the ...
2
votes
2answers
305 views

Is it SEO friendly to step directly from h3 to h5?

Because h5 style of the theme I use is better suited to the design I need. Or do I need to switch styles and keep the tag order.
2
votes
1answer
394 views

Which one should I use for SEO proposes? <div>text</div> or <img alt=“text” />

I know that the alt="" attribute is recommended for SEO propososes, but I also heard that put the description inside a div and hide with text-indent:-9999px or font-size:0; is a good practice for SEO. ...
1
vote
1answer
105 views

Will using a pseudo element to place background image on top of an image tag for SEO value have negative consequences

Will using a pseudo element like before to place background image on top of an img element for SEO value have negative consequences? The reason being we want the flexibility of an element with a ...
0
votes
1answer
165 views

Will domain name with keyword “Android” makes any legal problem? [closed]

I am planning to buy a domain with keyword "Android" to my website. But i am worried about having any legal problem doing this. If i am buying what all things i have to look forward?
5
votes
2answers
598 views

Do heading tags out of order penalise SEO?

I have always been in the belief that headings should always be in order - ie a h2 comes before a h3 but after a h1, unless it's within a separate section, then you can go back to a previous heading. ...
2
votes
1answer
60 views

When nesting directories, should parent directory URLs always have content for SEO?

For a customer website, I have the following page structure: Home topicgroup 1 topic a topic b topic c topic d topicgroup 2 topic e topic f topicgroup 3 topic g topic h topicgroup 4 topic i ...
-1
votes
2answers
88 views

What is required to get input from an HTML form emailed to you? [closed]

I am new to HTML and trying to build a form which basically gets the data from user as an input and by clicking on send it should send the details to admin via email + it should also notify user on ...
1
vote
0answers
53 views

CSS Flaticons Show up all Black [closed]

I have been unable to resolve this. I downloaded icons and using the demo they all show up back when they should show up in a more colorful fashion What they should look like: http://www.flaticon....