Questions tagged [html]

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.

Filter by
Sorted by
Tagged with
2
votes
2answers
5k views

Trying to collect input values using hidden input fields

I have the following fields: First Name: <input type="text" id="tFName" name="tFName" maxlength="50" /> Last Name: <input type="text" id="tLName" name="tLName" maxlength="50" /> Is ...
2
votes
1answer
6k views

How can I resolve HTML validation errors when using Facebook Comments?

I am trying to validate my document that has the following facebook comments tag <fb:comments width="425"></fb:comments> I am getting validation error: Line 333, Column 45: Element ...
7
votes
3answers
2k views

Do HTML comments (<!— -->) affect SEO?

Is there any way that too many HTML comments in a document can effect search engine rankings? <!-- This is a comment --> Do the spiders ignore all of them?
2
votes
5answers
602 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
286 views

Link of image and text

I am currently linking related and text (caption) in the following way: <a href="/link"><img src="image.jpg" ... />This is caption</a> Meaning I combine both and text inside the ...
2
votes
1answer
2k 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 ...
0
votes
1answer
174 views

How do I get iFramed images to show up in RSS?

I switched to Skydrive for my image hosting recently, and after getting the page formatting the way it needed to be, I ran into an issue with my RSS feed. In particular, when I used img src= the image ...
4
votes
3answers
145 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 ...
0
votes
1answer
90 views

Do Flash head banner texts need to coincide with the text on the underlying HTML banner?

Let's say you have a flash head banner on the page that you are trying to optimize. Let's also assume that you've incorporated an underlying HTML banner for SEO purposes. Now, do you think Google ...
2
votes
1answer
500 views

Google Analytics shows 0 Visits?

I checked Analytics yesterday for pageviews, and had several hundred of them (for yesterday). Not today when I check "Yesterdays" stats (which yesterday showed several hundreds), it shows 0...? How ...
3
votes
3answers
132 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. ...
11
votes
6answers
5k views

What's the best way to show a message for only IE 6 and IE 7?

What's the best way to show a text message for only IE 6 and IE 7 ? Should I add a html tag to my webpages and normally hide it with css for all browsers except the above mentioned ? And when I use ...
1
vote
1answer
1k views

iFrames from Skydrive: yes, no, how

I have a two-pronged question. First: SEO Concerns aside, should I be concerned about using iFrames on my site as far as viruses etc go? I am using skydrive to host my images and it provides an ...
15
votes
1answer
19k views

Keep Iphone browser from turning numbers into links

I'm writing a very simple page that is supposed to be viewed on mobile devices. While viewing it in the iphone simulator I noticed that the iphone browser automatically turns any number string into a ...
3
votes
6answers
1k views

Which is faster, adding rounded corners to images, or adding rounded corners in CSS

Which of the following will load faster, Creating a square image and adding rounded corners via CSS Adding rounded corners to the image by default and not using the extra css. Also, if 2 is faster, ...
11
votes
4answers
4k views

Is there anything wrong with targeting the alt attribute in css?

I tried targeting the the alt attribute in css. My solution worked in Firefox/Mozilla, but fails in Safari-Chrome/Webkit. Is there anything wrong with styling an alt tag? If not, how do you suppose I ...
1
vote
3answers
340 views

What possible causes are there for a page to display differently if hosted in two different places?

If viewing the same page in the same browser, but that page is hosted in two different places (in our case, locally v. over the internet) what kinds of things can cause it to display differently? ...
17
votes
2answers
769 views

To <p> or not to <p>?

I recently had a debate with a colleague who claimed that a <div> tag should be used over a <p> tag when formatting paragraphs. The case against the use of <p> is that it produces ...
4
votes
2answers
2k views

Embedding a Disqus forum on my website: showing scrollable area instead of expanding the height

I hope I put this question as it should, I am not an expert in html/css/javascript, so forgive me if it's not very clear. The issue is as follows. I made my first website last week for the birth of ...
2
votes
0answers
513 views

Disqus integration in website.. what is wrong? [closed]

I try to embed a disqus forum in a website I created. I used the exact code and instructions they give on the installation instructions. I just don't get it. Not much on Google either. Is something ...
2
votes
3answers
202 views

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

Meaning: doc-type, header, body, etc.
0
votes
3answers
145 views

Web page element width

I saw this on a website and looked a bit through the CSS, but couldn't quite find what I am looking for. How to make an Html element let's say a <div> with a width of eg. 3000px, but make it so ...
3
votes
2answers
107 views

Do you have stats/trends for use of different HyperText Markup Languages?

For example: html-XYZ, xhtml, html5
1
vote
2answers
187 views

why is having (or excluding) 'www' in the URL affecting how my site displays to users?

