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)

3
votes
2answers
4k views

Relative link to a subfolder

Let's assume that I have a website with three files: /home/blog.html /home/picture1.jpg /home/files/picture2.jpg Now let's edit that blog.html file. When I want to make a link to the current folder, ...
3
votes
4answers
2k views

Where does Google get the description text from when it's not in the page body?

The tutorial I am reading claims that the description of a web page (the little blurb google does about your site when you see it as a result in a search) is stored in a metadata tag as so: ...
3
votes
2answers
300 views

As a beginner, I would like to know which should be the markup language to startup with [closed]

I am a beginner in Web Designing. For sure a CMS like Joomla (Joomla 3.1, now) is very useful for one who doesn't care about coding. But... I know for sure that the ability of coding really helps a ...
3
votes
1answer
591 views

What is this thing called?!?! (bottom of screen popup)

I am looking for the name and some possible jquery libraries etc for the standard bottom of screen popup bar. Its like a little bar that pops out on the bottom of the screen after X seconds or ...
3
votes
3answers
1k views

Why do local HTML files take longer to load in IE compared to Firefox? [closed]

I am creating a local HTML file that links to 2 external CSS files and 3 external JS files. When I refresh this in Internet Explorer 9, the page takes over a minute to load compared to instantly in ...
3
votes
4answers
558 views

SEO optimization for AJAX site and dynamic HTML canvas

I have a site that uses AJAX to query the Last.fm database and then dynamically draws a graph of the results on an HTML canvas. In the search function, I have a command that sets window.location.hash ...
3
votes
1answer
761 views

Page Speed Optimization Questions: defer parsing and specifying a char set?

Continuing to optimized a web site, I'm using Chrome's Dev Tool add-on for Page Speed. I've been able to do a good bit of performance tuning thanks to its suggestions, but these two have me ...
3
votes
3answers
258 views

Using js and cookies to show different content on homepage? Good or Bad Practice?

I just wanted to get everyone's opinion on this, so I've been thinking about using a cookie I set on our ecommerce site to show customers different content when they return to the website. It is ...
3
votes
2answers
84 views

[pic] Possible to style a text with CSS?

Preparing for a meeting with our designer later today, I was looking through his Photoshop sketches and wonder whether the following one could be expressed in HTML/CSS, without the need to render the ...
3
votes
1answer
171 views

Math to create web design grids?

I have my own grid layout, and I am creating multiple column designs for a website. Is there any formula I can follow to create different column designs with identical gutter space, ie. margins? Most ...
3
votes
1answer
125 views

Fonts: Is changing the default font a good practice?

I've searched PW, but I saw that no one has asked specifically yet. Is changing the default font a good practice for the main body font? What are the pros and cons to using different fonts? This ...
3
votes
4answers
1k views

Do search engines use the id's and classes of HTML elements as clues?

This is more for interest sake than anything else, since I assume it will make very little difference, but I was wondering whether there is any evidence that search engines (Google, Yahoo!, Bing, for ...
3
votes
2answers
151 views

How can you have a hotel to have a Schema.org rating based on the hotel star rating system?

How would you write microdata for hotels with ratings classified as "1-star" to "5-star" hotels? Looking at http://schema.org/Hotel, I see no "Rating" property but only an "aggregateRating" one which ...
3
votes
2answers
65 views

Getting Google to index main section instead of nav in SERPs

I have a problem here where Google shows my <nav> instead of my main section in the SERPs. On top of that, because my nav is made up of inline elements, the result gets really messy: ...
3
votes
2answers
112 views

Is it against Google's policies to have an AdSense advertisement in an HTML table?

On my site, I have a section where people can view a large image along with a few options underneath it. I placed each option in its own table cell and I reserved one table cell for the advertisement. ...
3
votes
2answers
1k views

Correct image dimensions when using Schema.org's logo/image

What are the correct image dimensions when using Schema.org’s logo/image (e.g., for a Brand)? I want to create a logo for the brand with correct dimensions so that it doesn't look too distorted when ...
3
votes
7answers
100 views

Will a missing <head> tag prevent Google from indexing a WordPress site?

I was recently trying to configure a Google Webmasters Tools account for a client. I spent almost an hour wondering why I couldn't get the site to validate, when I found that the opening tag was ...
3
votes
3answers
932 views

Responsive web design on the “frontend” vs “backend”?

Apparently there are two ways you can do responsive web design. I'm not sure how to call the two methods but let's just say they are frontend and backend: By frontend I mean, the usual way where the ...
3
votes
4answers
880 views

What meta/link html tags important for seo? [duplicate]

Possible Duplicate: New META TAGS with positive effects for seo ranking in 2011 and beyond What are meta tags important for seo? Especially for blogs. I often find something new, maybe you ...
3
votes
1answer
209 views

SEO in image's path?

Does including keywords in the image's folder path of any importance at all for SEO ? (Keywords for the image's filename are important.) /foobar/images/keyword.jpg vs /keyword/images/keyword.jpg
3
votes
1answer
615 views

