From the course: Interactive Dashboards with Plotly and Dash

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Solution: HTML and markdown

Solution: HTML and markdown

- [Instructor] All right everybody, our solution code is up on the right. Let's go ahead and dive into the notebook. Alright, and so let's go ahead and run this cell. And so we end up with this page. Let's start with our first element. We had a font family of Ariel. Ariel tends to be better than the default times New Roman for web apps, typically we want San serif fonts rather than Sarif fonts. San sarif fonts tend to look a little bit cleaner. Sarif fonts like Times New Roman are better for printed materials. We change our background color to black and the text color to light gray, which is going to be the default unless less specified elsewhere. And so we then open up our children argument. So this is going to contain multiple HTML elements. So we have our level one header that says Hello, this is that gray aerial font. We then open up a paragraph that says Welcome to the and then Best. And we've made this red, bold, and font size 32. So compared to markdown, making things bold is…

Contents