Coding Instruction and Lesson 1 - Container

File saving and set up:
file saving - Save all​
-
Choose the white theme
​​
-
Open a folder, name the folder​​
​​
-
Organize css style, html file, image file in the folder
​
-
Save project in your drive
​
-
Download the folder for your drive on the computer desktop
​​
-
If you are not saving all file in one place, you cannot open the project




Type Container

-
After type Container, click Enter and choose to Create CSS file
-
Click Browser
-
Type CSS style (filename)
​




Delet the highlight

Delet the writing to get a blank container

Make sure you unclick the Show Set box

1920px
1080px
Set the size of the container 1920px x 1080px
​
The most commonly used resolutions across mobile, desktop, and tablet are: 1920×1080
Save File
Save All

Add . html on your file name

Coding Explanation

​​
1. <!doctype html>
This is the document type declaration, often called a DOCTYPE.
-
It tells the browser to render the page in standards mode, using HTML5.
-
It’s not an HTML tag; it’s an instruction to the browser.
​​
2. <html>
This is the root element of any HTML document.
-
Everything in the HTML page (except the <!doctype> declaration) goes inside this tag.
​​
3. <head>
The <head> element contains metadata about the HTML document.
-
Metadata is information about the document, not displayed on the page.
-
It's where you link stylesheets, set character encoding, define the page title, and include scripts or SEO tags.
​​
4. <meta charset="UTF-8">
This sets the character encoding of the document.
-
UTF-8 is a universal character set that supports nearly all languages and symbols.
-
It ensures characters like emojis, accented letters, or special symbols display correctly.
​​
5. <title>Untitled Document</title>
This sets the title of the web page.
-
It appears in the browser tab or title bar.
-
Also used by search engines and when someone bookmarks your page.
​​
6. <link href="css style 1.css" rel="stylesheet" type="text/css">
This links to an external CSS stylesheet.
-
href="css style 1.css" specifies the path to the CSS file. This filename looks odd because of the spaces — normally it's written like css-style-1.css or style1.css.
-
rel="stylesheet" tells the browser this is a stylesheet.
-
type="text/css" tells the browser the type of file — though this is optional in modern HTML.
​​
7. <body>
The <body> tag begins the main content area of the page.
-
Everything inside the <body> tag is what the user sees and interacts with on the webpage (text, images, buttons, etc.).