I am cleaning markup on a website for my first customer. I did not build the site; I want to remove the table-based design and replace it with proper CSS, before I add a shopping cart to the site. ...
3
votes
3answers
177 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 ...
10
votes
4answers
12k views

How do you save/export changes made in Firebug?

Using Firebug to edit CSS, how do I save/export changes made to the CSS? TOOLS: Firefox, Firebug MAJOR UPDATE: If you know of a way to lock the forward/back/refresh on a FireFox tab, please let me ...
2
votes
1answer
5k views

How do you make a favicon appear on a redirected site?

I have a Wordpress blog hosted on my domain. I have redirected a URL to a subfolder of my domain where the blog is installed. How can I get a specific favicon to appear for that blog but NOT for my ...
12
votes
8answers
5k views

CSS style viewer/tester

Is there a site out there that has a bunch of typical HTML for seeing what the CSS looks like once applied? I mean, something full of table, a, div, span, p, whatever. You go there, paste in your ...
3
votes
3answers
158 views

How to markup non-human-language text in HTML?

Considering the needs of screen readers, browser spell-checking, search engines, etc. how should non-human-language text be marked up in HTML? Should it be wrapped in a particular tag? Is there a ...
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
2answers
166 views

Why does the website heading on pubvantage.com display arbitrary text when it is listed in google search results?

the website www.pubvantage.com has a permanent redirect to http://exchange.contextweb.com/sellingdesk/pubvantage/. The problem is, when a user enters the query +"pubvantage" in google, the site (www....
2
votes
1answer
184 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 ...
12
votes
2answers
448 views

Communicating image size, best practice

If you are developing a html document strictly using current best practice of keeping styling out of the markup how do you best communicate image sizing? Past best practice wants image height and ...
2
votes
3answers
3k views

Open a page that redirects without clearing cache

I've taken over a website that has an index.html page that redirects. This page gets cached. Obviously clearing the browser's cache entirely would solve the problem. Is there any way to go directly to ...
5
votes
3answers
261 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 ...
6
votes
3answers
31k views

Possible to only load specific 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 Facebook's places in an iframe feature from touch.facebook.com. I can easily just use touch.facebook....
1
vote
2answers
291 views

Options for adjusting paragraphs?

On my company's website, we have a page (here) that I have been asked to adjust. What is desired is to take the first paragraph and adjust it to trim down the amount of space between words. My first ...
0
votes
3answers
2k views

Multi column flyout menu [closed]

I want to build a horizontal menu bar with a multi column flyout of the hovered item. It should be done with html lists, css and javascript (if needed) only. There should be a max height of the flyout ...
23
votes
4answers
8k views

Should my Title tag be the same as my H1 tag?

I have read that I should make the contents of my <title> and <h1> tags the same. Is that the case or is does Google look at the content of those 2 tags separately?
7
votes
4answers
416 views

Who Is Against CSS and JS?

I know there is a group which promotes very basic HTML. They advocate against CSS and JavaScript. Does anyone know the name of this group? Just to be clear this was a website, or a foundation, or a ...
2
votes
3answers
119 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 ...
12
votes
3answers
2k views

Why use HTML entities instead of just putting Unicode characters in HTML?

Let's say I want to put a non-bland character in an HTML file; for instance, '→'. Is there any reason why I should enter it as '&rarr;' instead of just putting '→' in the HTML file? Assume my HTML ...
7
votes
4answers
5k 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 ...
-2
votes
3answers
1k views

Tableless layout table generator [closed]

I am looking for a table generator based on div tag that can generate html code.
6
votes
2answers
146 views

Is there a way to block the use of Google's SideWiki?

Google created a tool that can be really great for some people, but it can also be a huge problem for others. I'm talking about the (in)famous SideWiki. I'm trying to find a way to block the use of ...
17
votes
6answers
2k views

Form label position for best usability

I'm creating a form that will ask a visitor for their firstname, middle initial, and lastname. I want the those text fields to be all inline, but where should I place the labels? On the left, top, or ...
21
votes
5answers
11k views

How can I validate HTML offline?

When I'm developing a website locally sometimes I want to check if the html is valid but I haven't been able to find a good tool. I want it partial as a sanity check when I'm troubleshooting layout ...
2
votes
4answers
2k 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 ...
10
votes
2answers
4k views

Is content inside a <noscript> tag indexed by search indexes?

Is content inside a <noscript> (HTML4, HTML5) tag indexed by search engines? (Inspired by this question)
1
vote
1answer
184 views

Ways for client to include page ID in query?

I'm no expert on web development, and need to find a way to let the browser call a PHP routine on the server with the current document ID as parameter, eg. http://www.acme.com/index.php?id=1 I then ...