Merged 8 Ict Cambridge 2ed
Merged 8 Ict Cambridge 2ed
Page 35
OBJECTIVES
Anyone can see, modify, and distribute the code as they see fit.
Impress: Presentations.
Math: for mathematical formulas.
print a document.
The Extension of the file created in writer is .odt
7
5
6
MAIN COMPONENTS
Title Bar: it is the bar on the top of the application that holds the
name of the file.
Menu Bar: This is made of several drop-down menu tabs: File, Edit,
View, Insert, Format, etc..
Standard Toolbar: This includes tools for frequent tasks such as
open, save, copy, cut, paste.
Ruler: to show dimensions and margins of the page.
Slide Bar: This conaitns frequently used tools grouped in a deck.
Status Bar: Displays information about the current page, zoom
percentage, etc..
THE MENUS IN WRITER
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
HTML Example?
EXAMPLE HTML
<!DOCTYPE html> What you need as a base of HTML
<html> file.
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Hello, World!</h1>
<p>This is a simple HTML document.</p>
</body>
PURPOSE
</html> To let the browser understand that
the incoming file is a HTML file.
Frames Examples:
Frame Set: parent tag of Frame s, Frame defines what goes into each
or a set of frames combined section of the frame.
together, also styles the structure
of the frame s.
FRAMESET Attributes
Rows Rows=“100px” || Rows=“50%” Defines how many Rows we can have and their sizes
FrameBorder FrameBorder =“yes” || FrameBorder =“no” Specifies if the border should be visible or not
FRAME Attributes
FrameBorder FrameBorder=“yes” || FrameBorder =“no” Specifies if the border should be visible or not
"The best way to predict
the future is to create it."
Conclusion
01 HTML Frames
What is a frame in html ?
02 FrameSet
What is a frameset tag? Name two attributes.
03 Frame
What is a frame tag? Name two attributes.
Arigato
;)
JavaScript
Chapter 5
Page: 84
HTML Documents
Code
How to code in JS 02
Javascript
very simple syntax to add interactivity to web pages.
Writing in
JavaScript
Program
There are different ways to start writing down
JavaScript to your webpage, most basic way to do so
is to embedd it directly to your HTML page, how?
<script language=“JavaScript”>
</script>
<!DOCTYPE html>
<html>
<head>
<script>
document.write(“<h1>welcome to JavaScript</h1>”)
</script>
</head>
<body>
</body>
</html>
Variables
What are Variables? Variables are names that you
can store data in temporarly, example:
var numb = 12
—SOMEONE ON INSTAGRAM
Operators
We have many different kinds of operators to do
additions and comparisons between two data. Such
as:
Operators
Methodes in JS
We have functions or methods that help us with
handling the html document the way we want, such
as:
Methodes
input in the web page.
JavaScript
<!DOCTYPE html>
<html>
<head>
<title>JavaScript Basics</title>
</head>
<body>
<script>
var message = window.alert("Hello! This is an alert.");
var confirmMessage = window.confirm("Do you like this page?");
var userName = window.prompt("What is your name?");
document.write("Hello, " + userName + "!");
</script>
</body>
</html>
Comments in JS
You can leave comments in the programming
language like the other ones, for you or teammates to
read on later without it effecting the code:
/*
multiple
lines of
Comments
comments
*/
Where do you
write down JS How many ways
in HTML to write
Document comments in JS
OUR PARTNERS
VENUS
Moahmmed.raad@suli-bis.com
Hyper Text Markup
Language (HTML)
HTML What is HTML how is it being used? How can we learn it.
HTML tags and element What are the HTML tags/element? How to write them
Course Objectives
HTML Tags
03 Learn the objectives of tags
01
HTML
HTML: Hyper Text Markup Language, that can be
viewed using a web browser.
HTML
• First line of HTML should be <!doctype html> .
• Consists of markups tags.
• Not Case sensitive, <HTML> <hTMl> <html> are all the same.
• Creates simple text files using Text editors, (Sublime,
notepad++).
02
Structural Tags
- What are structural elements.
Structural elements
• <th> a tag used within table tag and table row to create
a table header.
• <td> a tag used within table tag and table row to create
table data.
HTML Tags
• <audio>: a tag to play an audio file in a web page.
<audio || video>
<source src=“audifile.ogg” type=“”audio/ogg>
</audio || video>
HTML Attributes
Used to customize or help the tag work as they are
intended:
• Bgcolor: to change the background color.
HTML Tags
Name three tags and their
functionalities.
Alternative resources
Here’s an assortment of alternative
resources whose style fits the one of this
creative template:
● W3School official website.
● Ask chatGpt questions.
Thanks!
Does anyone have any questions?
mohammed.raad@suli-bis.com
Website
Slidesgo
Methodes & functions What are the available functions and how to use them.
Functions/Methods Conditions
Name the functions and What to use to make a
what they do. condition in python.