题目
题目

WEB DEVELOPMENT (CS_290_400_U2025) Quiz 2 — HTML & CSS

多项选择题

Consider the following directory structure: The directory public contains a file index.html and a directory style. The directory style contains a file style.css We want to apply stylesheet style.css to style the HTML file index.html. Which HTML element should we add to index.html to achieve this goal?

查看解析

查看解析

标准答案
Please login to view
思路分析
We need to determine how to apply the stylesheet style.css to the HTML file index.html given the directory layout. Option 1: <link href="./style/style.css" rel="stylesheet"/> This uses a relative path starting with ./, which points to the style/style.css file from the location of index.html (since the style directory is at p......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!