登录 | 注册 | FAQ
Anonymous

CSS on own file and html file?

+ 发表回复

5 篇帖子 分页: 1 / 1


CSS on own file and html file?

nevemiriam » 周二 3月 03, 2015 12:24 pm

Can one have CSS on its own file as well as some CSS commands in the html file? Thank you.
头像

nevemiriam

  • 帖子: 7
  • 注册: 周日 2月 22, 2015 12:25 pm

Re: CSS on own file and html file?

XainPro » 周二 3月 03, 2015 3:00 pm

yes you can do it.
it is called using internal css and using external css

you can learn further about this in below link

http://html.net/tutorials/css/lesson2.php
头像

XainPro

  • 帖子: 3933
  • 注册: 周五 2月 17, 2012 8:10 pm

Re: CSS on own file and html file?

nevemiriam » 周三 3月 04, 2015 4:30 am

Thank you!
头像

nevemiriam

  • 帖子: 7
  • 注册: 周日 2月 22, 2015 12:25 pm

Re: CSS on own file and html file?

nanoverso » 周五 3月 06, 2015 12:22 am

Remember that when you have repeated statements the cascade precedence is inline > internal > external, with inline as first priority.
头像

nanoverso

  • 帖子: 253
  • 注册: 周六 5月 10, 2014 12:08 am
  • 地址: Brazil
--
Free VST Plugins Download.

Re: CSS on own file and html file?

Veeramanikandan » 周一 5月 04, 2015 3:54 pm

yes u need to link on css external file to html web pages
头像

Veeramanikandan

  • 帖子: 20
  • 注册: 周一 9月 22, 2014 4:03 pm


+ 发表回复

分页: 1 / 1