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
1answer
297 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
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
2answers
429 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
675 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
1answer
612 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. ...
5
votes
2answers
214 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
194 views

HTML encoding in the alt attribute

Why is it that » valid for an alt atribute but » is not?
5
votes
1answer
117 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
219 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
7k 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
2answers
253 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 ...
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
378 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
569 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
5answers
8k views

How do I add the copyright symbol to my webpage?

How do I add the copyright symbol to my webpage?
4
votes
8answers
7k 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
530 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
2answers
5k 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 ...
4
votes
4answers
773 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?
4
votes
3answers
244 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
232 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
447 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
187 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
374 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
186 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. ...
4
votes
3answers
483 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
315 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
190 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
578 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
1answer
504 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
2answers
1k 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 go over all the generated html files to clean ...
4
votes
4answers
3k 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 ...
4
votes
3answers
136 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
66 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
2answers
167 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
1answer
108 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
1answer
119 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
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
62 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
324 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
1k views

hProduct-microformats not work in google

I'm trying to work with hProduct was testing tool for google microformats ( http://www.google.com/webmasters/tools/richsnippets ), but it is not recognizing the data: does not recognize the photo ...
4
votes
2answers
111 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
122 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 ...