QUESTION IMAGE
Question
question # 4
multiple choice
you saved your style options as \webstyle.css\ in the same folder as your html file.
what line do you include in the head section of your html file to use your styles?
<link rel=\stylesheet\ href=\css/webstyle.css\ />
<link rel=\stylesheet\ type=\text/css\ href=\css/webstyle.css\ />
<link rel=\stylesheet\ type=\text/css\ href=\webstyle.css\ />
<link rel=\stylesheet\ href=\webstyle.css\ />
When linking a CSS file in the same folder as the HTML file, the href attribute should point directly to the CSS file name (no css/ path as it's in the same folder). Also, the type attribute (type="text/css") is optional in HTML5 (though valid in HTML4).
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
<link rel="stylesheet" href="webStyle.css" /> (assuming the fourth option in the given choices is this correct form after possible typo - if the fourth option is <link rel="stylesheet" href="webStyle.css" /> which is correct as per HTML5 (no need for type in HTML5 when the rel is stylesheet and the file is in the same folder so href is just the file name)).