View Single Post
Old 10-06-2017, 09:49 PM   #14
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Toxaris View Post
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
Hitch is offline   Reply With Quote