Header h1 practice for sections
Header h2
Header h3
Header h2
Side tag for web advertisement
THE CODE <_hr> <_br> <_h3>Formating a Page<_/h3> <_p>3 main parts - header, main and footer<_/p> <_header> <_nav><_/nav> <_/header> <_main> <_article> <_section> <_h1>Header h1 practice for sections<_/h1> <_h2>Header h2<_/h2> <_h3>Header h3<_/h3> <_h2>Header h2<_/h2> <_/section> <_h1>Side tag for web advertisement<_/h1> <_aside>Side tag <_/aside>
Links to link one web site to another and do not navigate away from your website, page 1,2,3, Home, navigate to file or image on your comp.
Google's Homepage
Home Page 2 Page 3 Survey Form file on my computerTHE CODE <_a href="https://www.google.com" target="_blank"><_h1>Google's <_b>Homepage<_/b><_/h1><_a/> <_a href="index.html">Home<_a/> <_a href="page2.html">Page 2<_a/> <_a href="Page_3/page3.html">Page 3<_a/> <_a href="Survey_Form.png">Survey Form file on my computer<_a/> On Page 3 "Home" link (go back dir code) in Page3.html <_a href="/C:/Users/Asus Rog Zephyrus/Desktop/``/Learning/Coding 1 Responsive Web Design Certification/html_site/index.html">Home<_a/>
Using images in your website from a website and from my computer.



THE CODE <_section> <_h2>Using images in your website from a website and from my computer.<_/h2> <_img width="200" height="200" src="https://i.pinimg.com/originals/89/be/ac/89beac3d0065b983ff69abae78077a58.png" alt="A really nice Rubik Cube" /> <_img width="200" height="200" src="rubiks_cube_1.png" alt="A Rubik Cube" /> <_img width="200" height="200" src="123.png" alt="A really nice Rubik Cube" /> If you only set width="100", HTML will automatically resize the height correctly.
<_a href="https://www.pngfind.com/pngs/m/215-2156265_rubiks-cube-png-transparent-png.png" target="_blank"> <_img width="200" height="200" alt="A metling Rubik Cube image link" src="https://www.pngfind.com/pngs/m/215-2156265_rubiks-cube-png-transparent-png.png"> <_/a>
<_p>Combine image with a link, alt, size and _blank code.<_/p>
Videos and YouTube iFrames (stored locally).
Videos and YouTube iFrames example below BUT*.
*BUT (stored on utube which is illegal and blocked in RF so an empty field below)
THE CODE <_section> <_p>_<_h2>Videos and YouTube iFrames.<_/h2><_/p> <_br> <_video src="cat_short_clip_0.mp4" autoplay loop poster="cat_image_1.bmp" controls width="500" height="280"> <_/video> <_iframe width="500" height="280" src="https://www.youtube.com/embed/laYQFi5LrZA?start=18" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen> <_/iframe> <_/section>
<_!-- YOUTUBE EMBEDED OPTION UNDER SHARE BUTTON -->
Lists
unordered list examples
- Apples
- Oranges
- Bananas
ordered list examples
- Apples
- Oranges
- Bananas
ordered list examples A, b, III, iv.
- Apples
- Oranges
- item 1
- Bananas
description list examples.
- Apples
- - They are red
- Oranges
- - They are orange
THE CODE <_section> <_p>unordered list examples<_/p> <_ul> <_li><_a href="#">Apples<_/a><_/li> <_li>Oranges<_/li> <_li>Bananas<_/li> <_/ul> <_br> <_p>ordered list examples<_/p> <_ol> <_li><_a href="#">Apples<_/a><_/li> <_li>Oranges<_/li> <_li>Bananas<_/li> <_/ol> <_br> <_p>ordered list examples A, b, III, iv.<_/p> <_ol type="A"> <_li><_a href="#">Apples<_/a><_/li> <_li>Oranges<_/li> <_ol> <_li>item 1<_/li> <_/ol> <_li>Bananas<_/li> <_/ol> <_br> <_p>description list examples.<_/p> <_dl> <_dt>Apples<_/dt> <_dd>- They are red<_/dd> <_dt>Oranges<_/dt> <_dd>- They are orange<_/dd> <_/dl>
Tables
num1 | num2 | num3 | |||
---|---|---|---|---|---|
One | Two | Three | three and a half | ||
Three | Four | Five |
THE CODE
Divs(block container) & Spans(inline) (are containers in HTML used for ease of style in CSS)
Blocks takes entire width of a page, can not have two in inline. Inline only take as much space as they need.
link1 link2Paragraph1
Paragraph2
span1 span2
THE CODE
Input(tags text boxes, text areas, radio buttons) & Forms
JAVA SCRIPT language used to get the input from users from input and forms(NOT HTML/CSS).
Text Box ExamplePassword Box Example
Text Box with a value text ExampleText Area Example
Date Example
Email Example
Range Example
File Example
Checkbox Example
Radio button Example
Submit Button Example
A Form Example
Form command is a wrapper(see code)
THE CODE
iFrames
This is html element able to display another website in your webpage(imbed entire website into your webpage).
iframe or embed code
Meta Tags
This specifies character set in the file. Meta lives in the head tag. Define information about the file. Meta is data about data.
<_meta charset="UTF-8">
<_meta name="description" content="Your Description">
<_meta name ="author" author="Ivan">
<_meta name ="keywords" content="HTML, Tutorial">
<_meta name ="viewport" content="width=device-width, initial-scale=1.0">