Quote:
Originally Posted by Toxaris
No, they are both text files, but not HTML. There is a clear definition what is supposed to be in a text file for it to be called HTML, the same goes for CSS.
|
Agreed. Moreover, HTML is, by definition and by name,
a Markup Language. Neither javascript nor CSS are. Javascript is--again, by definition and by name--
a scripting language. CSS is simply
a text file--it's
not a language, markup or scripting, and it does nothing but provide style definitions for variously-defined elements, in an HTML page/site/web/eBook file. It's like a lookup table--the HTML document renders, comes across an element, checks the CSS, then renders it as defined in the CSS/Lookup table--then continues rendering on, lather, rinse, repeat.
They are not the same, and most people who are familiar with the three--and I don't mean programmers, just people who make eBooks, simple websites, or anything like that--know that
they are not.
If nothing else, HTML files have various declarations (doctype, etc.) at the top that effectively make them HTML files, which the others don't. That alone would make the search limited to the actual HTML files.
Hitch