diff --git a/TheOdinProjectNotes.md b/TheOdinProjectNotes.md index 1f577fa..5fed980 100644 --- a/TheOdinProjectNotes.md +++ b/TheOdinProjectNotes.md @@ -128,4 +128,18 @@ git remote set-url origin https://'username':'password'@repositorylink - The meta tag for the charset encoding of the webpage in the head element: `` - The encoding ensures that the webpage will display special symbols and characters from different languages correctly in the browser #### Title Element - - \ No newline at end of file + - Should go in the head of an HTML doc `My First Webpage` + - It's used to give webpages a human-readable title which is displayed in our webpages' browser tab + - The default title for a webpage is it's filename, in this case `index.html` + - This is a security risk as you wouldn't want the internet to know what any of your files are named or how they are placed within the project directory + - Also would make it difficult for the end user to remember what tab it is if they have multiple open +```HTML + + + + + My First Webpage + + +``` +#### Body Element diff --git a/html-boilerplate/index.html b/html-boilerplate/index.html index 4053cc5..a33d6f3 100644 --- a/html-boilerplate/index.html +++ b/html-boilerplate/index.html @@ -1,4 +1,7 @@ - + + + My First Webpage + \ No newline at end of file