sách gpt4 ai đã đi

html - 外部 CSS 样式表未链接

In lại 作者:行者123 更新时间:2023-11-28 06:06:00 27 4
mua khóa gpt4 Nike

首先,我想补充一点,我之前看了很多帖子,没有一个符合我的具体情况。

câu hỏi:

  1. “Lounge.html”是下面显示的“索引”html 文件
  2. “test.css”是我试图链接到的外部 .css 文件,也在下面显示
  3. “Lounge.html”和“test.css”都在同一个文件夹中;根文件夹
  4. 所有“img”和“a”元素处于工作状态
  5. 当我在 Microsoft Edge 或 Internet Explorer 中运行“Lounge.html”时,该样式未应用于我的页面。

如果能帮助我使这个外部链接正常工作,我将不胜感激。

问候,

AA

h1, h2 {
font-family: sans-serif;
color: gray;
}
h1 {
border-bottom: 1px solid black;
}
p {
font-family: sans-serif;
color: maroon;
}
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<đầu>

Head First Lounge





Welcome to the New and Improved Head First Lounge


Drinks



Join us any evening for refreshing
elixirs,
conversation and maybe a game or two of
Dance Dance Revolution.
Wireless access is always provided;
BYOWS (Bring Your Own Web Server).


Directions



You'll find us right in the center
of downtown Webville. If you need help finding
us, check out our
detailed directions.
Come join us!



1 Câu trả lời

这可能是浏览器缓存的问题。 清除缓存并再次检查。清除缓存的简单方法是在添加后添加一些随机字符串?到网址。示例

http://example.com/test.html?somerandomtext

关于html - 外部 CSS 样式表未链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36453831/

27 4 0
行者123
Hồ sơ cá nhân

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá Didi Taxi miễn phí
Mã giảm giá Didi Taxi
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com