Web technogies HTML
Html - structural layer(how text / images structured on screen)
CSS - presentation layer- how text & images are presented on screen
Javascript - allows users interact with content
<html> defines what language the page is... </html>
open a tag..... ...close tag
<head> any background info (meta data) goes here </head>
<title> title of the webpage (shown in window title bar)goes insode the head<title>
<link> rel="styleseet"type="text/css" href="myStylefile.css">
links import e.g external CSS stylesheets to be used in the whole page
<body> all page content (anything visible) goes here </body>
<h1> Headings for a page come in different sizes 1 to 6 <h1>
<h2> a subheading might be a bit smaller <h2>
<img src="https://www.w3.org/html... etc alt="HTML IMage" height=150 width=130>
for images, the source (src) is either weblink or within the root folder
can specify alternative text (alt) / dimensions
<a href-"http://www.bbc.co.uk?">
to add hyperlink use <a> (anchor) tag. It will become clickable
<p> this is a parragraph tag it adds a space after </p>
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
unordered list (bullet points) contains items <li>
Ordered list (numbered) use <ol> tags still with <li>
To divide page up using colours for example, use <div> tags
<div style="background-color: aqua"> </div>
<form>
<h1>Enter your name below</h1>
<input id="input" type ="text" name="alue">
<br>
<button type="button" onclick="runFunction()"> submit</button>
</form>
Can add objects eg input boxes, buttons inside ,form. tags.
thesea re visual aobjects... to make interactive need to call
Javascript function
Html - structural layer(how text / images structured on screen)
CSS - presentation layer- how text & images are presented on screen
Javascript - allows users interact with content
<html> defines what language the page is... </html>
open a tag..... ...close tag
<head> any background info (meta data) goes here </head>
<title> title of the webpage (shown in window title bar)goes insode the head<title>
<link> rel="styleseet"type="text/css" href="myStylefile.css">
links import e.g external CSS stylesheets to be used in the whole page
<body> all page content (anything visible) goes here </body>
<h1> Headings for a page come in different sizes 1 to 6 <h1>
<h2> a subheading might be a bit smaller <h2>
<img src="https://www.w3.org/html... etc alt="HTML IMage" height=150 width=130>
for images, the source (src) is either weblink or within the root folder
can specify alternative text (alt) / dimensions
<a href-"http://www.bbc.co.uk?">
to add hyperlink use <a> (anchor) tag. It will become clickable
<p> this is a parragraph tag it adds a space after </p>
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
unordered list (bullet points) contains items <li>
Ordered list (numbered) use <ol> tags still with <li>
To divide page up using colours for example, use <div> tags
<div style="background-color: aqua"> </div>
<form>
<h1>Enter your name below</h1>
<input id="input" type ="text" name="alue">
<br>
<button type="button" onclick="runFunction()"> submit</button>
</form>
Can add objects eg input boxes, buttons inside ,form. tags.
thesea re visual aobjects... to make interactive need to call
Javascript function