0
Please what's wrong with this code. The codes in the stylesheet isn't reflecting on the html document
<!Doctype html> <html> <html lang="en"> <head> <meta charset="UTF-8"> <title>My Personal blog</title> <link rel="stylesheet" href="css/stylesheet.css" type="text/css"> </head> <body> <h1>My Blog</h1> </body> </html>
12 Respostas
+ 2
If you are having trouble getting the correct path you can use the <style> tag
The <style> tag is used to define style information (CSS) for a document.
Nest it in the <head> tag like so:
<head>
<style>
h1 {color:red;}
p {color:blue;}
</style>
</head>
+ 2
This isn't a software forum, so your chances of getting the help you need for an 3rd party app is usually very slim here. But if you can't figure it out. I have downloaded the app. And set up a project folder. So that I can assist you if you still require assistance.
+ 1
In sololearn compiler it is not necessary to include style sheet.
0
I'm using Treb Edit mobile app & i need to use stylesheet. How do i go about getting the URL
0
<link rel="stylesheet" href="your stylesheet.css" type="css/text">
If your add CSS
0
Hola me llamo... Bueno mejor no decir mi nombre pero soy nuevo en sololearn, recien me entero de que existe una pestaña para chatear. Pero lo que quiero es que me sigan o que comenten algunas cositas que antes aprendido en sololearn, gracias, muchísimas gracias por su atención y tiempo
0
Either as </CODER> said, that the path might be wrong, or there might be errors in your stylesheet(missing semicolon, wrong attribute or value, etc).
If it is a test and there is only one style and it has error, the browser will just ignore it.
0
CSS correction. It should be <link rel="stylesheet" href="CSS/style.css" type="text/css">
Not stylesheet.css since you are linking it through a css folder, others are correct.
0
If you are having trouble getting the correct path you can use the <style> tag
The <style> tag is used to define style information (CSS) for a document.
Nest it in the <head> tag like so:
<head>
<style>
h1 {color:red;}
p {color:blue;}
</style>
</head>
0
Solution Number 1 : Use inline styling
Solution Number 2 : Use the <style> tag
Solution Number 3 : Style it using JavaScript