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
5answers
3k 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
7answers
3k 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
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>
4
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 ...
4
votes
3answers
266 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
3answers
545 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
1answer
2k 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
2answers
938 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 ...
4
votes
5answers
2k views

What is the maximum size of an HTML file that Google will crawl through?

I have a 10MB HTML file. Will Google crawl through the entire file, or does it only look at the first X MB?
4
votes
7answers
4k 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
427 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
1k 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
1answer
537 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
1answer
57 views

Is there any difference between writing meta keywords with or without space?

Today I was creating keywords for my website and I have one issue. Is there any difference between writing: <meta name="keywords" content="HTML,CSS,JavaScript,PHP"/> And the same code but ...
4
votes
1answer
209 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
269 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
5answers
5k views

Is there a way to save MS Word document as HTML w/o the ms proprietary stuff?

So normally I wouldn't use this feature ("Save as Web Page") but I have large documents from clients they just want put on their site as HTML, and formatting it all by hand seems like a waste of time. ...
4
votes
1answer
132 views

Can I omit the domain name for href in the HTML base tag?

Currently on my website, I use an HTML base tag to shorten URLs in anchor tags. All URLs on my site belong to one domain. For 100% compliance, I use an absolute URL. for example: <base ...
4
votes
1answer
124 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
854 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
1answer
182 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
4answers
5k views

Can i export a wordpress site to html?

I want to export a wordpress site with themes and images to html format like we can do in blogspot. Is there a plugin or a tool for the same.
4
votes
3answers
140 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
92 views

Should URLs with UTF8 characters be encoded in HTML?

I'm thinking of names and stuff containing accented characters. E.g.is there a difference between: <a href="http://example.com/thing?name=forêt">link</a> and <a ...
4
votes
1answer
189 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
459 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
709 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
2answers
828 views

How to mark up acceptable payment methods for a Schema.org Offer with Microdata?

I am not sure how to markup accepted payment methods for an offer. Here are the Schema.org types: Offer PaymentMethod Here is my basic example, is this correct? <div itemscope="" ...
4
votes
1answer
126 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
6answers
5k views

How do the professionals slice PSD's really fast?

I've got a solid background in HTML and CSS, but my company frequently outsources PSD to HTML slicing to another company, and they somehow return the results really, really fast. Has anyone had any ...
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
63 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
85 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
132 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 Microformat not working in Google

I’m trying to work with hProduct. <div class="hproduct"> <span class="brand">ACME</span> <span class="fn">Executive Anvil</span> <img class="photo" ...
4
votes
2answers
119 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
142 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
5k 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
2k views

Fixing validator error “cannot generate system identifier for general entity”

The W3C validator shows a "cannot generate system identifier for general entity" error when attempting to validate a page that contains the following code: <script type="text/javascript" ...
4
votes
1answer
175 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
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
426 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
3answers
152 views

Which element (h2, p, em) for this text? (SEO vs. correct formatting)

What is the correct tag to use in the middle section of the image below, keeping in mind correct site structure and SEO? There have been some discussions and these are the arguments I have heard: ...
4
votes
1answer
2k 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
2answers
46 views

Can I change the type of elements in the Microdata format?

With regard to Microdata I was wondering if the elements must be exactly like the examples (http://support.google.com/webmasters/bin/answer.py?hl=en&answer=176035) or that Google/Bing look if the ...
4
votes
5answers
988 views

How to convert an HTML tree to PDF?

How to convert an HTML tree (actually this one) to PDF?
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
1k 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 ...