1 - Intro Webpro HTML-MTD
1 - Intro Webpro HTML-MTD
Course Profile
Outline OUTOUTLINELINE
Learning scheme
Course rules
Scoring
Syllabus
References
Mid-term & Final Project Description
Learning scheme
Tutorial / Project-based / Self-exploration Learning
evaluation :
• Weekly Task / Quiz
• Mid-term Project
• Final Project
Course rules
Just listen what the lecturer tells you
Camera, Media
Mid-term Project Description
Web Application
– Backend: Laravel
– Frontend: Bootstrap / Vue / React etc
Scoring factor
– Design & Interface
– Session (Authentication & Login)
– Create-Read-Update-Delete Data via Database
– Web service ready
Final Project Description
Mobile Application (Flutter)
Scoring factor
– Design & Interface
– Features
– Create-Read-Update-Delete Data via Networking (web
service that you made in mid-term project)
Any question?
CII3H4
Aplikasi Berbasis Platform
Intro Web
Programming
Outline
Web Application Architecture
Web Technologies
Tools
Web Application Architecture
Web Technologies
Client Side Scripting
– HTML
– CSS
– Javascript
Browser
– Can debug your coding result (client side scripting only) with
developer mode
– Any browser is fine, except IE version < 9
Always remember..
Any question?
CII3H4
Aplikasi Berbasis Platform
HTML
HTML
Describe content and defines the structure within
webpage
Hypertext documents on the web are designed to
be linked to other documents
Markup language, using specific text sequence
(tag) to interpret specific visualization
HTML file is a text file, not binary file, so you can
open and edit it with any text editor
Doesn’t need to be compiled
Basic HTML Syntax
<!DOCTYPE html>
<html>
<head>
<title>Page title</title>
</head>
<body>
Hello World
</body>
</html>
HTML tag: mark the starting and ending point for HTML document
HEAD tag: header part of HTML document, usually contains page title and external
linked file (CSS file for styling, JS file for functions)
TITLE tag: page title for this HTML document, will show up at topleft corner of
browser
BODY tag: content part of HTML document. all tags for visualization is put inside here
Basic HTML element (tag) structure
Mostly HTML tags have opening and closing tag, but
some tags aren’t
– <img />
– <br />
<h4>Title 4</h4>
4</h4>
Title 1
<h5>Title
<h5>Title 5</h5>
5</h5> Title 2
<h6>Title
<h6>Title 6</h6>
6</h6>
Title 3
Title 4
Title 5
Title 6
Paragraph
<p>
<p>
This
This is
is my
my first
first page
page
</p>
</p>
<p>This
<p>This page
page is
is under
under
development</p><p>I
development</p><p>I will
will try
try
hard to improve this page</p>
hard to improve this page</p>
This is my first page
Hello,
my name is .....
Welcome to my homepage
This page
is under development
List
Ordered list / Numbering (A/a=alphabet, I/i=roman,
1=number)
<ol type="A|a|I|i|1">
<li> first </li>
<li> second </li>
<li> .... </li>
</ol>
Unordered list / Bullets
<ul type="circle|square|disc">
<li> .... </li>
</ul>
List
Expert
Expert group:
group: Expert group:
<ul>
<ul> SE
<li>SE</li>
<li>SE</li>
<li>IS</li> IS
<li>IS</li> CPS
<li>CPS</li>
<li>CPS</li>
</ul>
</ul>
Study Programs:
Study
Study Programs:
Programs:
<ol>
<ol> 1. Master of Informatics
<li>Master
<li>Master of
of Informatics</li>
Informatics</li> Graduate program of Informatics Engineering
Graduate
Graduate program of
program of Informatics
Engineering
Informatics 2. Bachelor
Engineering
<li>Bachelor</li> o Software Engineering
<li>Bachelor</li> o Information Technology
<ul>
<ul>
<li>Software
<li>Software Engineering</li>
Engineering</li>
<li>Information
<li>Information Technology</li>
Technology</li>
</ul>
</ul>
</ol>
</ol>
Horizontal line
Show
Show the
the line!<hr
line!<hr />
/>
Blahblah
Blahblah
Blahblah
Attach Image
<img
<img src="cover.jpg"
src="cover.jpg" align="left"
align="left" />
/> Add
Add attribute
attribute
‘align’
‘align’ to position the image. Add attribute ‘alt’
to position the image. Add attribute ‘alt’
for showing text if image is unloaded.
for showing text if image is unloaded. <img<img
src="logo.gif"
src="logo.gif" alt="Logo"
alt="Logo" width="100"
width="100" height="100"
height="100" />
/>
Add attribute ‘width’ and ‘height’ for stretching
Add attribute ‘width’ and ‘height’ for stretching
image
image to
to desired
desired size.
size.
Add attribute align to position the image. Add attribute alt for
A Form tag can contain many tags for input with various data characteristics
Every form tag must specify the ‘method’ and ‘action’ attribute, to handle
the data input sent (when you submit it). In every tag for input, ‘name’
attribute must be written to map that data when processed. We will discuss
this later in Server Side Scripting
Example: Form
<form>
First name:<br />
<input type="text" name="firstname" /><br />
Last name:<br />
<input type="text" name="lastname" value="Mickey"><br /><br />
<input type="submit" value="Submit" />
</form>
Tags inside Form
single-line text field: <input type="text" />
multi-line text field: <textarea></textarea>
masked text field: <input type="password" />
single selection:
– datalist (text field with autocomplete)
– radio button: <input type="radio" name="any" /> Yes
<input type="radio" name="any" />
No
– dropdown (combo box):
<select name="grade">
<option value="A">Very good</option>
<option value="AB">Good</option>
</select>
Tags inside Form
multiple selection:
<select multiple name="grade">
<option value="A">Very good</option>
<option value="AB">Good</option>
</select>
• color • range
• date • search
• datetime • tel
• datetime-local • time
• email • url
• month • week
• number
Example: Radio Button
<datalist id="colors">
<option value="Blue">
<option value="Green">
<option value="Pink">
<option value="Purple">
</datalist>
Example: Number
Quantity (between 1 and 5):
I would like to receive <input
type="number" name="quantity" min="1"
max="5" /> copies of The HTML5 Herald
Any question?
References
Lynda.com : Web Development Foundations: Full-
Stack vs Front-End
Stanford :
http://web.stanford.edu/class/cs142/lectures.html
https://www.w3schools.com/html/default.asp
THANK YOU