Unlock all 4 pages
Get it free by sharing your own notes, buy just this one, or become a member and unlock documents with your plan.
How to unlock this document
Choose the way that suits you. Each one gives you all 4 pages to read online and the PDF to download.
Share your notes, unlock for free
2 free unlocks for every 5 approved uploads
- Upload your own lecture notes, assignments, essays or past papers
- PDF, Word, PowerPoint and Excel files all work, and you can send many at once
- We check each upload; you get a notification when it is approved
- Spend a free unlock on this document or any other, and keep it for good
- Shared under your public username, never your email
Then upload your notes from your profile.
Buy this document
$4 one-time payment
- All 4 pages of this document, yours to keep
- Download the PDF and read it any time, also offline
- No subscription and nothing to cancel
- Find it again any time under My Profile → Library
You log in or create a free account first, then pay securely.
Become a member
Unlock documents from the whole library, which keeps growing
- Choose any documents you like, up to your plan’s unlocks
- Documents you unlock stay yours, even if you cancel later
- Your unlocks start again with every renewal
- Secure checkout by Dodo Payments
You log in or create a free account first, then pay securely.
Compare the plansAlready a member, or bought this before? Log in to open it
About this document
- Pages
- 4 pages
- Price
- $4 one-time, yours to keep
- Membership
- Included in every plan
- Format
- Subject
- Computer Science, Web Design
This document explains the different methods of writing CSS code within HTML tags. It covers inline, internal and external CSS, their precedence, and special features like transitions and sliders.
What's inside
- Introduction to CSS styles methods
- CSS style precedence
- CSS special features
- CSS transitions
- Lightweight sliders
- Multiple color addition
Who it is for: For students of web design and development. (Undergraduate)
Share with classmates: WhatsApp Telegram X LinkedIn Facebook
Summary
Web design uses CSS to style HTML. Students learn about three methods of writing CSS code.
Three Methods of CSS
Inline CSS is written inside HTML tags. Internal CSS is written in the head of the HTML. External CSS is written in a separate file.
CSS Style Precedence
Inline styles take priority over internal styles. Internal styles take priority over external styles. This is important when using all three in one project.
CSS Special Features
CSS transitions and sliders make webpages more attractive. Multiple colours can be added using external CSS files.
Key terms
- Inline CSS
- CSS code written inside an HTML tag.
- Internal CSS
- CSS code written in the head of an HTML document.
- External CSS
- CSS code written in a separate file with a .css extension.
- CSS transitions
- Animations that provide easy usage and moderate system load.
- CSS sliders
- Lightweight sliders used in modern web design.
- Multiple colour addition
- Adding multiple colours to a webpage using external CSS files.
Questions this document helps with
- How do the three methods of CSS differ?
- When should each method of CSS be used?
- What are the benefits of CSS transitions?
Summary written with AI from the document's text.
Ask the AI Teacher
Ask any question about this document or your course, and get a clear explanation.
Log in to ask Create a free account
Free accounts can ask 5 questions a day.