+ 1

Style sheets

Pls here how can i link my html with css or i should just write without linking?

24th Oct 2021, 4:31 PM
Hamidu Modibbo
Hamidu Modibbo - avatar
4 ответов
+ 4
You Can Directly Use CSS In Your HTML By: <style> /* Your CSS Here */ </style> Or, You Can Use Linking To A CSS File: <link rel="stylesheet" href="URL TO CSS FILE">
24th Oct 2021, 4:39 PM
Sancho Godinho
Sancho Godinho - avatar
+ 3
Please always tag the language you're asking about. https://code.sololearn.com/W3uiji9X28C1/?ref=app
24th Oct 2021, 5:11 PM
Simon Sauter
Simon Sauter - avatar
+ 2
Stylesheets represent styling of web There are 3 types of stylesheets 1. Inline or internal 2. Embedded 3. CSS Stylesheets the style attribute is used to define inline stylesheet it is only for a tag the style tag is used to create an embedded stylesheet it is only for a webpage <style> </style> This tag must be in the head section CSS means styles will be applied to any no of web pages or websites These are reusable styles The link tag is used to create CSS we have to define CSS separately and add it to HTML <link type=”text/css” rel=”stylesheet href=”stylefilename.css”/> This tag also must be in head section
25th Oct 2021, 9:52 AM
sree harsha
sree harsha - avatar
+ 1
External <link rel="stylesheet" href"stylesheet.css"> Internal: <style> Css code </style> Inline: <tag style="css code"> Hope I answered.
24th Oct 2021, 5:26 PM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar