HTML syntax question

volking
volking used Ask the Experts™
on
The below displays nothing - I expected Hello World
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
  
</head>
<body>
    <div style="font-size:200%"font-family:'Comic Sans MS'";  hello world</div>
</body>
</html>

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Fixer of Problems
Most Valuable Expert 2014
Commented:
You had some bad formatting in the 'div'.
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
  
</head>
<body>
    <div style="font-size:200%; font-family:'Comic Sans MS';">  hello world</div>
</body>
</html>

Open in new window

Author

Commented:
thx
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Commented:
You're welcome.

Author

Commented:
Probably just the first of many more to come. I used to earn over $100k to do coding, but then I had a stroke and lost most of my mind, fingers, and eyes. So I'm trying to re-teach myself. sigh. It's slow slugging.

frederick
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Commented:
Good luck then!!  We're here all the time.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial