Can somebody break down this code for me? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can somebody break down this code for me?

I got this from w3schools and I really want to understand it. https://code.sololearn.com/Wud0Xx170Mq8/?ref=app

30th Jul 2018, 7:59 PM
Daniel Cooper
Daniel Cooper - avatar
2 Answers
0
I am fairly sure that the part you don't understand are the strange characters like &alt; and &gwt;. What they represent are html "special characters" they are mostly used to write letters and symbols that aren't available on most keyboards like µ, ©, ¥. but in this case they are used so the document doesn't treat the text as a <div> and <script> tag. the way you insert these symbols is through a keycode that is between an & and ;. here is a link to the full list of html special characters and there corresponding keycodes https://dev.w3.org/html5/html-author/charref I hope this was of use. Mahaki.
2nd Aug 2018, 6:05 AM
Mahaki
Mahaki - avatar
0
mahaki Not at all what I needed help with, but thank you for trying to help!
2nd Aug 2018, 6:06 AM
Daniel Cooper
Daniel Cooper - avatar