Web Development - Part I
Web Development - Part I
Part I
Lecture 09
ESS1004 – Basic IT Skills
Web development refers to the creating, building and
maintaining of websites.
It includes aspects such as web design, web publishing, web
programming and database management.
2
HTML
3
HTML Document
4
HTML Page Structure
5
Element Description
<html> Represents the root of an HTML document
<head> Contains machine readable information about the
document. Ex: title, scripts, style sheets
<link> Specifies relationships between the current document and
an external resource.
This element is most commonly used to link to CSS.
<title> Document’s title that is shown in a browser’s title
bar/page’s tab.
<body> Represents the content of an HTML document
6
Follow the steps to create and view in
browser
1. Open the text editor ex: Notepad, Notepad++
2. Enter the lines of code
3. Save the file with .html extension (choose save type as All
files)
4. Go to the folder and click on the html document
7
HTML Tags
<title>My Page</title>
8
<h1>Heading</h1>
9
<p>Paragraph</p>
10
<pre>Preformatted</pre>
11
Other Text Formatting Tags
12
<a>Anchor</a>
13
<img>Image</img>
<img src= “Image location” alt=“Alternative text if the image doesn’t load”>
14
<figure>Figure</figure>
<figcaption> - define a caption for the photo
15
<iframe>Iframe</iframe>
16
<hr>Horizontal</hr>
17
<marquee>Highlight</marquee>
18
HTML Comments
19
Background & Text Color
20
Thank You !
21