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)

2
votes
2answers
3k views

Can a website use multiple meta keyword tags?

Are these two equivalent? <meta name="keywords" content="first" /> <meta name="keywords" content="second, third" /> and <meta name="keywords" content="first, second, third" /> ...
2
votes
4answers
209 views

Where can I find resources for best coding practices in web development?

You'd figure that this would be an easy topic to google, but unfortunately I've been looking for a couple weeks and have yet to find really anything that I'm looking for. The problems I'm running ...
2
votes
1answer
164 views

What's the best way to make a link invisible for user but still indexable?

I have several sites on the same topic but still competitive to each other. I would like to put cross links on these sites in text so they won't be visible/"clickable" but still indexable by search ...
2
votes
4answers
1k views

Webpage Post Submits vs AJAX?

Which is better and why? I can see where a site that works 100% in AJAX might optimize a bit better, due to not having to reload the page on each click. But I am a huge fan of the big submit button ...
2
votes
1answer
1k views

Are there any good reasons to avoid using the noscript tag in an HTML5 header?

I need an efficient and aesthetically-pleasing way to gracefully degrade site appearance for users with Javascript disabled and, while I am not aware of any problem with adding a link to an ...
2
votes
2answers
145 views

How are hexadecimal color codes added together to produce a color in HTML?

I know that web colors use RGB color model in which red, green, and blue colors are ADDED together in various ways to reproduce a broad array of colors. Now, suppose I have a color: #800080 (which is ...
2
votes
3answers
545 views

Website has “lagging” effect. Causes? Tips and tricks to fix?

So I have this site here which has major performance issues. Scrolling is very slow, hover effects have a bit of lag and other similar issue. Unfortunately right now I am working off a cheap host so I ...
2
votes
1answer
133 views

Why don't people embed style and scripts in the HTML?

