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)

4
votes
3answers
2k views

How many H2, h3 h4 are the maximum recommended?

I know that only one H1 is recommended, but what about the other titles? I've read that you can put "as many as required H2 elements to denote sections on the page". Is it correct?
4
votes
1answer
104 views

Should I specify both <a rel=“alternate”> and <link rel=“alternate”> for multilingual websites?

I have read Google's recommendations regarding <link rel="alternate"> in the <head> for multilingual websites. As far as I know, we can also use rel="alternate" on <a> tags, and so ...
4
votes
1answer
990 views

What are the advantages of Schema.org's microdata vs Microformats et al?

I'm confused about which microdata methodologies to employ on my site, is there an advantage to implementing the attributes from Schema.org, vs one like Microformats?
4
votes
1answer
706 views

SEO wikipedia content and blockquote - duplicate content

I have a large website that aggregates content both from the websites and Wikipedia. Even thought it's someone else content, the way it's combined is unique ad provides a valuable user experience ...
4
votes
3answers
139 views

Are there any good reasons to intentionally serve a new web site in Quirks mode?

I was a little surprised that Amazon's site doesn't specify a doctype, and is rendered in quirks mode. What could possibly be the reason for this? I understand what quirks mode is and why doctypes ...
4
votes
2answers
467 views

Can microdata be implemented in meta tags?

Please consider the following code marked up with attributes to provide microdata: <!DOCTYPE html> <html> <head> <title>Micro data test - Normal ...
4
votes
1answer
168 views

Can one spread rich snippet breadcrumbs markup all over a page?

From here, we have an example of a rich snippet breadcrumb implementation: <body itemscope itemtype="http://schema.org/WebPage"> ... <div itemprop="breadcrumb"> <a ...
4
votes
2answers
326 views

2013. Do I need to care about HTML entities?

I'm wondering if I should go out of my way and replace all chars like ÜÖÄ on my site. I understand that PHP can get these wrong, but is there an actual reason, why I need to put them out as HTML ...
4
votes
6answers
475 views

Create single HTML file from many HTML files by keeping header, sidebar & footer section common

I don't know whether I am missing a trick in HTML. I have one simple HTML website which has over 100 HTML pages. For each page the header, sidebar & footer section are the same but the content is ...
4
votes
1answer
146 views

Using hreflang to specify a catchall language

We have a site primarily targeted at the UK market, and are adding a US-market alternative. As per Google's recommendations: To indicate to Google that you want the German version of the page to ...
4
votes
1answer
125 views

Migrating a small web application for smartphones by creating narrow HTML pages?

I have a small web site offering a couple of functionalities, but it was not designed to operate with smartphones then. I don't have experience with smartphone application development (and this might ...
4
votes
2answers
3k views

Big stylish quotes using only HTML/CSS?

Is there a simple way to pull off this style of quotes in HTML/CSS without having to resort to images or things like absolute positioning? It seems every time I look away something new and awesome is ...
4
votes
3answers
62 views

Will linking individual words within my content help or hinder my SEO Ranking?

I am trying to improve my SEO Ranking, will linking my content to other pages on the site hinder or help my results. For instance if I was to link back to the home page every time I mentioned the ...
4
votes
2answers
72 views

Can HTML tags contain new lines within the tag between attributes?

Can I use enter or line break to separate HTML attributes within an HTML tag? For example: <input type="text" name="usrnm" placeholder="Username" />
4
votes
1answer
74 views

How do search engine crawlers deal with imported HTML using link rel import tags?

Consider the HTML5 tag named link. Is this relevant to web-crawlers? <head> <link rel="import" href="/path/to/imports/stuff.html"> </head> Say there are images in this linked ...
4
votes
2answers
2k views

hProduct-microformats not work in google

I'm trying to work with hProduct was testing tool for google microformats ( http://www.google.com/webmasters/tools/richsnippets ), but it is not recognizing the data: does not recognize the photo ...
4
votes
2answers
113 views

Difference between linking to specific page or folder

