CSC3530 Software Technology Tutorial One Assignment overview & HTML basics.

Slides:



Advertisements
Similar presentations
Tables Tables provide a means of organising the layout of data
Advertisements

WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
MMDE5011 – INTERACTIVE MEDIA PRACTICE 1 WEEK 1: INTRODUCTION TO HTML5
1 HTML Markup language – coded text is converted into formatted text by a web browser. Big chart on pg. 16—39. Tags usually come in pairs like – data Some.
Tutorial 6 Working with Web Forms
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
COMP101 – Exploring Multimedia and Internet Computing LA2 (Thu 14:00 – 16:50) TA: Jackie Lo.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Table, Forms, Metatags and Frames.
In the fallowing 4 weeks we will concentrate on the programming of the Dynamic Web. HTML is the publishing language for the World Wide Web. Combined with.
HTML. Creating a Table Attributes: border: indicates the border type of the table Value: 0 (no border), 1, 2, etc. cols: indicates the number of columns.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
CS105 Introduction to Computer Concepts HTML
1 Homework / Exam Exam 3 –Solutions Posted –Questions? HW8 due next class Final Exam –See posted schedule Websites on UNIX systems Course Evaluations.
Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
DAT602 Database Application Development Lecture 14 HTML.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
1 Essential HTML coding By Fadi Safieddine (Week 2)
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Understanding HTML Code
Basic HTML Workshop By: Preeda Chunjongkolkul (Pete) Systems Librarian/Webmaster
Python CGI programming
HTML Hyper Text Markup Language A simple introduction.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
1 © Copyright 2000 Ethel Schuster The Web… in 15 minutes Ethel Schuster
HTML (Hypertext Markup Language) – Class 3 Recap: HTML Special Characters (ex: ©). Including Images – using the tag. Lists – Ordered and Unordered.
ITCS373: Internet Technology Lecture 5: More HTML.
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
CPT 499 Internet Skills for Educators Session Ten Class Notes.
XHTML & Forms. PHP and the WWW PHP and HTML forms – Forms are the main way users can interact with your PHP scrip Typical usage of the form tag in HTML.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
1 Review of HTML Elements. 2 The tag These tags are marked as comments in HTML. Any text between these two comment tags will.
CITY UNIVERSITY / Vysoká Škola Manažmentu.:MG Information Systems :. © Martina Cesalova, 2005 MS FRONTPAGE 2 1.Create a new document 2.Save as L/bsba/IS330/yourfolder,
HTML Hyper Text Markup Language 1BFCET BATHINDA. Definitions Web server: a system on the internet containing one or more web site Web site: a collection.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
HTML Assoc. Prof. Rozinah Jamaludin 28 January 2010.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Web Programming Introduction to Web Technology HTML & Dynamic web content.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
HTML Hyper Text Markup Language. The Basics u HTML documents contain “tags” which instruct the Browser software on how to present the information within.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring Forms, HTML5 layout.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
1 HTML: HyperText Markup Language Representation and Management of Data on the Internet.
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
HTML Hyper Text Markup Language. Agenda Basics Tools Important tags Tables & databases Forms Publishing at Stern.
HTML for web designing short course. What is an HTML File? HTML stands for Hyper Text Markup Language An HTML file must have an htm or html file extension.
HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING. INTRODUCTION TO HTML With HTML you can create your own Web site. HTML stands for Hyper Text Markup Language.
Week-11 (Lecture-1) Introduction to HTML programming: A web based markup language for web. Ex.
Chapter 2 Markup Language By : Madam Hazwani binti Rahmat
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
Chapter 5 Introduction to XHTML: Part 2
COMPUTING FUNDAMENTALS
Basic HTML and Embed Codes
Web Design and Development
Presentation transcript:

CSC3530 Software Technology Tutorial One Assignment overview & HTML basics

Information newsgroup: cuhk.cse.csc3530 homepage: Prof. Chiu, Dickson (SHB Rm. 912) TA (SHB Rm. 913) (SHB Rm.

Overview of assignment Individual project/assignment Web-based ordering & inventory system listing of data from database accept order from HTML form Requires HTML Perl (especially CGI & DB connectivity) SQL (insert, delete, update,…) Java (servlet & JDBC) XML

Homepage authoring assume using a CSE account create a directory www under your home directory mkdir ~/www mkdir ~/www/cgi-bin change permission to world readable chmod 711 ~/www 1 – able to read 2 – able to write 4 – able to execute use ls –l to view the permission setting For CGI application under cgi-bin directory, should be executable

Uploading HTML Connect to cugw.cse.cuhk.edu.hk Username should be Disable the passive mode

HTML basics HyperText Markup Language consist of tags and attributes e.g. …… Structure of a HTML file Title of the html file Hello World! Do you think it is boring?

Basic Tags … level n headings line break horizontal rule … start of paragraph … preformatted text (use for display codes) … defines a hyperlink load a image SRC and HREF are attribute of tags (image) and (anchor) respectively Other tags consists of attribute too, e.g. align is an attribute of

Background music Add this tag in the HEAD part <EMBED SRC=“{URL of midi file}” AUTOSTART=FALSE LOOP=FALSE WIDTH=145 HEIGHT=55> Add this tag in the BODY part This tag will show a control in the webpage..wav file also works Try the difference, if you have a poor sound card! Embed will invoke a plug-in

Frame First Frame Page Do not place tag in the body part FRAMEBORDER is an attribute, setting 0 will make the border line between frames disappear NAME is essential e.g. in the left.html, you have a hyperlink google We can change web-page of frame on the right side

Inline frame HTML 4.0 standard supported by Internet Explorer only No need to put all things in one page Usually use as a notice board Not the same as TEXTAREA tag in FORM Demo

Ordered/unordered list list item 1 list item 2 list item 3 list item 3.1 list item 3.2 Useful for displaying structured data Print a tree structure in HTML page Organizing key points list item 1 list item 2 list item 3 list item 3.1 list item 3.2

Table This is a table H1 H2 H3 A1 A2 A3 B1 B2 B3 Useful for displaying data in database For loop to display each row Good for flexible design when using border=“0” width attribute defines the dimension of the table, can be in percentage

Table (More) rowspan and colspan attribute like you use merge cell in Frontpage colspan rowspan rowspan

Form Use in CGI application Make HTML interactive One line text field Multiple line text field Checkbox Radio button Drop down menu First Second Third

Form each fields use input tag, with the type attribute different from each other except TEXTAREA and SELECT name attribute is important, better make it resonable xxx is to indicate the selected option, it will make the form more user- friendly if probably used

Form and CGI Method, either GET or POST GET will append the query string in URL../cgi-bin/getvalue.cgi?t1=what&s1=matter… GET may introduce some security problem Better use POST Action, the URL of the CGI program (may be perl, c program, servlet, ASP) Try action=“mailto:{your address} you will get a from the form Try analyse the string

Useful links HTML goodies Daves HTML Guide HTML Primer Any web page use view  source Use Frontpage/ dreamweaver view the source generated

Next week PERL variables, array flow of control functions input, output