Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed CSS Basics!
You have completed CSS Basics!
Preview
The second way we can add CSS to a page is with internal styles. Internal styles are usually embedded in the <head> section of the HTML document and are defined using the <style> tag.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Internal styles are usually
embedded in the head section
0:00
of the HTML document and
are defined using the style tag.
0:02
Inside of our head element, let's add
a style tag right beneath the title tag.
0:08
This time, we'll style our
paragraph by writing the letter p,
0:16
followed by a set of curly braces.
0:21
I'll place my cursor
inside the curly braces,
0:24
then write font-size: 20px,
which is short for pixels,
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up