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)

9
votes
2answers
971 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 ...
9
votes
5answers
542 views

Is the W3 standard a major factor when google decides SERP position?

I have a dynamic php website which index only has around 800 errors according to the w3 validator online. I have tried checking major websites like ebay, stackoverflow and others also, all with ...
9
votes
2answers
212 views

What are the basic things to do in order to make a web site iPhone-friendly or more mobile-accessible?

What are the basic things to do in order to make a web site iPhone-friendly or more mobile-accessible in general?
9
votes
4answers
3k views

Is there anything wrong with targeting the alt attribute in css?

I tried targeting the the alt attribute in css. My solution worked in Firefox/Mozilla, but fails in Safari-Chrome/Webkit. Is there anything wrong with styling an alt tag? If not, how do you suppose I ...
8
votes
4answers
2k views

Will enclosing an <h1> element inside a <p> element affect SEO?

Is it okay (SEO-wise) to construct the following line as such: <p>These are the best <h1> Cheap Widgets </h1> ever. </p> Wondering if this looks too unnatural for search ...
8
votes
2answers
10k views

How to mimic <pre> with <div>

I am publishing python code on some website that is CMS. I have a python script that reads any python script and makes a syntax-colored HTML out of it. Then I copy/paste this HTML into the CMS editing ...
8
votes
3answers
317 views

What font technique is being used here?

While I was attending this event (http://worldtour.fogcreek.com/) I noticed this page had custom fonts for the Address part in the top left corner (i.e "Fog Creek Software 55 Broadway Fl 55....") When ...
8
votes
2answers
358 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 ...
8
votes
3answers
1k views

Is minifying id and class names a bad SEO practice?

I am a big fan of minifying everything whenever possible. It is a sin for me to don't do this. However, I recently read that one of the thousands tips to boost your website rank on search engines was ...
8
votes
4answers
260 views

Can missing anchors be logged?

If I have a broken link it gets logged with a 404. If I have a link to an anchor and the anchor is missing, I don't get an entry in the log. How can I find those broken anchor links, especially if the ...
8
votes
4answers
2k views

Self-referential hreflang attributes for single language website?

I've been told by an SEO company to add a hreflang attribute to every page on a single-language website (ie. 'self-referential' tags), but everything I've read about the hreflang tag, including ...
8
votes
7answers
1k views

Can anyone list some real examples of 'HTML5' being used in the wild?

I am using HTML5 in the same way everyone seems to be using it these days, meaning: HTML5 tags, Canvas / 3D / javascript and CSS3. I am struggling to find examples of sites that are using these ...
8
votes
5answers
221 views

HTML vs Xhtml; which one to start with

hey people i am starting to learn making websites, now i want to know what is the difference b/w HTML and XHTML; kindly keep it simple and jargon free pls. :) also, what mark up language i shall use ...
8
votes
3answers
583 views

Is splitting keywords with HTML tags bad for ranking?

I have a site that uses span tags mid heading to put a different style on the words. So for the sake of argument I have a keyword/phrase of knitting patterns: <h1><span>Knitting ...
8
votes
3answers
601 views

Image SEO - always repeat main keyword in alt text?

I'm working on an Easter Island website and I'm currently redesigning my image system. Virtually all my photos are of Easter Island. My question is, should I always include the keywords "Easter ...
8
votes
2answers
480 views

Should I be using WAI-ARIA in my HTML website builds?

Should I be using WAI-ARIA in my website builds? Will it have any benefit? Is anyone adding 'role' to their code at the moment? Some info about WAI-ARIA - www.w3.org/WAI/intro/aria. The tab, link, ...
8
votes
2answers
680 views

Double vs Single Quotes in Chrome

So when you want to embed google docs on a site you are given this chunk of code: <iframe width='500' height='300' frameborder='0' ...
7
votes
5answers
18k views

How do I add the copyright symbol to my webpage?

How do I add the copyright symbol to my webpage?
7
votes
5answers
213 views

Website Design; SEO Dilemma

Okay so I designed a website for a restaurant and the design is aimed mostly to entice the viewer by using images of the restaurant's platters and foods. Not to say that text is totally non-existent ...
7
votes
2answers
571 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?
7
votes
2answers
363 views

html: Should <code> be placed within a paragraph?

Markdown creates output like this: <p>see this example:</p> <pre><code>code</code></pre> Is this correct or should it be: <p>see this example ...
7
votes
4answers
382 views

Who Is Against CSS and JS?

I know there is a group which promotes very basic HTML. They advocate against CSS and JavaScript. Does anyone know the name of this group? Just to be clear this was a website, or a foundation, or a ...
7
votes
5answers
2k views

What is a good WYSIWYG HTML Editor?

I've used Dreamweaver (albeit CS3 so I am a few versions back), but I am disappointed with the amount of invalid markup it produces. Are there other WYSIWYG editors out there that produce valid ...
7
votes
4answers
3k views

How to tell the Browser the character encoding of a HTML website regardless of Server Content-Type Header?

I have a HTML page that correctly (the encoding of the physical on disk matches it) announces it's Content-Type: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ...
7
votes
5answers
2k views

Absolute vs relative links

Our site's navigation links are currently in relative form: <a href="/section"> The SEO company I mentioned in my previous question recommends we change them to absolute links: <a ...
7
votes
1answer
562 views

Duplicate content on the same page - SEO ramifications?

In certain situations, I've seen Responsive Design websites with duplicate content on the same page. The pages had duplicate HTML structure and content in some parts of it due to Responsive Design. ...
7
votes
4answers
1k views

How can I neatly embed Flash in a page in a way that is cross-browser compatible?

