链接CSS不起作用 [英] Linking CSS doesn't work
本文介绍了链接CSS不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
因此我的CSS由于某些原因无法正常工作.我已经在网上搜索过,找不到它的问题,但是CSS没有连接到HTML.这是我的代码:
So my CSS doesn't work for some reason. I have searched online and cannot find a problem with it but the CSS is not connecting to the HTML. Here is my code:
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="yee.css">.
</head>
<body>
<audio id="yee" src="C:\Users\Jake Coffey\Downloads\yee.wav" preload="auto"></audio>
<center><img src="https://vignette1.wikia.nocookie.net/smashbroslawlorigins/images/1/16/Yee.png/revision/latest/scale-to-width-down/280?cb=20140904202925" onclick="document.getElementById('yee').play();" /></center>
</body>
</html>
推荐答案
这也许...没关系... 但是我遇到了这个问题.
This maybe... never mind... But I got this problem.
尝试在链接标签末尾添加/
Try add /
to your link tag end
<link rel="stylesheet" type="text/css" href="yee.css"/>
这篇关于链接CSS不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文