Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML Introduction to HTML and CSS (2016) Adding a New Web Page Set up an HTML Document

Harrison Greeves
Harrison Greeves
2,920 Points

Web Page Exclamation Mark

My web page appears with the word 'resume' but above it appears an exclamation mark?

2 Answers

victor cooper
victor cooper
6,436 Points

The very first line in your code is

!<DOCTYPE html>

That is not the correct syntax, type

<!doctype html>
victor cooper
victor cooper
6,436 Points

Can you post your code, theres a better chance of finding the problem if we could see the html

Harrison Greeves
Harrison Greeves
2,920 Points

I've updated it since, but it appears in a different position now.

The HTML...

!<DOCTYPE html> <html> <head> <title> Harri's Resume </title> <link rel="stylesheet" href="resume.css"> </head> <body> <img src="https://placeimg.com/200/200/tech" alt="Some guy using a computer" class="main-image"> <h1>Harrison Greeves, Web Wizard</h1> <h2>Summary of Qualifications</h2> <ul> <li>PHD in Computer Science</li> <li>Knows pretty much everything</li> <li>Good friends with Larry Page</li>
</ul> </body> </html>

The CSS...

body { font-family: "Arial"; }

.main-image { height: 300px; width: 300px; border: solid 4px black; border-radius 50%; }