Unfortunately, I can not answer your question about what type of code it is. I don't have the skill or knowledge to understand the difference. However, I suspect they may be some JavaScript in there.
I have found a weather widget that changes daily. I wanted to find something similar, but more personal and slightly higher tech and provided buy a third party.
I may see if I can make fake Instagram Widget, using only a photo and link.
Oh.. your link thaught me how to add bullet points in HTML, so thank you. This is all learning for me.