0
Pless see my coding wher is rong. The (div tag is not work
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <div class="container"> <h1>my first websit</h1> </div> </body> </head>
7 odpowiedzi
+ 5
You have not put the ending tag </html>in the ending of the code and instead of that you have used </head>tag.
Please check it. ✌👍
+ 5
Post your css code also
+ 3
Md Azizul Islam did you define container in CSS ?
+ 2
U forget html end tag </html>
and u should put attributes for property class in css page
+ 2
The body tag nested in head tag to HTML means that there is no body to this page and nothing to display on the webpage.
You need to replace the last </head> with </html>
P. S. Using correct language will make it easier for people to understand and answer your question. I'm just saying.
0
Without css cod div tag not work????????
0
Md Azizul Islam what exactly are you trying to do with the div w the class container now ?