Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
0answers
158 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> ...
0
votes
0answers
39 views

How do you do 301 redirects when you've changed platforms?

A client is having problems with 301 redirects producing 404 Error messages. They previously had a WP site, but decided to change it to an HTML one. They are using the same domain name, and hosting is ...
-3
votes
1answer
18 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
57 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
105 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
640 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
1k 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
55 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
36 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
34 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
86 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
135 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
51 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
26 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
58 views

CSS Linked Comments [closed]

How can I do this kind of comments using html + css? Best regards
1
vote
1answer
88 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
245 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
63 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
38 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
464 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
33 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="...
4
votes
1answer
348 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
99 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
146 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
77 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
148 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
288 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
35 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
300 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
343 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
93 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
143 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
562 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
55 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
82 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
43 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....
1
vote
1answer
91 views

Best element to use for simple anchoring, avoiding potential SEO penalties for lack of content and purpose of the element

Firstly, an introduction to why the element is necessary I have a need to compensate for a fixed top navigation bar in my anchors. For example, if I let my users navigate to a section like #comments ...
3
votes
1answer
199 views

Is there any difference in a plain text link on a page, and a hyperlink SEO wise?

So I am making an HTML sitemap for my users, mostly to see how it affects SEO, and to see if it would be beneficial visitor-wise. Is there any difference between the two types of links, and how ...
5
votes
1answer
745 views

How essential is the H1 element for SEO?

I'm rolling out a new webpage, and the logo of the product includes the text of the brand name. Aesthetically, the page would look better with just the logo and subtext, but that would mean omitting ...
0
votes
1answer
56 views

Do <html>, <body> and <head> tags even matter anymore? [closed]

Back in the 90's books would always talk about using body and head tags. Do those tags even matter anymore? I've added scripts and style tags and the browsers accept them without any tags.
2
votes
1answer
138 views

Will text hidden except for screen readers be problematic for search engines?

I'm have an accessibility & SEO problem. I want to display more information and punctuation for the people using a screen reader. Will this code will be understand as duplicate content by Google ...
3
votes
2answers
2k views

Is loading the article content using jQuery & AJAX bad for SEO?

I am loading the content of main article using jQuery . Is it effective for SEO? Is it bad practice? For example I have a page URL example.com/ariticle?seid=14 Here when the page loads, I fetch the ...
1
vote
1answer
229 views

How to remove “X days ago” on WordPress page from Google SERP?

This is a WordPress page (not blog post), how do I remove this "X days ago" text from SERP? I looked for answers on Google and all of them are for blog posts, not pages
1
vote
3answers
1k views

Is a huge style attribute bad for SEO?

I'm working on a website using wordpress. When opening Chrome's console (Ctrl+Maj+I), I couldn't help but notice a HUGE style attribute and tons of scripts directly written into the HTML document. ...
-1
votes
2answers
2k views

PHP website page loading is very slow in localhost [closed]

PHP website pages are taking very long time to load for huge data in localhost(using Xampp). The page loading becomes faster for less data. Could anyone tell why how this can be?
2
votes
1answer
198 views

Remote CDN: Pro's and Cons of grouping CSS and JS

I'd like to know the pros and cons of grouping external CSS and JavaScript files. The grouping method I'm referring to often seen by external libraries providers such as Google fonts and jsDelivr. ...
0
votes
3answers
67 views

Website <head> section questions

I've been doing some tidying up on my site recently and have been making some minor adjustments to the section of each page (primarily to cut out any potential duplication). However, I just have a ...