/    Sign up×
Community /Pin to ProfileBookmark

how to know that an html document contains CSS ?

How can I know by looking at bthe html doc that it contains stylesheet (CSS). What tag is responsible for including CSS ? Is it style tag ? I can see <style = “text/css”>, does it mean that it inclydes CSS ?

pls explain

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@FangMay 31.2009 — 3 methods of including styles in order of preference

External:&lt;link rel="stylesheet" type="text/css" href="generic.css" title="generic styles"&gt;

Embedded:&lt;style type="text/css"&gt;
html, body {margin:0;padding:0;}
&lt;/style&gt;

Inline&lt;div style="color:#000; background:#fff;"&gt;foo bar&lt;/div&gt;
Copy linkTweet thisAlerts:
@David_HarrisonMay 31.2009 — With XML based languages there can also be something like this just before the DOCTYPE:&lt;?xml-stylesheet type="text/css" href="styles.css" media="screen"?&gt;
×

Success!

Help @jigneshjsoni spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.1,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...