In one of the lectures, Professor Malan explains that you can use Text Edit on a Mac to write HTML and CSS. I copied verbatim what he did with his CS50 search example and when I open the file using Chrome or Safari, it won't render correctly. I thought HTML new the tags and that it was universal. Some things I made sure of: 1) I typed it and saved it in plain text 2) I saved it as an HTML file
You can't really tell from the browser picture, but it's not centered, the button "CS50 Search" doesn't work(it's a text box only) and there seems to be weird text in front of CS50 for some reason.
I don't get what I'm doing wrong, or if I can't render an HTML file with precision if opened from a file on my computer. There is a picture of my Text Edit HTML and below that is what appears when I open it.
Thanks for any help!