+ 3

Is HTML for only web site designing

I mean can HTML be used for any other purpose

5th Jan 2021, 8:38 AM
Mark Maniasah
12 Antworten
+ 10
Response to HTML / CSS / JS Meme: https://www.sololearn.com/post/491699/?ref=app Technically... HTML+CSS declaratively initialize the DOM upon loading in the browser. Javascript imperatively manipulates the DOM after it's loaded in the browser. The DOM is what the browser uses to render a webpage. The structure, content, and design of that rendered webpage can be applied to the DOM using HTML + CSS (upon initial render) or Javascript (after initially loaded). I hope this helps clarify a deeply misunderstood concept regarding these 3 programming languages. ---- Side Note 1: HTML and CSS are Domain Specific Languages (DSL) with the purpose of initializing the DOM using declarative statements. HTML and CSS are, therefore, Declarative Programming Languages that are NOT Turing Complete. Side Note 2: Turing Complete is NOT required to be a programming language I hope this was helpful. Other Related Posts: https://www.sololearn.com/post/418932/?ref=app https://www.sololearn.com/post/141278/?ref=app
6th Jan 2021, 8:45 AM
David Carroll
David Carroll - avatar
+ 7
Mark McClan This, and other analogies like it, suffer the same problem... they attempt to associate the underlying roles of these 3 languages into an oversimplified, narrow subset of what they actually do. Normally, I would say that's alright as the details will eventually emerge to fill in the gaps. But, based on my own anecdotal observations over the years, there exists so much confusion and disagreement among developers and learners alike as to their understanding of the underlying roles of these languages. It makes me wonder if oversimplified analogies like this do more harm than good in the long run. At the very least, analogies like these are similar to the limitations of using Car and Animal analogies when first learning very basic OOP concepts. But people will typically move on into the more advanced understandings that eventually make the analogies seem less relevant. Note... this is just the "narrow" opinion of one person. 😉👌
6th Jan 2021, 7:56 PM
David Carroll
David Carroll - avatar
+ 6
Martin Taylor oops.. Sorry it's my mistake. I will delete my post since it is wrong.
5th Jan 2021, 10:08 AM
Baspberry
+ 6
Martin Taylor > "I can also provide links to websites that say the world is flat " That was hilarious 😂😂 And yeah i agree , a bad analogy is a bad analogy. 👍 I too had Seen this usage couple of time by web guys but never suspected this analogy .Thanks for clearing this misconception and do ping me otherwise your valuable words may go unnoticed ...
5th Jan 2021, 11:50 AM
Alphin K Sajan
Alphin K Sajan - avatar
6th Jan 2021, 7:47 AM
Baspberry
+ 6
FunOfCoding Thanks for sharing my post on this. Martin Taylor I also struggle with the analogy comparing "HTML as the bones, CSS as the skin, and JS as the brain. 😉 Since you only use the browser, I'll paste a copy of that post in the next response, in case you're interested in reviewing my take on this. Unfortunately, you won't be able to review the other linked posts outside the app. But... this should be fine.
6th Jan 2021, 8:44 AM
David Carroll
David Carroll - avatar
+ 4
Martin Taylor I think it is helpful to think of HTML as the skeleton(structure) of a web page. HTML defines the structure of the information present in the site. You said, “It seems to me that modern web developers are obsessed with form over content.” Form and content are both important and HTML takes care of both. People who think HTML is simply information may end up not paying attention to the structure. That leads to websites that are inaccessible to screen readers and search engines.
5th Jan 2021, 2:16 PM
Ore
Ore - avatar
+ 3
Martin Taylor Sir , it's not a technical stmt instead it is just an easy way to understand the relationship between html ,Css and Js . And the say is " html is like bones , css is the skin and js is the brain " I searched whether it exists and i found similar here : https://generalassemb.ly/blog/html-web-development-building-bones-website/#:~:text=Hypertext%20Markup%20Language%2C%20or%20HTML,information%20on%20a%20web%20page. The above stmt has then been evolved like html is like the skeleton of a website .But still Yes the stmt is not officially correct ...
5th Jan 2021, 10:25 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 3
Now I'm confused 😐. What IS the skeleton of a web page? 🙆 Could HTML be both the meat and the bones?
6th Jan 2021, 7:16 AM
Sonic
Sonic - avatar
+ 3
How about, - HTML is the house: it contains all the important furnishings (information) and where they should be contained. - CSS is the styling. The carpet, paint, paintings, ornaments, accessories, and of course...the throw rugs. - JS is the home automation. Push a button, and something special happens. Walk into a different room, and the lights turn on and perhaps a secret room is revealed if you stand in the right place, etc. I think that fits pretty well 😁
6th Jan 2021, 2:00 PM
Mark McClan
Mark McClan - avatar
+ 2
6th Jan 2021, 8:43 PM
Sonic
Sonic - avatar
+ 2
Mark McClan for the house analogy, there are many houses in this world without a home automation system but not many useful websites without JS. Maybe I am wrong and there are many static and old websites without JS. Maybe I am taking an analogy too far and should realise that no analogy is perfect.
6th Jan 2021, 8:47 PM
Sonic
Sonic - avatar