Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two stylesheets added to the same page, how does it work? #15

Open
Dexter1996777 opened this issue Mar 28, 2023 · 0 comments
Open

Two stylesheets added to the same page, how does it work? #15

Dexter1996777 opened this issue Mar 28, 2023 · 0 comments

Comments

@Dexter1996777
Copy link

Hello everyone!
In Chapter 14, we've got two stylesheets linked to the html code. But at the same time, these css codes have the rules that are meant to stylize elements that are not mentioned in the html. Could you explain me please, how it works? Does it mean that these ccs stylize the elements only included by the html code and the rest is ignored?

One more question: the html does not have "type="text/css"", but the style works perfectly. So we do not have to always use "type="text/css"" to sylize an html?

https://github.com/bethrobson/Head-First-HTML/blob/master/chapter14/starbuzz/styledform.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant