Docsity

Very simple coding design, Schemes and Mind Maps of Computer science

Toggle sidebar
bg1
ICT Practical Exam Revision sheet:
Step 1: Create one folder
Step 2: Open Visual Studio Code
Step 3: Open your folder in VS Code(Click file ->Open Folder(locate your file)
Step 4:Create a new file with extension .html
Step 5:Write the following code in html file
<!DOCTYPE html>
<html lang="en">
<head>
<title>Layout1.2 | Welcome</title>
<link rel="stylesheet" href="layout1.css"><!-- LINK TO EXTERNAL STYLE
SHEET -->
</head>
<body>
<div>
<header>
<h1 class="header__title">Header</h1>
<h2 class="welcome-text">Welcome to my website!</h2>
</header>
<main>
<section class="sidebar">
<nav>
<ul>
<li ><ahref="#">Page1</a></li>
<li ><ahref="#">Page 2</a></li>
<li ><ahref="#">Page 3</a></li>
</ul>
</nav>
</section>
<section class="main-section"> </section>
</main>
pf3
pf4

Partial preview of the text

Download Very simple coding design and more Schemes and Mind Maps Computer science in PDF only on Docsity!

ICT Practical Exam Revision sheet: Step 1: Create one folder Step 2: Open Visual Studio Code Step 3: Open your folder in VS Code(Click file ->Open Folder(locate your file) Step 4:Create a new file with extension .html Step 5:Write the following code in html file

Layout1.2 | Welcome

Header Welcome to my website!

Page1 Page 2 Page 3

All rights reserved ©DASIS-2023

Step 6: Create another file in your folder with extension .css Step 7:Write the following code in css file /Universal Selector starts with star() */ { margin: 0; padding: 0; box-sizing: border-box; } header{ height: 25vh; background-color: skyblue; padding: 2rem; } main{ height: 65vh; background-color: #6dafc9; } footer{ height: 10vh; background-color: #5e8b9e; padding: 2rem; } / Class selectors Should start with dot(.) */ .sidebar{ position: absolute;

Best of luck dears😍