
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<div style="width:100%; height:650px; background-color:#FF0000;">
<div style="background-color:#990066; width:100%; height:20%;">menu</div>
<div style="width:15%; height:80%; background-color:#333399;">mghu</div>
<div>Content for New Div Tag Goes Here</div>
</div>
</body>
</html>
This is a simple code. but after executing it i am not getting the sentence "content for new Div Tag goes here" in red block. why it is happening like this. it suppose to be print in red block. I have tried most of the browsers(mozilla,internet EXP, opera). all are printing the same output. cany anyone tell me the solution for this.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <div style="width:100%; height:650px; background-color:#FF0000;"> <div style="background-color:#990066; width:100%; height:20%;">menu</div> <div style="width:15%; height:80%; background-color:#333399;">mghu</div> <div>Content for New Div Tag Goes Here</div> </div> </body> </html>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.