Category: Web

Web: Flask and Jinja2

Flask Flask a microframework written in Python that makes it easy to get a simple web application up and running with some features that can be useful in the development process. Install package Flask, create new application.py file with the code and set FLASK_APP=application.py To start server: flask run A route is the part of the URL that determines which page...

0

Just a little bit about HTML and CSS

HTML <!DOCTYPE html> is placed at the start of an HTML file to indicate to the browser that HTML5 is being used. Tags: <html></html> : contents of website <head></head> : metadata about the page that is useful for the browser when displaying the page <title></title> : title of the page <body></body> : body of the page <a href=“path/to/hello.html”>Click here!</a> : link to hello.html <img src=“path/to/img.jpg” height=”200″ width=”300″> : image...