Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML HTML Basics Getting Started with HTML What is HTML?

Do you need HTML if you use python Flask visa versa? Would you also need Java Script to?

Do you need HTML if you use python Flask visa versa? Are you not able to make a website with just Flask alone or just HTML, CSS? Would you also need Java Script to?

You can build websites with plain HTML and CSS. You just need to apply some server configurations to Apache or similar. JavaScript is not 100% necessary but will make your website less interactive / plain. Not sure about the Flask question, maybe you can Google it, but HTML is needed almost everywhere, they just mix things up. For example, React uses HTML in a way it's called JSX, which is a more advanced way to insert HTML into the page documents.

2 Answers

HTML is for the structure of the website. It basically tells the browser what each element is (is it text, is it a header, is it a title, etc).

CSS is for the style. It will tell the browser how it should be displayed (which color must it be, where should everything be in relation to each other, etc).

Javascript, Python, Ruby, PHP, etc. they are all the brains. They make things happens. Any kind of logic, scripts, functionality, interactivity, they are one of these programming languages.

Note that Javascript is the only language supported by the browser, all the other programming languages will have to be server-sided.

This answer lacks clarity. OP is asking if it is necessary to use HTML if you use FLASK(Python FrameWork for Web Dev).

john garzon
john garzon
3,404 Points

flask is a framework using python as its language, used on the "backend" of things, not "front-end". so I don't suppose you'll be needing html to work with flask. BUT... you should still learn html.