+ 1

How to paragraph in html with some html tag?

How to paragraph in html with some html tag? I try this: <p class=“a”> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>title</title> </head> <body> </body> </html> </p>, but it’s not working.

21st Aug 2019, 7:33 AM
Tonik Horkel ಠ_ಠ
Tonik Horkel ಠ_ಠ - avatar
6 Respuestas
+ 3
The paragraph must be inside the <body></body> tag of the html file.
21st Aug 2019, 7:41 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
0
It should be in body tag, because all those tags which we can see goes in body tag.
21st Aug 2019, 7:47 AM
Faisal Bajwa
Faisal Bajwa - avatar
0
no i don’t want to make just a paragraph i want a paragraph with this text: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>title</title> </head> <body> </body> </html>
21st Aug 2019, 8:04 AM
Tonik Horkel ಠ_ಠ
Tonik Horkel ಠ_ಠ - avatar
0
Then try putting this whole code in body tag
21st Aug 2019, 8:11 AM
Faisal Bajwa
Faisal Bajwa - avatar
0
I dont know it will work or not
21st Aug 2019, 8:12 AM
Faisal Bajwa
Faisal Bajwa - avatar
0
not
21st Aug 2019, 8:13 AM
Tonik Horkel ಠ_ಠ
Tonik Horkel ಠ_ಠ - avatar