I am fairly new to Django and would like to know how Django is different from html?
HTML is a language used to make Web pages.
When you "go online", you in fact use a software called a Web browser, downloading a code. This code is then used to display the Web pages : the color, the text, the images and so on.
HTML is a part of this code. It's the code saying "this information is a title, this information is a paragraph, this is an image", etc.
Django is a tool to generate Web pages
It can do more than that, but's that the basics of it. Writting HTML code by hand is very tedious, not very efficient, and limited : you can't make pages that adapts to the person who asks for it such as a user page or a search page.
Django is a tool that can understand what a user is asking, and create the HTML code in a fraction of a second, then send it back. When you see a Website such as Google or Amazon, they are using such a tool to display what you search for (although they don't use Django, there are many similar tools to do so).
If you want to learn to make Web sites with Django, you probably want to learn things in that order :
It's a pretty long process, so be sure that's what you need. If you just want a blog or an e-commerce web site, there are plenty already made solutions that exist and don't require to know programming.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With