如何在html中引用多个.css文件? [英] How do you refer to more than one .css file in html?

查看:260
本文介绍了如何在html中引用多个.css文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个homepage.html,它引用styles.css(创建表)。但我也希望homepage.html引用styles12.css,因为在styles12.css我有tss的css。

I have a homepage.html and it refers to styles.css(makes a table). But I also want homepage.html to refer to styles12.css because in styles12.css I have the css for taps.

我如何引用两个.css文件?

how would I refer to two .css files?

<title>Testing Css/HTML files</title>
<link rel="stylesheet" type="text/css" href="style.css" />

我可以再另一个< link rel =stylesheettype = text / csshref =style12.css/>

Can I just make another <link rel="stylesheet" type="text/css" href="style12.css" />?

推荐答案

你可以试试; - )

Yes (you could have tried that ;-)

这篇关于如何在html中引用多个.css文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