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)

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
2k 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
1answer
2k views

Does Microdata have to be visible to the visitor to be displayed in Google search results?

Does Microdata (for rich snippets) have to be visible to the visitor to be displayed in Google search results? I want to add the rich snippet to my page, but I don't want it in the format that is ...
6
votes
2answers
221 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
4answers
4k views

Linux HTML/XML W3C Validation Utilities

What programs can I use to validate HTML/XML markup? Basically, I want a local, command-line based, version of W3C HTML validation service (like lint) that I can use for detecting errors. Update I ...
6
votes
2answers
135 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
3answers
2k 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
4answers
5k 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
2answers
5k views

Is it valid to have multiple form input elements with the same name?

Is it valid markup and is it valid to the HTML/HTTP spec? If I wanted to have <form> <input name="email" /> <input name="email" /> <input name="email" /> </form> is ...
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
268 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
2answers
3k views

Schema.org WebPage structure for single page site

I am building a single page portfolio site with WordPress for a client which is divided into sections that would traditionally be separate pages like - about, portfolio, contact. Can I nest multiple ...
6
votes
1answer
1k 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
412 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
566 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
223 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 href="#...
6
votes
4answers
4k views

Free search tool for static website

I am looking for a free search tool for a website hosting html documentation files. the tool should display the results as listings of page title and few lines of text from that page. It should also ...
6
votes
3answers
868 views

Schema.org: Having a Product as “about” property

