start links and images of html section
@ -54,7 +54,7 @@ cat ~/.ssh/id_ed25519.pub
|
||||
git remote set-url origin https://'username':'password'@repositorylink
|
||||
```
|
||||
## Using Git
|
||||
- Check git version by using ```git --version```
|
||||
- Check git version by using `git --version`
|
||||
- After creating a new repository you can clone it to your current directory by using ``` git clone <repolink>```
|
||||
- After the cloning, check the url with ```git remote -v```
|
||||
- Use ```git status``` to check the status of the current files within your directory
|
||||
@ -175,13 +175,77 @@ git remote set-url origin https://'username':'password'@repositorylink
|
||||
</html>
|
||||
```
|
||||
- **VSCode can generate the entire boilerplate by entering `!` into a blank `.html` document**
|
||||
## Working With Text
|
||||
### Paragraphs
|
||||
### 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
|
||||
#### Headings
|
||||
- These use the `<hx>` tag where `x` is the number that changes the font
|
||||
- `<h6>` is the smallest font
|
||||
- 
|
||||
-
|
||||
#### Strong Element
|
||||
- The `<strong>` tag makes text **bold**
|
||||
- It also marks text as important semantically
|
||||
- This affects tools like screen readers for visual impairments
|
||||
- It will change the tone of the voice for the content within the `<strong>` tag
|
||||
```HTML
|
||||
<strong>Showing bolded wording</strong>
|
||||
```
|
||||
- 
|
||||
#### Em Element
|
||||
- The `<em>` tag makes text italic and also emphasises in text to speech
|
||||
- 
|
||||
#### Nesting and Indentation
|
||||
- Elements are nested for legibility
|
||||
- Also known as parent/child/sibling elements
|
||||
- Similar to braces for code
|
||||
```HTML
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<p>Lorem ipsum dolor sit amet.</p>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
- 
|
||||
#### HTML Comments
|
||||
- Comments are not visible when the page is rendered
|
||||
- Useful for reading page format when performing maintenance
|
||||
- Comments are written with `<!-- -->`, where the comment is inside the whitespace
|
||||
```HTML
|
||||
<h1> View the html to see the hidden comments </h1>
|
||||
|
||||
<!-- I am a html comment -->
|
||||
|
||||
<p>Some paragraph text</p>
|
||||
|
||||
<!-- I am another html comment -->
|
||||
```
|
||||
- 
|
||||
### Lists
|
||||
- Lists are one of the most commonly usedd elements/data structures because they neatly organize many items
|
||||
#### Unordered Lists
|
||||
- The order is random or irrelevant, then using an unordered list is the right choice
|
||||
- It's created by using the `<ul>` tag, with each element inside of the list using the `<li>` tag
|
||||
```HTML
|
||||
<ul>
|
||||
<li>Item 1</li>
|
||||
<li>Item 2</li>
|
||||
<li>Item 3</li>
|
||||
</ul>
|
||||
```
|
||||
- 
|
||||
#### Ordered Lists
|
||||
- Useful when the order of the list matters
|
||||
- It's created by using the `<ol>` tag instead with the same `<li>` elements inside of it
|
||||
```HTML
|
||||
<ol>
|
||||
<li>Item 1</li>
|
||||
<li>Item 2</li>
|
||||
<li>Item 3</li>
|
||||
</ol>
|
||||
```
|
||||
- 
|
||||
### Links and Images
|
||||
|
||||
BIN
Markdown/images/capture1.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
Markdown/images/capture3.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
Markdown/images/chrome_3i5DrmVUD3.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
Markdown/images/chrome_AhnmdRAmL7.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
Markdown/images/chrome_jpELgY8wjN.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
Markdown/images/chrome_qSqVJNFNTe.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
Markdown/images/chrome_qzKKOkOr72.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |