8/28/2023 0 Comments Difference between htm and html![]() Think of it this way: you can’t compute the sum of 2 + 2 in HTML that’s not what it’s for. HTML can’t take input and produce output. It doesn’t modify or manipulate data in any way. You can’t declare variables and you can’t write functions. It doesn’t handle events or carry out tasks. It can’t evaluate expressions or do any math. It doesn’t have common conditional statements such as If/Else. HTML, as a markup language doesn’t really “do” anything in the sense that a programming language does. Programming languages have functional purposes. HTML is used for structural purposes on a web page, not functional ones. It told the browser which parts where headings, which were paragraphs, and which were links, and the browser displayed them as such. The HTML was only used in the above to mark up the text for the browser to read and interpret as web page content. The above is not an example of an executable script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |