Hello, So i made a page from scratch for the first time and i think my HTML code is a little screwed up. http://www-personal.umd.umich.edu/~tdadkins/ This page is indexed, but when i look at it in google it says <HTML> <HEAD> <TITLE> before it goes to "best digital marketing programs in michigan" So how do i get rid of that extra text <HTML> <HEAD><TITLE>? ive tried to look for these things in the HTML file but i cant find these things. Are they in the top of the page (in the HTML file since they show up first?) Any help to try and get this looking better would be greatly appreciated. This is my very first attempt at this kind of thing so i know it looks rough lol.
Your markup is terrible. Go back to your textbook and read it again. For starters, the first tag is the doctype declaration, followed by the html tag and head tag. Do not repeat them. I'm not going to go through the document, it's so messed up that the W3C validator can't even begin. Go to htmldog's beginners' tutorial to learn easily, and most importantly to learn best practice. gary
That code is might work in some alternate universe; but on this planet a web page has a document structure with one tag; one head tag and one body tag all of which get opened and closed in a nested format. There is no point eventrying to describe the errors because virtually every line of code is throwing an error. I don't know where you learned to do gibberish like that, but you need to take a deep breath and visit and of the thousands of sites that offer tutorials on the "basics of HTML", because as a web dev student that would not even make it through kindergarten level. You need to learn a little dude instead of just guessing what might work.
As others are pointing out you have multiple instances of doctype, body and HTML, and that's just gibberish... It looks like you are pasting together multiple files on the back-end where the sub-files should NOT have their own declarations. Even if you remove those, the code makes no sense whatsoever.... what makes that initial anchor and it's text a paragraph? What makes that paragraph be the main heading that all content on the page is a subsection of? What makes the later paragraphs be list items? You have whitespace formatted text inside paragraphs that look like they should be second level headings... and of course the HTML 3.2 style upper case tags. Nothing in there makes the least bit of sense.
Your code is broken, it is usually <html> <head> <title>your page title here</title> <meta ................... > </head> <body> <!-- your page contents in html format --> </body> </html> Cheers