+ 2

How html is understand by browser ? It is converted into binary?

Normal when we write code in c, c++ code is converted into binary lastly .how the html is going to be at last

23rd Mar 2022, 5:41 PM
🤔☺️😳😇
🤔☺️😳😇 - avatar
8 Antworten
+ 3
Html isn't a programming language it's a Markup Language so like it won't have the same functionality as a programming language. Also take into account that when you write the code for an html webpage you are creating a file, so the browser just reads that file and displays the contents no compilers are used. Just think of html as a canvas on where you paint and the browser displays the painting you made... Idk if this makes sense
25th Mar 2022, 6:11 AM
Cicadan-Matrix
Cicadan-Matrix - avatar
+ 2
https://medium.com/@monica1109/how-does-web-browsers-work-c95ad628a509#:~:text=The%20Browser%20Engine%3A%20The%20browser,and%20manipulates%20the%20rendering%20engine. I found short blog it has good content
23rd Mar 2022, 6:34 PM
🤔☺️😳😇
🤔☺️😳😇 - avatar
+ 1
It's a markup language. I don't think anything like C/C++ happens in this case. Browsers show us the result based on the tags.
23rd Mar 2022, 5:49 PM
Kashyap Kumar
Kashyap Kumar - avatar
+ 1
When a web page is loaded, the browser first reads the HTML text and constructs DOM Tree from it. Then it processes the CSS whether that is inline, embedded, or external CSS and constructs the CSSOM Tree from it. After these trees are constructed, then it constructs the Render-Tree from it. Render engine turns the HTML tags into a set of commands for the operating system. Different browsers have different render engines. This is what I got (In short) Btw, Google will be better place for this question.
23rd Mar 2022, 6:08 PM
Kashyap Kumar
Kashyap Kumar - avatar
0
But how it is going to dedicate by browser any patterns stored in browser?
23rd Mar 2022, 5:52 PM
🤔☺️😳😇
🤔☺️😳😇 - avatar
0
Thanks ,but need more detail information How they are converted rawdata(internet or loccal) to character to token s to node to DOM. Token is i guess it is random or unique number or code like Character had values of ASCII
23rd Mar 2022, 6:20 PM
🤔☺️😳😇
🤔☺️😳😇 - avatar
0
I think it understands it the way you write it. Html is a markup language so honestly, I don't think you should convert it to binary. After writing your codes denoting their placements and colour and whatever else you need the webpage to look like, except for any error by part, it should the painted on the webpage the way you wrote it to be. Hope this is helpful
25th Mar 2022, 6:47 AM
James Anthony
James Anthony - avatar