Is this safe? <a href=http://javascript:…>

I wonder if href and src attributes on <a> and <img> tags are always safe w.r.t. XSS attacks, if they start with http:// or https://. For example, is it possible to append javascript: ... ...
3
votes
3answers
131 views

Could link decoration be considered deceptive?

A discussion in the warrior-forum made me wonder if google might perceive link decoration as an attempt to deceive the visitors.. The issue being if you style your links to show like normal text. ...
3
votes
3answers
166 views

Problem with description of my site and google search

My HTML page : http://www.faressoft.com <meta name="description" content="فارس سوفت الاسم الرائد في عالم البرمجيات العربية" /> When I search for my site name "فارس سوفت" using google, the ...
3
votes
1answer
71 views

Employee has left but and been removed from website but searching for their name still returns website

An Employee of ours left November last year, and any mention of them has been removed from our website, but when searching their name in Google our site still returns as one of the top results. We ...
3
votes
1answer
164 views

Does Google index images declared using 'srcset'?

As of Chrome 40, the srcset attribute is supported, but will Google index the images within it?
3
votes
2answers
307 views

Why should we keep the copyright year on websites static?

Not a major issues, just a small thing that bugs me. In so many websites and applications, when scrolling down to the footer, you see the year and it's not the present year (2015). Why not ...
3
votes
1answer
124 views

How can I customize the Apache licence for my template design?