I know this sounds like a silly question, but hear me out. These days, there are a lot of 'media aggregator' tools that will take your globs of javascript (laden with coffee and underscores and ...
2
votes
3answers
1k views

CSS sprite, what html tag to use

I am thinking to switch to CSS Sprite for my images. The main problem is I need something compatible with alt attribute. (Seo-purpouse) What Can I use? The first think I thought was to use a standard ...
2
votes
2answers
3k 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>: ...
2
votes
2answers
227 views

404 page not showing URL

My 404 page (/404.php) works, it's sending the proper headers (404 - Not found). But the thing is, it's not giving the link that caused it (e.g. example.com/thisisnon-existant.htm) but instead it's ...
2
votes
1answer
534 views

Are there any other tags that have the href attribute except <a>?

I hope this is a suitable question for pro webmasters. Are there any othertags that have the href attribute except <a>? If yes, please tell me which. Thanks!
2
votes
2answers
103 views

Since when is layering possible in Websites?

I'm asking because I remember a time when it wasn't possible to create a div box on another one, and I was wondering when was it introduced. It's probably a matter of CSS version, isn't it?
2
votes
2answers
170 views

Using the HTML input “name” attribute and SEO

From an SEO point-of-view, which version is better: <input type="text" name="q" value="search" /> or <input type="text" name="query" value="search" /> Here's another example: ...
2
votes
2answers
294 views

For an internal page, which title and h1 I must use for SEO?

I have a basic question about SEO and HTML design. Most homepage of websites use the code below: <html> <head> <title>Website name</title> </head> ...
2
votes
3answers
83 views

understanding technology that news websites use

I am trying to understand the technology which many news websites use please have a look at this website http://www.shritimes.com/ if you click any news item then the particular thing gets zoomed ...
2
votes
2answers
368 views

Personal Web Page

I recently got a domain and am considering hosting a personal web page. I did some research and narrowed my options down to either Google AppEngine or GitHub pages to host my website. The website is ...
2
votes
2answers
105 views

Clearing floats? Or something else?

I'm working on this website for my dad: http://smartcampusdeals.com/TendonAiD/index3.html and the three columns (with the stick cartoony people) extend past the container. Right now, I have the ...
2
votes
4answers
2k views

Why do characters display funny in <input type=“password”>?

I have the following HTML and css <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> #test { font-family:helvetica; color:#000; font-size:10px; } ...
2
votes
5answers
526 views

Do new lines in the title element affect SEO?

It is a common thing that if you have some login that creates the title element content to finish with several new lines in it. For example: <title> Title | Category | My Site Name ...
2
votes
2answers
193 views

Two duplicated <h1> tags and one hidden

Is that bad for SEO? <h1 class="responsive-hidden">This is my title</h1> <h1 class="hidden responsive-show">This is my title</h1>
2
votes
2answers
251 views

Unicode icons in <title>

If I want to put various unicode icons in my <title> for the sake of looks, could that hurt my SEO? Are there particular classes of unicode (code ranges) that offend search engines? I've ...
2
votes
6answers
263 views

Assemble static site from templates? (don't want to reinvent the wheel)

I have a site that is 100% static content (no php, just some javascript). There's several "blocks" like the header, menu, footer, etc. that are the same on each page. Rather than do a lot of ...
2
votes
1answer
113 views

Prevent HTML files downloaded from getting copied from that particular system to another system or getting the script modified?

How to prevent my HTML files downloaded to a particular system from getting copied from that particular system to another system or getting the script modified? Is there any tool or method out? Well, ...
2
votes
1answer
3k views

input type=“file” default language is system language?

I have a question, let's say I have <input type="file" name="image" />. Will the text of the button will change if user will have different language as his system default one? If so than how can ...
2
votes
2answers
88 views

How to block certain pages/files of a web domain?

How do I make certain pages only viewable by me? For example, let's say I own mydomain.com, and I want to be the only one that can see mydomain.com/mypage.php. I tried changing the permissions of ...
2
votes
2answers
616 views

Buttons in pure CSS3 or use image sprite

I want to know if it would be better to make an image for the buttons that I use, or can I get away with pure CSS. Ill give you the code. html: <ul id="buttons-dev"> <li ...
2
votes
4answers
582 views

Should I jump straight into HTML 5 and CSS 3 from minimum knowledge of HTML?

I first learned HTML a long time ago, from the Visual Quickstart guide in 1999, HTML 4 for the World Wide Web. Though I have a grasp of fundamental concepts of HTML, my knowledge of CSS is woefully ...
2
votes
3answers
158 views

What is the default HTML document you use, and why?

Meaning: doc-type, header, body, etc.
2
votes
2answers
2k views

Top and bottom gradient using CSS

I have a background that has a top and bottom gradient and I want it to show on a container layer. The problem is the bottom gradient since it has to appear at the very end of the container div. Any ...
2
votes
3answers
112 views

Is it possible to make all html links to share the same title?

The thing is I have a table containing ~2000 rows where each row contain a link that has the same title e.g. <a id="1" title="A very long string common to all my links that i would like to have ...
2
votes
2answers
37 views

Should I compress very small HTML pages?

Here's the thing: More compression of a page means more work of the server CPU. 99% of my website for most visitors is gzip compressed. I have made error pages which are not compressed. They use 2 ...
2
votes
3answers
672 views

Placement of code in HTML document affecting SEO

I have a navigation bar div with all my navigation code, a sidebar div with all my code and content that goes in my static sidebar, a footer div with all my footer code that goes in my static footer, ...
2
votes
2answers
284 views

Should <meta property=“og:image” content=“…”> have an alt tag?

I want to follow good SEO practices by adding alt tags to all my images. For Facebook sharing, I have this code: <meta property="og:image" content="..."> can I add an alt="Facebook image" to ...
2
votes
2answers
387 views

Using hidden elements for rich snippets for products

I wanted to add rich snippets for my products pages. However, the information required in the elements are not particularly compatible with my current HTML. Is it ok to make the rich snippets all ...
2
votes
3answers
1k views

Server Side Includes that work in HTML and PHP with IIS 7 on Windows Server 2008

We currently have SSI set up to work in our HTML pages as follows <!--#INCLUDE file="/includes/header.inc"--> We also use PHP on our server, and are trying to avoid creating two separate ...
2
votes
2answers
1k views

HTML favicon wont show on google chrome

I am making a HTML page that is unpublished and that I just started. The first thing I wanted to do was add a favicon to appear next to the title. I'm using google chrome and I noticed that other ...
2
votes
2answers
113 views

How and where to place - css, html and images in email to make it a HTML email? [closed]

How and where to place - css, html and images in email to make it a HTML email? I have seen many advertising emails in my inbox and I am curious to know how does the email body display the HTML.
2
votes
1answer
97 views

Site Structure - practices

I just started working for a company and they're asking me for ways to improve the overall site design. One of the things that keeps standing out to me is their extremely odd internal file structure ...
2
votes
3answers
107 views

Which content or HTTP status should return unused domain?

We've recently bought couple of domains but the content of the domains is still under development. Which content should we upload to the domains to tell search engines "There is currently nothing, ...
2
votes
3answers
6k views

Show submitted form input without server-side scripts

Is there a way to accept form input and have the output dumped/printed back to the web page with HTML or JavaScript/AJAX and without PHP/Perl/server-side scripts?
2
votes
2answers
745 views

Can search engines see HTML elements hidden by CSS? [duplicate]

Possible Duplicate: How bad is it to use display: none in CSS? I was wondering if search engines can read <a> elements with display:none. Is it true? Can search engines see elements ...
2
votes
1answer
126 views

Domain masking emergency

I would never normally do this, but 1and1 have been experiencing a "glitch" with their system that means you can't add new external domains. It's pretty shocking, to be honest, and unfortunately my ...
2
votes
4answers
93 views

Updating a News pages written in html

I was wondering how to update a page with new stuff like a new news article or something. (The Website is html based). The only thing I could think of is by uploading and replacing the whole .html ...
2
votes
2answers
63 views

Is there any downside to using <embed> with Flash content?

I've recently learned that HTML5 now officially supports the <embed> tag. With that in mind, is there any reason not to just use it to embed Flash content into HTML5? Would there be any browser ...
2
votes
3answers
845 views

How to get an image 100% in the middle of every single screen in the world

I have a website with some images, and I want them to be in the middle, now on my screen they are in the middle. Because I've put them there by moving them to one side, when I get my friends to look ...
2
votes
4answers
423 views

Google Webmaster Tools reporting crawl error 404 (Not found) for a page which has never existed

Google Webmaster Tools is reporting a crawl error "404 (Not Found)" for an .html page which has never existed on a web site I developed. The page being reported is "tyuiabmog.html", which doesn't ...
2
votes
1answer
61 views

<body> and <div> issue

I have this meticulous problem, I have a test html page whose body content is a single div tag. I made the width and height of the div tag to 100% and colored the background red. And I get ...
2
votes
1answer
56 views

What does the site “engine” do and why can't I just create a set of pages?

This question is very newbie level - I want to understand a fundamental thing that bothers me big time. Many years ago when I needed a simplest website I just used Netscape Composer to create a set ...
2
votes
1answer
68 views

Need Advice… Website is flash only

I currently have a website that is just one big flash file. It looks good and I am satisfied with it but I have been told that it may not ever rank very well in google and yahoo since it is only ...