my Name is Pane and I have got a weird problem. I want to make a Registration forum and I need PHP and MySQL for this. I overcomed a big problem with localhost, then i was realy happy. I programmed further and then, there was the next problem. When I open my Registration forum with localhost, there is no CSS. I tried to make the CSS in the HTML-File but it still didn't work. I asked some friends and a Youtuber, but both of then said the same, that everything is correctly. So now I am here and don't know what to do. I realy hope you can tell me that the problem is. The style.css file and the Registration.html file are in the same folder. This is the code of my style.css I am from Germany so don't be confused. I would be realy happy if you could tell my.
- Code: Select all
<!doctype html 5>
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<title> Regestrierung</title>
<meta name="robots" content="noindex" />
</head>
<body>
<div id="a">
<section>
<header>Titel</header>
<form>
<fieldset>
<legend>Bitte merke dir deine Zugangsdaten</legend>
<p>
<label for="username" class="sr-only">Name</label>
<input type="text" name="username" size="100" id="idname" class="form-control" placeholder="Name" autocomplete="username" required>
<p>
<label for="email" class="sr-only">E-Mail</label>
<input type="email" name="usermail" size="100" id="idmail" class="form-control" placeholder="E-Mail" autocomplete="usermail"required>
</p>
<p>
<label for="password" class="sr-only">Passwort</label>
<input type="password" name="userpassword" size="100" id="idpass" class="form-control" placeholder="Passwort" autocomplete="current-password" required>
<input type="checkbox" name="rememberusername" id="rememberusername" value="1" />
<label for="rememberusername" id="checkmark">Namen merken</label>
</p>
<button type="submit" name="login" value="weiter" id="loginbtn">Weiter</button>
</a>
</fieldset>
</form>
<footer>
<p><a href="#">© 2020 Pane</a></p>
</footer>
</body>
</html>