I want to define a Product as the main content of a webpage using Schema.org markup. My idea with the following HTML is to use the structure: - Webpage -- WebPageElement (mainContentOfPage of ...
6
votes
1answer
1k views

Firefox, iframes and redirects

I encountered this same behavior years ago and gave up back then when I couldn't find a solution. I'm hoping someone knows what's going on here and how to solve it. I have found that if you have a ...
5
votes
8answers
10k views

easier way to include Google Analytics script code on every page?

I have a website made up of only HTML pages. Instead of copy pasting the Google Analytics code on every .html file, is there a better way to include the Google code on every page?
5
votes
6answers
96 views

Should Marketing departments have basic HTML skills?

Working within an organisation as part of the in-house site development team, a lot of my team's throughput is driven by the colouring-in (marketing) department. It is their responsibility to provide ...
5
votes
4answers
2k views

SEO and browser compatibility differences for headings <H1> though <H9>

We all know the importance and significance of Headings for Professional Webmasters. These were known for professional developers as: <h1>Heading 1</h1>, and H2 through H6. As a daring ...
5
votes
2answers
3k views

The right way of using index.html

I have quite a lot of issues I'd like to hear your opinion on, so I hope I'll manage to explain it well enough. I should also note that I'm beginner equipped only with the knowledge of HTML and CSS so ...
5
votes
4answers
4k 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 ...
5
votes
2answers
3k views

HTML5 `html` `xmlns` attribute

Is xmlns appropriate in HTML5? <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> ... </html> Also, which is preferred, <!DOCTYPE html> or <!doctype html>?
5
votes
5answers
269 views

Speeding up website“speed”?

We use Google Analytics to measure traffic on one of our websites (who doesn't?). One of the thing that strikes us is the "page speed" tab. It shows that our website takes on average 5.69 seconds to ...
5
votes
2answers
4k views

SEO of <span> in <h1> header

Does the <span> element have any SEO side-effects? Are there any semantic preferences between the following two or parsing differences between search engines? Clean <h1>: <h1>...
5
votes
2answers
7k views

Should menu titles (h1, h2, h3…) be inside or outside the <nav> tag?

Let's say I want to write a simple menu in HTML5. Should I write like this: <h1>My Menu</h1> <h2>Submenu 1</h2> <nav> <ul> <li><a href="#">...
5
votes
3answers
271 views

Can a <link /> element's href attribute be relative?

Can I use: <link rel="alternate" hreflang="en" href="?l=en" /> to link pages with different languages for SEO (recommended for example by Google)? Can that URL be relative as in the example ...
5
votes
2answers
907 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
233 views

Why is email HTML stuck in the 90's? [closed]

(disclaimer - I've already tried asking this on StackOverflow, but apparently it was off topic. If the same is true here please let me know and I'll close/delete this question.) I've spent about a ...
5
votes
2answers
363 views

Alt attributes for dynamically generated images

I have an image gallery for a commerce website which consists of several small thumbnail images and one large image. All of the images are photographs of the same product. What would be the most ...
5
votes
4answers
112 views

Twitter Product Preview on Tweets

I just saw that twitter can also preview the products as it is on below Tweet: http://twitter.com/#!/gillcleeren/status/131640082397528065 In this case, it is an Amazon product. I was wondering ...
5
votes
3answers
3k views

Does the 'blockquote' element harm or help SEO?

Can anyone please clarify the actual relation of the blockquote element with search engine optimization?
5
votes
2answers
170 views

Which method is the best to specify the language of a page?

There seems to be two ways to specify the language of a page: <meta http-equiv="Content-Language" content="en-us"> and <html lang="en-us"> Which one is the preferred way? I know I ...
5
votes
3answers
145 views

Alt attribute for SEO recommendation

If I want my site to be no.1 for a particular keyword search, would it harm me or help me if I put alt="keyword" in all of the images I have in the site?
5
votes
3answers
245 views

Uses of LINK tag

The <link> tag appears to have many uses aside from stylesheets. For example the W3 suggest using it for previous/next/index pages. I know that Opera also has a Navigation toolbar that will ...
5
votes
2answers
526 views

Does excessive markup affect SEO?

For example, if I wrap my content with <div> tags (for no reason, just for arguments sake), would that cause a difference to search engines? Does thinner markup improve SEO? <body> &...
5
votes
1answer
132 views

buttons (text or images)

I would like to know if I should create CSS buttons or image buttons for my site. What is better? Problem is that the text is formatted with Helvetica Neue ( I like that font very much) and I can't ...
5
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?
5
votes
1answer
547 views

When opening a local HTML file, how do I ensure I get the content not a cached version?

I have an issue where the newest content of a local HTML file is sometimes not displayed. Instead, the browser shows a cached version. The workaround is to press <Ctrl>+<F5> but I'd like ...
5
votes
3answers
2k views

Semantic Form Markup for Yes or No Questions

I frequently receive mock-ups of HTML forms with the following prototype: Some long winded yes or no question?   (o) Yes   ( ) No The (o) and ( ) in this prototype represent radio buttons. ...
5
votes
1answer
401 views

Is there a simple way to protect my webpage by password?

I am writing some simple HTML pages. I need to protect some pages and some files (from being downloaded) by requiring a username and password. Does anyone know a simple solution?
5
votes
3answers
111 views

How do i make it difficult for users to make multiple accounts

I'm creating a website for my business and I want to offer free first deliveries for the first week but I'm afraid people will take advantage of that. I don't take any money or credit card info ...
5
votes
2answers
2k views

# id - urls with id first display full page, then move to #id

I've noticed this in the new version of chrome, and ie9 and 10. Some urls in a photo gallery have a #id tag as they are supposed to display a full view of a picture. Basically, a div in a lower ...
5
votes
1answer
2k views

Unable to use anchor hash tag if using Google Analytics utm

If I want to user to go a particular section of my webpage, I will use http://www.mywebsite.com/help_faq.html#contribution However, sometimes, I need to track where user come from, if I use http://...
5
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 ...
5
votes
2answers
4k views

Is &shy; safe now?

Is it safe to use &shy; now? I remember there were problems with this entity, such as rendering it everywhere (instead of only when the web browser decides to split a word), or splitting a word ...
5
votes
2answers
291 views

Automatically generate and cut off the blog post preview texts from the full post text? Yes, no?

I run a blog with over 1000 posts that are only separated by tags, so each post can have multiple of those. As it is mostly short news, videos and galleries, the description consists of 3-5 lines of ...
5
votes
1answer
208 views

HTML encoding in the alt attribute

Why is it that &#187; valid for an alt atribute but &raquo; is not?