When I receive Flash objects from my designer, it comes with an example HTML page which includes both <object> tags and <embed> tags as well as a whole heap of JavaScript. If I copy and ...
7
votes
2answers
3k views

Convert Microsoft Word documents (.doc/x) into HTML files

Does anybody knows of a good application to get it done quickly and efficiently ? I bought Word Cleaner but the results are merely sufficient and I need to go over all the generated html files to ...
7
votes
3answers
62 views

Is there a way to show Google and other robots a URL to original-sized image without anchor?

Let's assume I have an image. <img src="book_thumb.jpg"> And I want it to be indexed in Google and other search engines, but in its normal size, not as a thumbnail. So I just want Google to ...
7
votes
1answer
419 views

Images Maps SEO and Accessibility

My question of the day is about image maps and accessibility. Now it is my understanding that whenever you use an alt tag within an img tag you describe the image which increases the user ...
7
votes
4answers
2k views

A method to edit html email templates easily

I'm designing and developing some html email templates for mass mailings. I was asked to provide an easy solution for a non-technical person to edit them safely and easily. I'm afraid conventional ...
7
votes
2answers
427 views

Recent statistics on HTML usage in the wild?

I have seen some fascinating statistics about what HTML markup is actually in use on the web. There is Web Authoring Statistics from Google in 2005, and MAMA from Opera in 2008. Have there been any ...
6
votes
4answers
1k views

Too many duplicate image alt attributes. What to do?

I've got a table. And as you can see below I've got a lot of duplicate alt attributes going on. What is the best way to prevent this but still have valid HTML5 code? <table id="benefits"> ...
6
votes
8answers
4k views

If CSS is getting better why do big-brands websites still use tables for layout?

Everybody is referring to how content should be separated from layout and I am one strong advocate of that architecture, I find it easy too to use CSS to layout, much much easier than tables, But ...
6
votes
4answers
1k views

What are the essential HTML tags? [closed]

I want to know what HTML tags are "compulsory" a web-page should have, in order for it to be displayed by a web-browser. Also, what is the difference between different versions of HTML, in general?
6
votes
7answers
8k views

Can I hide <h1> tag? Will it hurt SEO?

My pages look better without a heading title. So I don't really want to use a heading, but I don't want to leave <h1> out. Is hiding the element an option? Will it hurt SEO?
6
votes
3answers
2k views

Should I still use the <b> tag?

A while ago I learned to use proper CSS stylesheets on my websites. However, on Wikipedia and eBay and other sites I see the deprecated <b><i> tags being used. I was going for <span ...
6
votes
5answers
177 views

Is there a good tool for HTML content generation by less technical stakeholders?

I am the webmaster and everything else technical for a tiny startup company. Some static content is being written in MS-Word by stakeholders. What is the best process to get HTML content instead? ...
6
votes
5answers
497 views

Are Meta Keywords Obsolete? [duplicate]

Possible Duplicate: Are meta keywords worth the effort? Creating a website for a BraodBand Company, and not too sure whether or not to go ahead and fill in the meta keywords? Are they still ...
6
votes
5answers
9k views

rel=“nofollow” in img tags?

Does it make sense to have a rel="nofollow" attribute in img tag? Do search engines' crawlers use this attribute in some way for calculating PageRank score? What is the practical sense for using it ...
6
votes
4answers
6k views

Specifying image dimensions to improve browser performance

I recently ran an audit on my web site using Google Developer Tools. My images are all the same size (500 horizontal by 300 vertical pixels) so I thought it would be better if I left out the image ...
6
votes
4answers
6k views

In Robots.txt, how do I disallow all pages except for the index page?

I want google to index my index page, but do not index any other pages. User-agent: * Disallow: / So far I have this. However...when I do this, Google does not index my index page. When I search ...
6
votes
2answers
283 views

How can I make a web browser view my .h file as text?

I want to post a .h file from a project I'm working on. I set a simple href link to it, like: <p>Click here to download the <a href=project_strings.h>strings file</a>. When I ...
6
votes
4answers
1k views

Does valid HTML, CSS and/or XML affect SEO?

Can a page's HTML validity affect search engine optimization (SEO)? Assuming all other factors are exactly equal, will an HTML document with 0 errors and 0 warnings (W3C provides a tool to validate ...
6
votes
2answers
2k views

Avoiding background and main menu reloads (white flash) when users navigate my site?

Not a major problem, but I would like to understand more about how some websites can serve different pages to a navigating user, such that the browser doesn't visibly pass through a blank white page. ...
6
votes
2answers
141 views

Is there a way to block the use of Google's SideWiki?

Google created a tool that can be really great for some people, but it can also be a huge problem for others. I'm talking about the (in)famous SideWiki. I'm trying to find a way to block the use of ...
6
votes
1answer
1k views

Why should we prefer table over div when it comes to emailers?

When it comes to converting designed email templates to html format, how is a table layout better than a div? What are the exact reasons we tend to choose table over div for emailers?
6
votes
2answers
216 views

Main <h1> tag is embedded in an unordered list. Will this affect SEO?

By way of design the header of my document looks like this. The <h1> is buried in an <ol>. It's still the first heading tag of the page but will it lose any of it's SEO value compared to ...
6
votes
5answers
6k views

STRONG and EM tags inside H1 and H2 and SEO on database-driven website

I am trying to tweak the SEO of my Website, I have read a 400 SEO Bible PDF document that I came across. An aspect of my website that was not included in my SEO optimisation. The STRONG and EM HTML ...
6
votes
2answers
130 views

Is there a standard way to mark web content obsolete?

I was just listening to someone talk about how the older content is the more relevant it is seen by search engines even if it is obsolete info. But it seems in many cases it is good to leave content ...