CSS VS HTML
HTML is used for the layout of a webpage. Items on a webpage (textboxes, checkboxes, buttons, labels) are HTML elements.
CSS is used for stying HTML elements. Say you wanted a blue button, well you'll need the appropriate CSS selector attribute in the element with the color attribute set to blue.
HTML can be used on its own without CSS. CSS on the other hand cannot be used on its own.
-
Featured Topics
-
Topics
-
jimroe ·
Posted in CPUs, Motherboards, and Memory6 -
2
-
Deniz Aycicek ·
Posted in Troubleshooting2 -
0
-
Sriyashas ·
Posted in Laptops and Pre-Built Systems5 -
4
-
2
-
LordNiKON ·
Posted in CPUs, Motherboards, and Memory8 -
Gaming Riddhesh ·
Posted in CPUs, Motherboards, and Memory0 -
JordanTrace ·
Posted in Phones and Tablets1
-
-
play_circle_filled
Latest From Linus Tech Tips:
Update Windows Before Watching This - WAN Show June 14, 2024
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now