web-standards

Should we loose our Coding ethics upon client request , against Web standards, W3C Validation and Semantics

Should we loose our Coding ethics upon client request , against Web standards, W3C Validation and Semantics? If client is agreed and want website quickly anyhow. don't care about validation, Standards , Accessibility. ...

How semantic X/HTML can save time when we will write CSS?

How Semantic X/HTML mark-up can save time - when we will write CSS for website and if any design changes comes from client in future. And why Table based layouts will take more time always in both condition Today I've to Explain these thing to students. I've some example but I want some more good example and ideas to explain nicel...

Will adding rel or name attributes to divs and spans cause IE/FF to go into quirks mode?

Will a tag like <span id="suchAndSuch" class="blah" rel="this.that.other" name="this.name"></span> or <div id="suchAndSuch" class="blah" rel="this.that.other" name="this.name"></div> throw IE and/or FF to QM? According to W3C, those aren't standard attributes for those tags, but it does not say if it'll make them invalid. Your hel...

If site is looking same in all needed browser. then Is it ok if my CSS is not valid?

If a site is looking the same in all required browsers, is it okay if my CSS is not valid? Specifically, the CSS is not valid because: I'm using vendor specific properties, I'm using IE 6 and 7 hacks, I'm using browser specific hacks What benefits do I get if I make my CSS fully valid? ...

What is the best option to show Heading in italics only on some pages?

I have to show headings in italics, Is it ok? <h5><em>Heading text in italic</em></h5> Or i should use <p> <p><em>Heading text in italic</em></p> If we use then how screen reader will read this and Is it semantically correct? I don't want to use class. ...

Why HTML 5 still have support for Presentational elements?

See list here: http://www.w3schools.com/html5/html5_reference.asp like <b> , <i>, <br>, <hr>, <small>? Is it means no cons to use these? But what about content and presentation seperation? ...

Is separation of Content, presentation and behavior possible every time ?

Is separation of Content, presentation and behavior possible every time ? Many time through javascript we add classes to html and we use in CSS visibility:hidden inline. Should we always invest time ti keep all separate? ...

Is it ok to use <strong> in place of <b> blindly ?

Note: I know <b> is presentational and <span style="font-weight:bold> is a better way, and <strong> and <em> are for emphasis but my question is not regarding this. Should we convert every <b> to <strong> blindly? Many people do this, they think <b> is not good as per web standards so they convert every <b> to <strong> upon site redes...

Standards for screen sizes in web design

What is the standard for screen sizes when designing web sites? Is it still 800x600? ...

Why target="_blank" is not advisable to use with XHTML?

and It's validated in XHTML 1.1 and WCAG 2.0 Guidelines doesn't have any info about it's use? I know it's not valid in XHTML 1.0 strict but if many people using other ways like JavaScript, jquery, rel attribute, PHP etc. Does it make sense? it means people don't want to follow validation rules. they just want to pass the validation. ...

Why <big> is not in HTML 5 Tag list while <small> is?

Shouldn't both be removed? or is it means we should use <small>? Why <big> is removed but <small> is not? What is the problem with <big> which is not a problem of <small>? http://www.w3schools.com/html5/html5_reference.asp ...

Multiple Forms With Input Fields With The Same Name Attribute? Good Or Bad?

Is it an acceptable practice to have multiple HTML forms on a page with input fields that share the same name attribute? For example, the page contains a listing of all players and users are allowed to vote for the best player so next to each player card there is this form: <form class="vote-for-player" enctype="application/x-www-form-u...

CSS overflow and word-wrap behaviour not helping me at all

You can see how the filename field should look at http://www.plifk.com/henvic/114 and how it breaks the layout at http://www.plifk.com/henvic/159 If I used 108574main-neutron-star-and-a-very-bad-overfow-will-happen-here-so-sad.mpg I would not get an overflow, but in the first line "108574main-neutron-star-and-a-very-" and in the second ...

What is the best way to create standards-based, cross-browser compatible rounded corners in Drupal?

I am currently working on a Drupal 6 theme, for which designer is explicitly requesting to use A LOT of rounded corners. I could of course create the rounded corners - traditionally - with images. But I know there must be also better and easier ways of creating rounded corners. Optimally, I would like to write my CSS as standards-compl...

Should we follow this method in company's Web development Team also , seperation of Content , presentation and behaviour?

as Content = Content Builder ( Who will convert Client's Content (MS Word files) into XHTML Presentation = CSS Experts Behaviour = Javascript , jquery experts. but where is design. Is Presentation = Design or Presentation = CSS only ? Edit: Like Should we hire one person to make Design, XHTML, CSS and Javascript or different perso...

What is this attribute "headerindex="5h"?

I saw this on a CMS(sitecore) based Asp.net 2.0 Webform based site. <a class="boardTextLink " id="boardTextLink6" headerindex="5h"> is it semantically correct and w3c valid? Can we make and use custom attributes like this? Is it good practice? ...

Is website accessibility mandated in some countries? What are the consequences of not being accessible?

Is it mandatory in some countries to make all websites accessible? If so, what would happen if someone in country with this mandate does not make a website accessible? Can the government remove or block the IP if the site is not accessible? How could the government know if any website is not accessible? Do they check every single websit...

target="new" is not opening new tab or window of my browser in OpenSocial app!

target="new" is not opening new tab or window of my browser in OpenSocial app! ...

Ampersands in hyperlinks cause W3C validation to fail

Hi, I have a reacurring problem. I code nice standards compliant code only to have it fail due to ampersands within some of the hyperlink urls. Does anyone know of a work around or hack for this. Thanks ...

Is it ok if everything is looking ok but X/HTML and CSS are not valid , for CMS's Admin/control panel?

Is it OK if everything looking OK but HTML and CSS are not valid , for CMS Admin/control panel? Should we only consider Web-standards for site, not necessary for site-management tools? for example :http://site.com/wp-admin :http://site.com/admin/ ...