background picture with networks
Module 3 | Lesson 4

Apply your style with CSS

This course teaches you how to transform your R code into a visually appealing report in HTML format.

Essentially, we're creating a miniature website 🔥!

It is time to understand what HTML is, and explore how to personalize it using CSS, a stylesheet language.

Members only
10 minutes read

🤔 What is a website

A website is basically a set of HTML files.

To understand this, I suggest to run the following experiment:


1
Create a new file called index.html somewhere on your computer. You can use any text editor tool for this.
2

Paste the following content into the file:

<h1>Hello World!</h1>
<p>I am a tiny website!</p>
3

Save your file. Find it in your explorer. Double click on it to open it.

That's it! You just built your first website from scratch! 🎉

Not the New York Times yet, but it's a start!

The very basic of HTML

The file we created has 2 HTML elements.

Each element is defined by a start tag, some content, and an end tag.

Brief anatomy of an HTML file

Anatomy of a simple HTML file

background picture with networks
Productive R Workflow

This lesson is for members only! 😔
Become a member now to access the full course with a lifetime access!

Or Login

← Previous

Report header

Next →

Create your dataviz theme