Updated: Wednesday, October 11,2023-10-11 15:12:29
parent
4c2c43ea52
commit
8d2053d6e0
|
@ -108,8 +108,43 @@ Start by typing this line in your program
|
||||||
|
|
||||||
## Save this file as hello.html file
|
## Save this file as hello.html file
|
||||||
|
|
||||||
|
& drag it to your browser window.
|
||||||
|
Ta-da!! You have just launched your web design...but there's only text in it
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
Next
|
## Give it Pizzazz
|
||||||
|
|
||||||
|
|
||||||
|
Change the background color in the `body` tag.
|
||||||
|
|
||||||
|
```
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<body style="background-color:powderblue;">
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Change the size of the text with the `h` tags & `p` tags
|
||||||
|
```
|
||||||
|
|
||||||
|
<h1>This is a heading</h1>
|
||||||
|
<p>This is a paragraph.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Add an image from the internet with:
|
||||||
|
|
||||||
|
```
|
||||||
|
<img src= "imagehere.jpg"
|
||||||
|
```
|
||||||
|
|
||||||
|
Make sure that it is a .jpg or a .png file !
|
Loading…
Reference in New Issue