Created markdown directory and added images
This commit is contained in:
parent
b15871acc1
commit
f8cf891438
@ -143,3 +143,45 @@ git remote set-url origin https://'username':'password'@repositorylink
|
|||||||
</html>
|
</html>
|
||||||
```
|
```
|
||||||
#### Body Element
|
#### Body Element
|
||||||
|
- All content will be displayed to users inside of this tag
|
||||||
|
```HTML
|
||||||
|
<!DOCTYPE>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>My First Webpage</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
```
|
||||||
|
#### Viewing HTML Files in the Browser
|
||||||
|
- You can drag and drop an HTML file into the browser and it will open up the page
|
||||||
|
- You can also use a preview extension that will open a browser window
|
||||||
|
- In Ubuntu you can use the command `google-chrome index.html` to open it as well
|
||||||
|
- Using `<h1>` for the heading can render out a title on the page
|
||||||
|
```HTML
|
||||||
|
<!DOCTYPE>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>My First Webpage</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<h1>Hello World!</h1>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
```
|
||||||
|
- **VSCode can generate the entire boilerplate by entering `!` into a blank `.html` document**
|
||||||
|
## Working With Text
|
||||||
|
### Paragraphs
|
||||||
|
- If text is not preceded by a `<p>`, then it will all clump together as one large body of text
|
||||||
|
- 
|
||||||
|
- 
|
||||||
|
### Headings
|
||||||
|
- These use the `<hx>` tag where `x` is the number that changes the font
|
||||||
|
- `<h6>` is the smallest font
|
||||||
|
- 
|
||||||
|
-
|
||||||
BIN
Markdown/images/chrome_dnDCL9ylH1.png
Normal file
BIN
Markdown/images/chrome_dnDCL9ylH1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
BIN
Markdown/images/chrome_drT4PQKjhb.png
Normal file
BIN
Markdown/images/chrome_drT4PQKjhb.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
BIN
Markdown/images/chrome_r0YaBjn2YV.png
Normal file
BIN
Markdown/images/chrome_r0YaBjn2YV.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
@ -4,4 +4,8 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>My First Webpage</title>
|
<title>My First Webpage</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<h1>Hello World!</h1>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Loading…
Reference in New Issue
Block a user