So I did it this way because it makes sense and it worked can I do it this way or is that against the rules | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

So I did it this way because it makes sense and it worked can I do it this way or is that against the rules

<html> <head> <body> This is a line of Text. </body> </head> </html>

27th May 2020, 4:13 PM
AirVeazy
9 Answers
+ 5
It's working bcz all u have in yr code is a line of text add something more: links and script and metatags you will see how fine your code is
28th May 2020, 6:23 PM
Mehnaz ✨
Mehnaz ✨ - avatar
+ 2
No,it not necessary unless you want style that paragraph. Text can either be placed by itself or in paragraph tags , but it's generally not a good practice to place text without <p> tag. ... If your text is inside <p> tag, you know that you can tell CSS to make your desired changes to 'p'.
27th May 2020, 4:21 PM
v@msi😉
v@msi😉 - avatar
+ 2
You need to close <p> tag. It may gives unexpected outputs
27th May 2020, 4:34 PM
v@msi😉
v@msi😉 - avatar
+ 1
There are an initial structure that you have to follow
27th May 2020, 4:19 PM
Emanuel Maliaño
Emanuel Maliaño - avatar
+ 1
And what you are doing is wrong, look at the HTML tutorial in sololen in that tutorial treat these basic themes in which you can have doubts
27th May 2020, 4:22 PM
Emanuel Maliaño
Emanuel Maliaño - avatar
+ 1
thank you everyone for responding so fast i want to learn blockchain so i figured id start here and work my way up any tips on that perticular path would be appreciated immensly
27th May 2020, 4:35 PM
AirVeazy
0
<html> <head> </head> <body> <p> is this better? </body> </html>
27th May 2020, 4:26 PM
AirVeazy
0
wait i didn mean to indent the closing html
27th May 2020, 4:26 PM
AirVeazy
0
got it
27th May 2020, 4:34 PM
AirVeazy