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
206 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?
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
9k 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
4answers
237 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
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
215 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
538 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
4answers
2k 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
3answers
522 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
468 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
632 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
210 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
332 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
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
2k 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
4answers
369 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

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
2answers
4k views

Using Schema.org for blogging: Article VS BlogPosting

I have been remaking my website for some time now and I want to launch it as quickly as possible but I want to make it leading edge if possible. I am currently using a modified template (I know! web ...
7
votes
3answers
992 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 ...
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
51 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
322 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
1k 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
394 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
3k 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
5answers
15k views

How do I add the copyright symbol to my webpage?

How do I add the copyright symbol to my webpage?
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
3answers
1k 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
176 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
484 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
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
5answers
8k 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
2answers
270 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
1answer
438 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. ...
6
votes
2answers
140 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
686 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
3answers
1k views

Do I really need to remove special characters in a URL?

I have an FTP account shared with friends where we upload underground music albums and then we use the links to share the downloads in a music forum. The problem is that the album names are in french ...
6
votes
2answers
204 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
5k 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
120 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 ...
6
votes
4answers
4k views

Google Webmaster Tools says my XML sitemap “appears to be an HTML page”

We're running a lot of sites and we've started to get a lot of these errors in Webmaster Tools: Sitemap is HTML Your Sitemap appears to be an HTML page. Please use a supported sitemap format ...
6
votes
1answer
1k views

About the <link rel=“index” /> tag

I'm trying to figure out how to use it. I understand that this tag tell Google which page is the root parent / parent of the current page. So, for example, on a page that's listing a product from a ...
6
votes
3answers
264 views

How can I decrease relevancy of Creative Commons footer text? (In Google Webmaster Tools)

I know that I may just have to link the image to make this happen, but I figured it was worth asking, just in case there's some other semantic markup or tips I could use... I have a site that uses ...
6
votes
1answer
904 views

What is the way to properly implement a Facebook Like button on a page for best SEO purposes?

On our site we want to put a Facebook Like button/widget-thingy. It is possible to create a like button, where the URL associated with the button is the page it sits on, rather than a Facebook page. ...
6
votes
1answer
409 views

rel=author and rel=me without Google profile

Based on the post at Google Webmasters, a Google profile seems to be needed for rel=author to work. But this post on our forum does not indicate that. How do I implement rel=author and rel=me ...
6
votes
2answers
464 views

Duplicate alt tags in a big gallery

Our website mainly consists of galleries, while usually smaller, they sometimes reach over 100 images per post. As each image is bound to the same topic, they are automatically named after the post ...
6
votes
1answer
218 views

If all content is on a single page and hidden/shown with JS would it make sense to use hashbangs?

I have a page where the general structure is <a href="#section1">section 1</a> <a href="#section2">section 2</a> <a href="#section3">section 3</a> <a ...