Is there a difference between linking to www.example.com/site/index.html and www.example.com/site/ since it'll point to the same page? I point everything i can to a folder on my website, i just think ...
4
votes
4answers
130 views

SEO pagination link title

I have pagination links like so: <a href="?page=2" rel="next">2</a> Now when searching google google link to this page is 2, as you see here (google link). Does adding a title to ...
4
votes
2answers
3k views

If I override <STRONG> in CSS, does it retain any style elements?

If I override the HTML tag <STRONG> in CSS by specifying a different font weight and size, does it retain any other style settings or properties? strong { font-weight:700; font-size: ...
4
votes
1answer
142 views

Is there a class or id that will cause an ad to be blocked by most major adblockers?

Is there a general class or ID for a html element that a high majority of popular adblockers will block on a website it has no information for. My intention is to have my advertisement blocked, ...
4
votes
2answers
357 views

What are the pros and cons of using Dublin Core meta tags?

This is an open question on why, how, or when to use or not use Dublin Core meta tags. For example, <meta name="DC.title" content="Title of my Webpage" />. Should this be used in addition to or ...
4
votes
1answer
1k views

html 5 doctype & SEO

I am trying to get my pages validated using Markup Validation Service on W3C validator. We are getting validation against the XHTML 1.0 Strict doctype comes back with the following error: ... ...
4
votes
1answer
1k views

Multilanguage site meta content-language tag

I have a website which is in 3 languages: English (primary), German and French. When a language is selected all of page's content is translated to the selected language (the page content is always in ...
4
votes
3answers
962 views

Why do all of the various design grids neglect horizontal spacing?

Whether its 960grid or Fluid or 9/12/16/20 column grid systems...they all factor in vertical spacing but never horizontal spacing. Granted we view sites top-to-bottom so we don't necessarily design ...
4
votes
3answers
138 views

Adding my blog to my website

Hi I've got a blogspot blog. I want to display my posts in my HTML-Based website. What should I do? I've already tried adding it as RSS but failed. I want everything to look natural. I don't want my ...
4
votes
1answer
124 views

How strict is the “same content” requirement for Google HTML snapshots? Can pared down HTML with the same text be used?

Are there any requirements for a HTML snapshot for Google other than: .. must contain the same content as the dynamically created page .. found here: ...
4
votes
2answers
2k views

Star rating not showing in rich snippets

We've recently been doing a lot of work on our site's SEO (www.betterthanreviews.com). We recently did a push to update the rich snippets breadcrumb, meta description, and star rating. After giving ...
4
votes
1answer
197 views

How to prevent Blogger from converting relative URLs to absolute URLs

If you create relative links in Blogger, it tends to automatically convert them into absolute links or to add http:// in front of the URL. Is there any way to prevent this? Update: I have reported ...
4
votes
1answer
159 views

Will these tool tips get me penalized?

I have a page of 10 products. Each product has a list of (7) features associated with it. If a user hovers over the name of the feature, (ex. Moisture resistance), a tooltip description displays. ...
4
votes
2answers
336 views

<!--hppage status=“protected”--> Bad for SEO?

I've just come across this protection code: <!--hppage status="protected"--> It hides the html and page code from anyone who wants to right click and view source. I can't see a work around to ...
4
votes
1answer
2k views

Effect on SEO of lazy scrolling on HTML comments

I am thinking about using a JS script that lazy loads HTML when scrolling ( http://ivorycity.com/blog/2011/04/19/jquery-lazy-loader-load-html-and-images-on-scroll/). I am not too sure about whether ...
4
votes
2answers
798 views

Easy user management on html site?

I hope I'm not asking a question for which the answer is obvious...If I am, apologies. Within my html site (i.e. not Wordpress, Joomla, etc.) I want to be able to have a level of user management. ...
4
votes
2answers
1k views

Embedding a Disqus forum on my website: showing scrollable area instead of expanding the height

I hope I put this question as it should, I am not an expert in html/css/javascript, so forgive me if it's not very clear. The issue is as follows. I made my first website last week for the birth of ...
4
votes
0answers
12k views

What is a good default font family for any IE8/9, Chrome & Firefox? [closed]

I have users complaining that fonts are not clear on some browseres (especially displaying data in grids...I'm using Trebuchet MS per default of asp.netmvc3 css site styles) Q: What is a good overall ...
4
votes
0answers
54 views

How to best format your HTML to help Google display your websites navigation with the search result for your site in Google Search? [duplicate]

Possible Duplicate: What are the most important things I need to do to encourage Google Sitelinks? Look at the first result for "smashing magazine" in the image below. See how Google ...
3
votes
5answers
488 views

How can I determine the background color of a site?

How can I determine the background color of a site (so I can use that color in Photoshop)? I looked at the source code, but I don't know code well enough to figure out what's what...
3
votes
2answers
1k views

Can I spread 2 cells across 3 rows in an HTML table?

I know its possible to spread 1 cell across multiple rows using the rowspan attribute, however is it possible to spread 2 cells evenly across multiple rows, without resorting to a nested table?
3
votes
2answers
141 views

What is this image type on Youtube.com?

Go to this video: http://www.youtube.com/watch?v=qrO4YZeyl0I on Firefox6.0 Now, right click on the black image (View Background Image), you will see this in the address bar: ...
3
votes
4answers
2k views

Breadcrumbs in H1 - How does it affect Google?

Is it good for Google? Like this: <h1> Home >> Services >> Toilet cleaning >> Showcase </h1>
3
votes
3answers
270 views

Importance of 'href' attribute within an <a>

I am aware of the 'content is king' seo rule, but I'm also wondering whether empty <a> HTML elements is a relatively big downside regarding SEO. To be more precise and actually cut to the ...
3
votes
4answers
3k views

Check for duplicate 'id' values in a HTML page

I am developing a web application and I would like to check for duplicate id values in a HTML page. I am running the application on my local machine. There is a way to do that? P.S.: I am using ...
3
votes
5answers
345 views

Should a Computer Scientist do the HML + CSS job when building a website?

I'm studying Computer Science, and I've always been more interested in programming than in designing and creating the layout of some websites. Is this something I should know? Or should I focus on ...
3
votes
7answers
961 views

Space in img:s “ALT” attribute good/bad for search engines?

I am trying to make it easier for search engines to crawl my website, as it is almost 100% dynamic. I have a couple of transparent images which are actually links to sections of my page. I wonder, ...
3
votes
2answers
5k views

Best and safest SEO way to hide h1 tags

I want to use images that I created in PS for page titles. Because they will be images they will not be picked up by Google, etc. What is the best practice for hiding the <h1>? I was planning on ...
3
votes
2answers
897 views

Which is better to use <b> or <strong> for SEO?

I've been coding for a while and it's just struck me, what's better to use in terms of SEO: <b>Hello</b> or <strong>Hello</strong>
3
votes
1answer
164 views

Can I safely include “self-defined” HTML Tags in a HTML Website?

I have seen a website that has a doctype of <!DOCTYPE html> This website uses HTML Tags that I have never seen before like <section>. My Question: 1.) Is this kind of "generic ...
3
votes
2answers
92 views

SEO on my website

I have a website that I made for a friend who runs his own business. I designed and built the website for him and then hosted it on MY hosting package and URL - Lets call this URL 1. He was happy ...
3
votes
2answers
823 views

Wordpress vs Clean html/css

When it comes to designing/coding presentational websites, with static content and few pages.. let's say, between 5 and 20. Would you go with wp, design a custom theme and update with content, or ...
3
votes
3answers
459 views

Basic semantic rules of CSS (and HTML), right or wrong?

Here is the summary I've recently learnt from discussions on this site (and similar) of 4 basic rules, so please correct me if I'm wrong or misunderstood something: a) Don't use IDs in CSS (or use it ...
3
votes
3answers
1k views

mathML/HTML symbol for mathematical vector

Is there a way to make something like the image below using text-based HTML/mathML. My concern is with the arrows over the letter v. This is for iOS (webKit); I'd rather not use mathJAX or the like ...