YEAR 12 DIGITAL TECHNOLOGY
  • Home
  • Website
    • Term 1 Overview
    • Learn Basic HTML
    • Learn Basic CSS
    • HTML/CSS Advanced
    • Photoshop Level 2
    • Recap and Review
    • Conventions of Web Design
    • AS91893 - Digital Media Outcome >
      • AS91893 - Resources
  • Programming
    • Term 2 Overview
    • JavaScript Recap
    • JavaScript and HTML
    • Functions, Parameters and Returns
    • Learn Arrays
    • AS91896 - Brief
  • Databases
    • Term 3 Overview
    • Learn Access >
      • Intro to Access
      • Relationships and lookups
      • Relationships Extended
      • Queries and Reports
      • Mail Merge
      • Car Sales
      • Documentation x5
      • Importing Data
  • External
    • Computer Science External
    • A.I. 2024 >
      • 2024 Exam Update
      • Adoption of AI
      • Mechanisms & Techniques
      • Impact of AI
      • Key Issues
      • A.I. Practice Exams
    • Optional - Present a summary
    • External Rules
  • Innovation
    • Innovation Pathway
    • AS91891 - Concept Design
    • AS91897 - Advanced Outcome
    • AS91893 - Digital Media Outcome
    • AS91894 - Electronics
    • AS91896 - Programming
    • AS91368 - Brief
  • Freyberg Digital

Build your first Webpage

HTML - Hyper Text Markup Language
Getting Started
1.) Open your documents
2.) Create a new folder called "website"
3.) Right click on the folder and click "open as brackets project"
4.) You should have a screen like this:
Picture
Picture

Create a welcome page

1.) Click "File" --> "New"
2.) Click "File" --> "Save as"  or "Ctrl" + "s"
3.) Save a "index.html"

For most webpages index is the first page, any file name with the extension ".html" will automatically be opened as a web page.

4.) Type this at the top:
<!doctype html>
(This lets the document know it is a web page)
5.) Type this
<h1>Your Message Here</h1>
underneath the doc type tag
Picture
Picture

Launch the website

Picture
Click the lightning button on the top right,
Your page should load up
Picture

Inquiry Time - Tags

We use tags like this: <b> </b> to make things bold or a heading or insert images.

tags control web pages.

Try to learn what the tags on the right do.
Please read through w3 schools for more information:
https://www.w3schools.com/html/

Try and create this page exactly:
Picture
Picture

Creating Multiple Pages

Please refer to https://www.w3schools.com/html/html_links.asp for more info

index.html


We use index.html, because web servers know that this is the first page to look for. Index.html should always be the homepage for your website.

Creating new pages

Create a second page about Wario, it should look like the one on the right.

Save it into the same folder using the page name wario.html

You should have a folder that looks like this:
Picture
Picture

HTML Formatting Guide

Read these formatting rules:
https://google.github.io/styleguide/htmlcssguide.html#HTML_Formatting_Rules

Go back and reformat your Wario and Waluigi pages

Linking the pages together

1.) Create a to links at the top that should look like the ones on the picture on the right.

2.) Link the pages using href... It should automagically pop up with the two pages you have created.

3.)Copy the code to both pages. You should now be able to navigate between the pages.
Picture
Picture

Using picture files in separate locations

Sometimes for some reasons you will have files in different locations, that you will need to access.

Download three waluigi pictures and store them in the following locations:
(Take note of the folder location).
Picture
Picture
Picture
In order to access the picture you will need to use some relative pathways
Image 1  src="../Waluigi%20Image%20One.jpg"
Image 2 src="waluigiImage2.png"
Image 3 src="waluigi3.png"

Task: Set the folders up with the pictures and get them working!

Picture

Problem Solving

I have given you 4 different websites to fix as tags are in the wrong place

You should see the before and afterwards. Enjoy:
bugged_websites.zip
File Size: 2105 kb
File Type: zip
Download File

Broken Website

Picture
Picture
Picture
Picture

Fixed Website

Picture
Picture
Picture
Picture

Tables

Tables allow us to organize information in a readable format

<table> - Declares a table
<tr> - Declares a row
<th> - Declares a heading
<td> - Declares any inputted information
<td colspan="2"> would make a row span over 2 columns
<td rowspan="2"> would make a column span over 2 rows

Picture
Task : Use html to make the table on the right

Hint: You will need to start with <table border="5>


Also there are 2 column spans and 2 row spans
Picture
Powered by Create your own unique website with customizable templates.
  • Home
  • Website
    • Term 1 Overview
    • Learn Basic HTML
    • Learn Basic CSS
    • HTML/CSS Advanced
    • Photoshop Level 2
    • Recap and Review
    • Conventions of Web Design
    • AS91893 - Digital Media Outcome >
      • AS91893 - Resources
  • Programming
    • Term 2 Overview
    • JavaScript Recap
    • JavaScript and HTML
    • Functions, Parameters and Returns
    • Learn Arrays
    • AS91896 - Brief
  • Databases
    • Term 3 Overview
    • Learn Access >
      • Intro to Access
      • Relationships and lookups
      • Relationships Extended
      • Queries and Reports
      • Mail Merge
      • Car Sales
      • Documentation x5
      • Importing Data
  • External
    • Computer Science External
    • A.I. 2024 >
      • 2024 Exam Update
      • Adoption of AI
      • Mechanisms & Techniques
      • Impact of AI
      • Key Issues
      • A.I. Practice Exams
    • Optional - Present a summary
    • External Rules
  • Innovation
    • Innovation Pathway
    • AS91891 - Concept Design
    • AS91897 - Advanced Outcome
    • AS91893 - Digital Media Outcome
    • AS91894 - Electronics
    • AS91896 - Programming
    • AS91368 - Brief
  • Freyberg Digital