I’m trying to give a bold font to an input this way below but it doesn’t work..
<html>
<head>
</head>
<body>
<style type=”text/css”>
.jander2{
font-weight: bold;
}
</style>
<form method="post" action="somepage">
<input id="jander" class="jander2">
</form>
</body>
</html>
Your
<style>should be in the<head>section:EDIT: To satisfy the commenter: use only standard double quotes, no curly special quotes as you had in your
<style>tag.