Skip to content
This repository has been archived by the owner on Feb 20, 2025. It is now read-only.

Css in articles #338

Open
rf-alvs opened this issue May 17, 2021 · 0 comments
Open

Css in articles #338

rf-alvs opened this issue May 17, 2021 · 0 comments

Comments

@rf-alvs
Copy link

rf-alvs commented May 17, 2021

Hello, I would like to answer a question. Creating an article in OpenKB I realized that I can put CSS inline, but I was not able to put internal CSS and neither the external one. I would like to know if he really only accepts the inline or if I am making a mistake.

Follows unsuccessful examples of external CSS:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="E:/Rafael Alves/CSS/styles_janela.css">
<title>Menu lateral em CSS</title>
</head>
<body>
<div id="conteudo">
<h1>Menu lateral em CSS</h1>
</div>
<div id="menu">
<ul>
<li><a href="link1.htm">link1</a></li>
<li><a href="link2.htm">link2</a></li>
<li><a href="link3.htm">link3</a></li>
<li><a href="link4.htm">link4</a></li>
<li><a href="link5.htm">link5</a></li>
</ul>
</div>
</body>
</html>

Follows unsuccessful examples of the internal CSS:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
h1 {
color: red;
}
</style>
</head>
<body>
<h1>Olá mundo</h1>
</body>
</html>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant