+ 6
How is my html so far
<html> <head> <title>first code<title> <body> <p>hello fellow geeks</p> </body> </head> </html>
31 Réponses
+ 7
Not bad for a beginner. Could use some color, and your head tag is in the wrong spot.
+ 5
nop, this way.
<html>
<head>
<title>first code</title>
</head>
<body>
<p> thank you for the correction </p>
</body>
</html>
+ 5
Ya nice code for beginners 😀
+ 3
Nice one to start
+ 2
Thx
+ 2
<html>
<head>
<title>another code </title>
</head>
<body>
<h1>Thank you for all the corrections</h1>
</body>
</html>
+ 2
K
+ 2
Depends on u
+ 2
You can close the head just after you've opened it
+ 2
Yes, that's good! For beginner is fine, but first write it so:
<html>
<head
<title>First Code</title>
</head>
<body>
<p>Hello fellow geeks!</p>
</body>
</html>
Im using spaces for beatiful code, but what about ur code? Thats your way. Im happy, that we have + for SoloLearn's community. Good luck bro!
+ 1
close </head> before <body>.
+ 1
<html>
<head>
<title>first code<title>
<body>
<p> thank you for the correction <p>
</head>
</body>
</html>
+ 1
Ouk I get forgot to close the p tag
+ 1
But let me try it
+ 1
no, notice </head> before <body>
+ 1
alright 👍
+ 1
<html>
<head>
<title>Cheer up</title>
</head>
<script>
#headline {
Width: Xpx;
Height: Ypx;
Text-align: center;
Background:-webkit-linear-gradient(45deg, #61e5ff, white);
Color:black;
Padding: Zpx;
}
</script>
<body>
<div class="headline">Every step no matter how small makes you closer to your dreams</div>
</body>
</html>
+ 1
Noximus I think you mean <style> instead of <script>
<style> for CSS <script> for JavaScript
+ 1
You can not use the <head> tag inside the <body> tag.