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)

5
votes
2answers
149 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
133 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
233 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
1answer
233 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. ...
5
votes
1answer
120 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
2answers
1k 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. ...
5
votes
3answers
847 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 ...
5
votes
2answers
174 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 ...
5
votes
5answers
3k 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 ...
5
votes
1answer
2k 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 ...
5
votes
3answers
1k 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
491 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
1answer
313 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 (to be downloaded) by requiring username and password. Do anyone has a simple solution? Thank you very much!
5
votes
2answers
601 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
804 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 ...
5
votes
2answers
224 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
200 views

HTML encoding in the alt attribute

Why is it that &#187; valid for an alt atribute but &raquo; is not?
5
votes
1answer
119 views

Canonical Tag Not Being Recognized

I'm puzzled by the first Google search result in this list. The first result has the following rel="canonical" tag: <link rel="canonical" ...
5
votes
2answers
236 views

CSS/HTML element formatting template

I'm trying to locate an HTML template that shows all the elements in HTML, so that the basic aspects of typography, colour schemes, margins and so on can be applied to it using CSS. Those styles can ...
5
votes
3answers
8k views

Possible to only load specifiv div of a website?

I have this project i'm working on and id like to add a really small list of nearby places using facebooks places in an iframe feature from touch.facebook.com I can easily just use ...
5
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 ...
5
votes
4answers
3k 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 ...
5
votes
1answer
420 views

How to overcome politics of the net (Google translate code refuses to work from a specific region)

According to the FAQ's I am not sure if my question is a ok to ask or will be closed or should I post it in the meta or even I would blame some one for downvoting it. However it is one that has been ...
5
votes
1answer
592 views

Looking for a desktop application similar to jsFiddle

Is there a desktop application or IDE for Windows or GNU/Linux similar to jsFiddle where I can insert my JavaScript code, HTML and CSS and see how it executes? I don't mind writing HTML, CSS and ...
4
votes
8answers
8k 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?
4
votes
5answers
2k views

Are the space and the / required in the <br /> tag?

Back in the day, I remember writing many a webpage without using / in the tag. What changed? Also, is the space "required?"
4
votes
6answers
83 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 ...
4
votes
7answers
2k views

Do tabs, spaces, and line-breaks in HTML markup affect search engine optimization?

I am looking for information regarding tabs, spaces, and line-breaks in HTML/XHTML markup and whether it affects SEO. I have found sources which state that extra white space hurts search engine ...
4
votes
5answers
702 views

Use p tag inside a div tag for text?

What is better in terms of SEO ? <div class="box1" > <p> A bunch of text right here</p> </div> or <div class"box1" > A bunch of text right here </div> ...
4
votes
3answers
248 views

Google follows disabled options on “get” forms

I have the following get form on my website for language switching. <form method="get" action="?"> <label for="language">Language: </label> <select id="language" ...
4
votes
5answers
238 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 ...
4
votes
3answers
470 views

html/css vs CMS

I am currently a CS student and an aspiring programmer/web developer. I am wondering whether it is worth taking the time to master html and css to make websites when these CMS services/wysiwyg editors ...
4
votes
2answers
4k 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 ...
4
votes
1answer
197 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 ...
4
votes
1answer
552 views

What's the deal with URLs for Yandex.Metrica not prepended with “http”?

The description of Yandex.Metrica explicitly says that URLs like //mc.yandex.ru/metrika/watch.js (no http: in front) that the web site owner has to insert into his pages are not erroneous. So for ...
4
votes
1answer
80 views

How can I serve all resources under HTTPS instead of HTTP without changing their URLs in the HTML code

I know that by using an .htaccess file I can redirect everyone to https://. However, my SSL certificate complains if all the content isn't served under HTTPS. Is there a way to convert all the ...
4
votes
3answers
565 views

Is title tag position relevant in html pages?

I'd like know if having the title tag positioned at the end of <head> tag or in any other position, always inside the <head></head>, can lead to some kind of problem, I'm not talking ...
4
votes
3answers
1k 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
352 views

Do search engines understand multiple rel values?

I need to have hyperlinks on my page that will look something like: <a href="/someurl" rel="prettyPhoto[main] nofollow">Link</a> So basically the rel attribute has two values. I know ...
4
votes
4answers
1k views

Are HTML sitemaps important from a SEO perspective?

Are HTML sitemaps (like this one http://www.google.com/sitemap.html) important from a SEO perspective, or is uploading an XML to Google enough? Beside from visualizing a data structure for the user, ...
4
votes
7answers
2k views

HTML/CSS website hosting [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? I would like to host my HTML/CSS website (actually, just one page, but it may grow). Since I don't need PHP, MySQL or ...
4
votes
1answer
77 views

Does Google index images in anything other than an img tag?

I was thinking of making a 'load on scroll' image gallery plugin, i.e. I do not want the image to load until it is in view in the viewport. That got me thinking in terms of implementation. I don't ...
4
votes
1answer
211 views

What can be done through XFrames, as compared to IFrame in html?

What can be done through XFrames, as compared to iframe in html? Is there any new feature other than making it easier to bookmark in XFrame as compared to IFrame?
4
votes
4answers
2k 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 ...
4
votes
1answer
741 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
2answers
2k views

Using Schema 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 I'm using a modified template (I know! ...
4
votes
1answer
580 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
138 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
1answer
78 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
148 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 ...