What is the source of tags of HTML

I am new in HTML and all the coding thing so my teacher ask me a question he put this <p> , </p>
to make a paragraph and ask me that how that tag knows what to do and where he comes from whats its source at that time i gave him stupid answers like files saves on backhand but after that he gave me assignment on this so i need to know all about it to make a assignment and sorry for the bad English

I don’t entirely follow your English, however I think the answer that you’re looking for is that a browser refers to a “User Agent Stylesheet” which tells it how to display each HTML tag. If you do a search, you should be able to find an example of the UAS that each different browser uses (they are not all the same).

Check this page out to see some examples - https://meiert.com/en/blog/user-agent-style-sheets/

1 Like


Do you know how to plant and grow a food crop such as a tomato or corn? Do you know how to plant and grow a flower? Do you know how to plant and grow a tree?

(Because of the “extreme” nature of the question, I’m fishing for a useful analogy.)

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.