commit before vim journey
This commit is contained in:
parent
120275164b
commit
b15871acc1
@ -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: `<meta charset="utf-8">`
|
- The meta tag for the charset encoding of the webpage in the head element: `<meta charset="utf-8">`
|
||||||
- The encoding ensures that the webpage will display special symbols and characters from different languages correctly in the browser
|
- The encoding ensures that the webpage will display special symbols and characters from different languages correctly in the browser
|
||||||
#### Title Element
|
#### Title Element
|
||||||
-
|
- Should go in the head of an HTML doc `<title>My First Webpage</title>`
|
||||||
|
- 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
|
||||||
|
<!DOCTYPE>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>My First Webpage</title>
|
||||||
|
</head>
|
||||||
|
</html>
|
||||||
|
```
|
||||||
|
#### Body Element
|
||||||
|
|||||||
@ -1,4 +1,7 @@
|
|||||||
<!DOCTYPE>
|
<!DOCTYPE>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>My First Webpage</title>
|
||||||
|
</head>
|
||||||
</html>
|
</html>
|
||||||
Loading…
Reference in New Issue
Block a user