I have a template with the following license: /*! * name of original creator - name of theme (originalcreator.com) * Code licensed under the Apache License v2.0. * For details, see ...
3
votes
2answers
50 views

Standards for long format dialogue when published to web

I'm posting some extremely long audio transcripts from 50 minute long radio recordings. I'm afraid that any search engine crawler will read these really long documents and treat it negatively because ...
3
votes
3answers
581 views

How to redirect keeping the referral without server-side redirects?

I have an HTML page hosted in Dropbox that some external websites link to. I want to redirect to a different page using only HTML or Javascript, since I can't use any server-side redirects. My goal ...
3
votes
3answers
1k views

My website title shows up slightly different from what's in my title tag, only in Google search [duplicate]

I've included my page title in the title tag in this format: " blah blah blah | sitename ". But for some reason it's showing up on Google search results as " sitename: blah blah blah ". It shows up ...
3
votes
2answers
977 views

Make HTML static site more SEO friendly

I am desinging a website as shown in below image, right now it's just a basic structure. This site is totally static, basically I've 6 main pages in website. navigation section, slider and footer will ...
3
votes
1answer
534 views

Removing file extensions off the url

I am looking for a way to remove the extensions off the end of the Url. So say for example www.example.com/about.html. This would change to www.example.com/about I've looked around and searched for ...
3
votes
2answers
377 views

Will a search engine lower the rank of my page if i have hidden iframes?

As a praxis, all external content on our site is put in iframes to lower the risks of any external parties injecting stuff to our users. We also do it to make sure our content shows up before banners, ...
3
votes
2answers
496 views

Is content in option tags indexed?

Is data inside an <option> tag indexed? For example, would the following option tag allow "Volvo", "Saab", "Opel" and "Audi" to be indexed by a crawler? <select> <option ...
3
votes
4answers
3k views

Sending HTML to Gmail always lands in Spam

I am having an issue with sending HTML emails to Gmail. I can send them to Yahoo, Hotmail, RR, AOL, etc. with no problem at all, but when I send them to Gmail I get kicked to spam. I have checked ...
3
votes
1answer
180 views

Would using AJAX only “Add to Cart” buttons be wise?

I want to AJAX enable all of my "Add To Cart" buttons because search engine bots are indexing these and not paying attention to my robots file or site map. I just don't want to lose potential ...
3
votes
1answer
144 views

JS and CSS caching issue: possibly .htaccess related

I've been using the HTML5 Boilerplate for some web projects for a while now and have noticed the following issue cropping up on some sites. My CSS and JS files, when loaded by the browser, are being ...
3
votes
1answer
2k views

Does using onclick on div's effect SEO?

I have a few elements on my page that uses onclick as the link, e.g: <div class="service" onclick="location.href='<?php echo $fields->service_1_link; ?>'" style="cursor:pointer;"> ...
3
votes
1answer
144 views

Can I get IIS to treat some .shtml files as .php files?

I want to be able to get IIS to interpret SHTML files (only in a specific directory) as PHP, and interpret the rest as SHTML. If so, then how?
3
votes
2answers
748 views

How can I tell if someone is logged into a google account?

At this point I don't want to interface w/ google account, I just would like to know if they are logged in to a google account or not, and then serve slightly different links if they are|aren't. I'm ...
3
votes
1answer
23 views

Can html go in the ErrorDocument value internally in httpd.conf?

According to apache documentation, the final parameter of ErrorDocument can be specified as a path, URL or text to any error code. What I have done so far to eliminate any calls to the I/O file ...
3
votes
1answer
203 views

XSRF Error when link is opened via an <a> tag with target attribute set to “_blank”

I've run into a peculiar bug that I have not faced before. I can provide any details that are needed but I'll try to be as generic as possible. We have a intranet portal that links off to other ...
3
votes
2answers
249 views

Using noscript to optimize for SEO

I have news portal that loads posts using ajax, to get better user experience. Web crawlers don't see links and texts generated by javascript, so I read about using noscript tags for crawlers. In ...
3
votes
2answers
182 views

Internal server error when using base64 encoded icon on the home page

I have an "index.html" (or .php - it makes no difference) file in the root / of my hosting space. That "index.html" file has this line of code in it: <link rel="icon" ...
3
votes
3answers
653 views

Common Header & Footer for HTML Site

I'm about to re-work an old HTML-based site and would like to separate out the header and footer of the content into separate files as they'll be common to all pages. The current site author just ...
3
votes
1answer
338 views

Can I have HTML link element both in headers and sitemap?

For a multilingual site In my sitemap I am using: <url> <loc>http://www.xxxx/en</loc> <changefreq>daily</changefreq> <xhtml:link rel="alternate" hreflang="en" ...
3
votes
2answers
3k views

How to make browsers offer to remember passwords

What properties login form needs to have to trigger "remember password" for all (or most) browsers? Background: For years I have been using Opera, and the rule has been that almost anything that ...
3
votes
2answers
536 views

Browsers treat vertical tab characters in input type=text differently. Is one of them correct?

In developing some server side validation I discovered that (the latest Windows versions as of this writing of) Firefox, Chrome and Internet Explorer handle vertical tab characters differently in ...
3
votes
2answers
1k views

Test different timezones

What is a simple way to temporarily change the timezone in Chrome so as to test how a site renders for different locations? On OSX Mountain Lion, I've tried as bash script with: export ...
3
votes
1answer
106 views

Effect of removing home page content

I have a business website that I'm working on and I'm replacing the text I initially had on the home page with new columnized paragraphs of text. The text I'm removing though has a h1 tag and probably ...