Yeah, most job ads have a lot of fluff in them (to make the advertiser sound sophisticated or something). “Strong XHTML skills” implies the rest anyway. I’m surprised they didn’t specify HTML5 instead, as that’s the hip buzzword nowadays.
I was wondering the same, and thus googled and found your post. The next line in the recruiting ad is “Deep understanding of CSS inheritance…” so I would tend to agree that they are looking to minimize id tags and leverage a deeper CSS path for styling without use of id tags. With that said however, if they want backward compatibility to XHTML 4 then then need to have id tags on the fragment items ( elements a, applet, form, frame, iframe, img, and map ). So, not sure what they mean by hooks overall, but if they want a well structured style-able document, you could limit the id tags to key container items (if there are more than one in same class of course). Anything there is one of, you can just use a class tag. The use of id tags is for items where there are more than one item of similar style/class.
The other thing I was thinking was they might be meaning clean Xpaths for Selenium testing, as well. If you can design the addressable sections of a page for CSS and Selenium so they are minimal, then that is likely a good set of markup.
The goal is stability overall id for addressing these items for styling and testability ultimately. You can suggest the use of contain objects for scoping inner elements and when doing so, the hunt for the inner elements is much faster due to the pre-selection of a sub-section of the dom tree to search through. The overall idea there is not to use id’s only everywhere because then for both JS addressing and CSS, each id has to be hunted for through the entire DOM tree.
XHTML 1.0 is the XHTML equivalent to HTML 4 and XHTML 5 has the same relationship to HTML 5. While XHTML 1.1 and XHTML 2 exist neither became all that popular because neitherhave an HTML equivalent and until IE8 is finally dead you can’t use XHTML as IE8 and earlier don’t support it.
That was type-o. Good catch. Hooks == Selectors whether for CSS for style or CSS/Xpath selectors for Selenium etc. The idea I believe is whomever on their end is more worried about making everyone’s life easy, than adding a teeny bit of HTML bloat with id tags. If there is a concern at this low a level and it is over emphasized, well then it is likely the big picture and more important stuff could also suffer. General good practices for organizing things in container divs would more than likely be sufficient to minimize DOM search via whatever selector approach is used. Thanks gain for pointing out the error. No more time now on this one. See ya.
this could be a great HINT for the interview. The employer (or at least the HR excec) may be hinting as to what was the downfall of the last person have held the position/ or what they are looking for.
Specifically in this case , one could argue this employer has something against ‘opt-in’ classes?