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.

learn more… | top users | synonyms (1)

3
votes
3answers
131 views

How to use more than 1 schema.org schema on a web page

How do you add more than one schema to a web page? I am using the Organization and WebSite schemas on my home page. I am writing the markup in JSON-LD format. The Organization schema for the ...
0
votes
1answer
154 views

schema.org/Book with multiple authors using JSON-LD [duplicate]

How do I display multiple book authors using JSON-LD? This question is similar to my original question, but decided to create a different one seeing that 2 different formats are used. Here is my ...
6
votes
3answers
199 views

Is it OK to use same text for title and alt text for an image?

Should the title and the alt tags have completely different text for a certain image? Or is it OK if I use the same text for both the title tag and alt tag? The text would be different for every ...
2
votes
0answers
14 views

Two <h1> tags on all pages showing same content [duplicate]

Hi I have a little problem. The website theme we are using displays the website name at the top of every page as an element the title of the post then gets displayed as an element again. Effectively ...
5
votes
2answers
908 views

Is it OK to have lots of external links to other domains that I own?

I have multiple web shops (34). I want a menu with a list of links to all of them on each site. Should I use rel=nofollow? Or should I use rel=nofollow on each page except the homepage (against link ...
5
votes
1answer
67 views

Spamassasin reports HTML_FONT_TINY with huge penalty, what is it?

Update The authors of the plugin suggested that it is a false positive. I am using MailPoet in a Wordpress installation to send newsletters. In an effort to validate the chances a newsletter has ...
4
votes
2answers
57 views

Should I compress very small HTML pages?

Here's the thing: More compression of a page means more work of the server CPU. 99% of my website for most visitors is gzip compressed. I have made error pages which are not compressed. They use 2 ...
11
votes
3answers
1k views

Is it bad practice for SEO to use <i> in header elements?

For making a user friendly website, I have to use some of Font Awesome fonts in <h> elements like this: <h2> <i style="color: rgb(102, 149, 45); vertical-align: inherit;" class="fa fa-...
1
vote
2answers
70 views

Which API key do I need to implement Google Maps/Street View?

First time implementing Google Maps/Street View, side-by-side into a webpage. Which API Key do I need please? Source Link: https://developers.google.com/maps/documentation/javascript/examples/...
1
vote
0answers
46 views

When should I use the “crossorigin” attribute on a “preconnect” <link>?

I’d like to include some preconnect resource hints on my site so that browsers can (for example) connect to the jQuery CDN before they actually see the script tag that invokes the CDN. I’m not sure ...
1
vote
1answer
63 views

Does this count as an acceptable adsense implementation?

After being disgusted with mostly $0 RPM on my mobile site, I thought of a new idea but I'm not sure if it will be acceptable. On Google's own help pages, I noticed on the responsive section they ...
1
vote
1answer
58 views

Hide text ONLY for screen readers

The WCAG says it can be done by aria-hidden tag, but I've read it's not working at many screen readers. Can't get how display:none can help to hide some text only for screen readers (=visible to ...
0
votes
2answers
82 views

Template websites vs Building website from scratch when considering SEO

Do companies which offer template websites (such as Wix and Weebly) offer as much SEO customization and versatility such that they can not be considered less effective in Search Engine Listings, than ...
3
votes
1answer
72 views

Employee has left but and been removed from website but searching for their name still returns website

An Employee of ours left November last year, and any mention of them has been removed from our website, but when searching their name in Google our site still returns as one of the top results. We ...
1
vote
1answer
118 views

Does a script tag really need a color defined?

I went to achecker.ca to test my website for accessibility issues. While it found no actual problems, it found about 100 potential issues. One of them is this: 1.4 Distinguishable: Make it easier ...
8
votes
2answers
777 views

Does minifying HTML have an impact on SEO?

What happens when I minify my HTML in SEO terms? I mean, I minified my HTML which means that every <meta... /> tag is being placed on one line. Will this affect my SEO at all?
0
votes
1answer
18 views

How to define the background color of this side menu? [closed]

I've added a side menu successfully but when i want to change the color of it it doesn't work. The mid of the menu is still another grey and i dont know what to do. Tried to add style="background-...
1
vote
2answers
27 views

EM or I element is best in pagination?

What I have setup on my site is a pagination unit that consists of two clickable arrows representing previous and next pages, and in between them, I have clickable numbers. Each number is styled ...
1
vote
1answer
145 views

Does changing strong element CSS styling affect SEO?

<strong> HTML elements have default black and bold CSS styling. I want my strong elements to have light blue background, have blue as font color and underline strokes. But does changing the ...
3
votes
2answers
295 views

How can you have a hotel to have a Schema.org rating based on the hotel star rating system?

How would you write microdata for hotels with ratings classified as "1-star" to "5-star" hotels? Looking at http://schema.org/Hotel, I see no "Rating" property but only an "aggregateRating" one which ...
8
votes
3answers
444 views

When using a stacked font-family, what does the browser use when NONE of the specified fonts are present?

Simple HTML code example: <p>font family</p> Simple CSS code example: p { font-family: Arial, Helvettica, sans-serif; } Browser looks for Arial Arial is not present then it ...
1
vote
2answers
137 views

Difference between px and em in html5 [closed]

Check this sample code <p style="font-size:30px">HTML</p> <br> <p style="font-size:30em">HTML</p> What is the difference between em and px ? In which place should I ...
1
vote
1answer
21 views

How to properly make a custom 404 page in apache2

My .htaccess ErrorDocument 404 http://www.mywebsite.com/error_404.php My error_404.php header <?php header("HTTP/1.1 404 Not Found");?> Redirection works well but it seems like this ...
2
votes
2answers
88 views

Header Tags with image and SEO

Is this bad for SEO? The designers came up with it. Basically there is an icon next to each Header Text. So for each page and the respective header there is an icon associated with the page. Markup:...
4
votes
1answer
121 views

SEO and the use of ellipsis CSS property

I have a Q&A service and in every question details page, there is a section named "related questions". Every question in there has the title and the initial lines of the answer. We are limiting ...
2
votes
2answers
44 views

Will googlebot misinterpret my site if I had no spacing between anchor tags?

Some sections of my website involve displaying a list of photo thumbnails. The source code to that is similar to the following when condensed: <div> <a href="1">1</a> <a href="2"&...
2
votes
1answer
33 views

Can I create a MediaWiki without Wiki Syntax (only HTML)?

My company likes to use a MediaWiki. But they are using special WYSIWYG editors (CKeditor) with special parsing algorithm to transfer HTML to WikiSystax. Is there a way, to include other editors ...
3
votes
3answers
308 views

Using PHP inside .html files not working as expected

Apache2, Linux, php5 I have added this line to my .htaccess file AddType application/x-httpd-php5 .htm .html running apace2ctl -m, shows this module loaded A php5_module (shared) I have a ...
1
vote
0answers
24 views

How to do SEO for dynamically loaded videos

I got an vimeo-video which is loaded into an overlay-div, if the user clicks a button. How can I provide SEO on my website for the dynamically inserted video-iframe? Can I just meta-tags in the markup ...
1
vote
2answers
53 views

Importance of minimal markup on a page?

Having minimal HTML on a page used to be believed to be a ranking factor (not necessarily a huge one, but still something). For example, Moz.com's 2013 SEO study assigned a degree of value to "Total #...
1
vote
2answers
48 views

Forcing page-speed insights to rescan my page

I'm trying to get google to rescan my page at page-speed insights. After the initial scan, I get results along with the following at the bottom: *The results are cached for 30s. If you have made ...
4
votes
2answers
127 views

Should URLs with UTF8 characters be encoded in HTML?

I'm thinking of names and stuff containing accented characters. E.g.is there a difference between: <a href="http://example.com/thing?name=forêt">link</a> and <a href="http://...
0
votes
0answers
52 views

If I used CSS to size an image, would google understand the new size?

Say I have this html code (replace x and y with actual numbers): <html> <head> <style> IMG {width: 100%;height: auto; max-width:xpx; max-height:ypx;} </style> &...
2
votes
1answer
119 views

A large image placed at top of page causes page-speed insights to complain

I made a site that's basically a site asking people to vote for a person and the first page mostly shows a picture of a person which is what the site is about. Most of the text is underneath and ...
-5
votes
3answers
254 views

what does the <hr /> tag do in wordpress?

I saw that using <hr /> before and after some content sort of lifts the content. Could anybody share what does the tag do and does it come/have antecedent from HTML 4.0 or is a tag done/...
0
votes
2answers
41 views

Is it ok to use HTML comment in order to remove a meta directive?

I am working on this new site, and the original creator used meta keywords. I want to remove them but for various reasons it cannot be done through PHP. Long story. The easiest way to remove them is ...
0
votes
0answers
20 views

Repeated site content in multiple php pages [duplicate]

I have 3 pages: a.php <p id="block1">text1</p> b.php <p id="block1">text2</p> c.php <? include('a.php'); include('b.php'); ?> So, we have access to ...
3
votes
2answers
73 views

Getting Google to index main section instead of nav in SERPs

I have a problem here where Google shows my <nav> instead of my main section in the SERPs. On top of that, because my nav is made up of inline elements, the result gets really messy: example....
3
votes
1answer
299 views

XSRF Error when link is opened via an <a> tag with target attribute set to “_blank”

I've run into a peculiar bug that I have not faced before. I can provide any details that are needed but I'll try to be as generic as possible. We have a intranet portal that links off to other ...
1
vote
0answers
66 views

checking for duplicate title and meta description tags across multiple subdomains

I know in Google Webmaster Tools, under "search appearance" for any domain, there's an "HTML Improvements" section which only checks crawled URLs specifically for that domain. My website has ...
1
vote
1answer
55 views

For a given web page, what is the order of appearance in the HTML code for SEO?

In terms of SEO, we typically want to put the most important content as near to the top of the HTML code as possible. This means that the order of visual appearance will differ from the order of ...
0
votes
1answer
99 views

HELP! my login session is returning the users password instead of their username! [closed]

I have my code set up to display the username in the nav bar however its displaying their password? nav.php <li> <a href class="userName"><?php echo $_SESSION['userName'];?></...
0
votes
1answer
148 views

Can ContactPoint markup be made with Microdata or only JSON?

I read this question, How to define phone types using Schema.org, but it uses JSON. And then Google's Instructions for Corporate Contacts uses JSON and finally Schema.org Contactpoint only shows ...
0
votes
1answer
19 views

Why use meta for some Schema markup?

I don't quite understand why some Schema.org examples use <meta> instead of say <span>. For example: <meta itemprop="startDate" content="2016-04-21T20:00"> Thu, 04/21/16 8:...
0
votes
1answer
58 views

optimal cache setting for dynamic page

My webpages on my website may appear static to the user, but they're actually dynamic since data is retrieved from a database and may be changed at anytime. Additionally, users may customize some ...
0
votes
0answers
17 views

Multiple touchscreen setup/display

I hope this is in the correct SE area. I have been tasked with designing a touchscreen interface for multiple display screens. I have successfully designed this using html, css & php (a simple ...
1
vote
3answers
78 views

Is there a way to mark unusual words as spelled correctly so search engines don't think the site has poor spelling?

I want to know how to indicate a particular word or work is not spelt incorrectly. Spelling does affect SEO but the common spellcheckers usually come up with around 10-20 errors per page, but these ...
3
votes
2answers
130 views

Is it against Google's policies to have an AdSense advertisement in an HTML table?

On my site, I have a section where people can view a large image along with a few options underneath it. I placed each option in its own table cell and I reserved one table cell for the advertisement. ...
4
votes
3answers
160 views

Which element (h2, p, em) for this text? (SEO vs. correct formatting)

What is the correct tag to use in the middle section of the image below, keeping in mind correct site structure and SEO? There have been some discussions and these are the arguments I have heard: ...
0
votes
0answers
18 views

Is it okay to have multiple <h1> tags on a single page? [duplicate]

I have a product category page and if user clicks on that category he/she will be taken to the products page that are available in that specific category. Now, while users is on product listing page, ...