Web Design HTML Basic Robertus Setiawan Aji Nugroho References: w3schools.com.

Slides:



Advertisements
Similar presentations
Use Tables for Layout Control Day 7. You will learn to: Understand Tables Create a Simple Table Modify Your Tables Appearance Create Page Layouts with.
Advertisements

Chapter 3 – Web Design Tables & Page Layout
Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything Text Lists Other tables Pictures …
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Cascading Style Sheets
Layout using CSS. Using multiple classes In the head:.important{font-style:italic;}.title{color:red;} In the body: Here's a type of paragraph that is.
Creating Tables Text Tables -created by using preformatted tags. Graphical Tables - created using Table Structure with HTML.
XHTML1 Tables and Lists. XHTML2 Objectives In this chapter, you will: Create basic tables Structure tables Format tables Create lists.
Basic HTML. HTML Background November 1990, first created by Tim Berners Lee, the father/inventor of WWW Knighted by Queen Victoria in 2004 Hypertext is.
Introducing Web Tables
HTML TABLES Cyndi Hageman. Tables   Attributes Name or id – used to identify the table Border = set this to determine if there is a border and the size.
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
XP Creating Web Pages with HTML Using Tables. XP Objectives Create a text table Create a table using the,, and tags Create table headers and captions.
Using HTML Tables.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
Tables And Lists. Slide 2 Lecture Overview Learn about the basics of tables Create simple 2-dimensional tables Format tables Create tables with complex.
HTML Code. What we will cover Basic HTML Body Font Images Hyperlinks Tables Frames.
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
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.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
Chapter 5 Working with Tables. Agenda Add a Table Assign a Table Border Adjust Cell Padding and Spacing Adjust Cell Width and Height Add Column Labels.
XHTML1 Tables N100 Creating a Simple Web Page. XHTML2 Creating Basic Tables Tables are collections of rows and columns that you use to organize and display.
1 The Structure of a Web Table beginning of the table structure first row of three in the table end of the table structure table cells You do not need.
Bayu Priyambadha, S.Kom. for long documents, you can even have links to other locations in that same document  … where ident is a variable for identifying.
CHAPTER 11 Tables. How Are Tables Used Data Display  Very tidy and very useful Better Text Alignment  Putting text in tables allows you to format indents.
Organizing Content by Using Dreamweaver CS5 Domain 5.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit F Working with Tables.
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
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.
Actual Building the Pages Tables. Using Table Elements  To build effective page templates, you must be familiar with the HTML table elements and attributes.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
>> Introduction to HTML: Tables. HTML is used to give websites structure 5 Basic Tags Element = Start-Tag+Content+End-Tag Heading Tags [h1-h6] Paragraph.
Just Enough HTML How to Create Basic HTML Documents.
Creating Tables in a Web Site
Designing a Web Page with Tables. A text table: contains only text, evenly spaced on the Web page in rows and columns uses only standard word processing.
IS1824: Introduction to Internet Multimedia Lecture 5: Layout in HTML Rob Gleasure
Using HTML tables.... Objectives... How to create tables Basic,, tags Some arguments with table Height, width, border Special “tricks” Cell text alignment.
Introducing Web Tables. Tables for tabulating items  Better looking  More flexibility  More efficient to explain information than plain text.
HTML Lesson 3 Hyper Text Markup Language. Assignment Part 2  Set the file name as “FirstName2.htm”  Set the title as “FirstName LastName First Web Site”
TABLES 1. In this chapter you will learn that tables have many uses in HTML. Objectives: Upon completing this section, you should be able to: 1. Insert.
HTML— More Tags, Formatting, and Lists. Formatting Tags  Bold  Italics  Underline  Big text  Small text  Subscript (H 2 O)  Superscript (10 3 )
ECA 228 Internet/Intranet Design I Tables. ECA 228 Internet/Intranet Design I Basic HTML Tables Created as a way to present rows and clumns of data.
Lesson 7. Tables Table Tags and Attributes Tables HTML tables are used in two main ways: 1.To organize tabular data in a familiar spreadsheet-like way.
Computer Science 101 Lists and Tables. Lists Unordered lists - use a bullet Ordered lists - use a number, Roman numeral, or letter.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 5: Working with Tables Kelly L.
CS-3432 Electronic Commerce Lecture – 7 Sikandar Shujah Toor
CIS234A Lecture 8 Instructor Greg D’Andrea. Review Text Table contains only text, evenly spaced on the Web page in rows and columns uses only standard.
Unit 4 Create and Use Tables. TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/08/2009 Period : Summary: Reasons for using tables Unit 4 Page 1 Display.
Layout with Styles Castro Chapter 11. Tables vs. CSS You can produce “liquid layouts” (layouts that stretch as the browser is resized) using tables or.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML Assoc. Prof. Rozinah Jamaludin 28 January 2010.
Using Tables for Layout INP150 Session #8. Layout Map out your page Design with paper and pencil Determine number of rows and columns you need Determine.
Positioning Objects with CSS and Tables
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
Doing TABLES Creating Tables in HTML. Start creating the table by using the Table container tag.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
HTML Tags BTT1O. HTML  Documents written in hypertext markup language can be interpreted by all web browsers.  This language lets the web page developer.
1 R3 R1 R5 R4 R6 R2 B B A A Looking at the Code Under the View menu Select Source.
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
HTML LAYOUTS. CONTENTS Layouts Example Layout Using Element Example Using Table Example Output Summary Exercise.
INTRODUCTION ABOUT DIV Most websites have put their content in multiple columns. Multiple columns are created by using or elements. The div element is.
Yourfriendmanoj.wordpress.com Fb/yourfriendmanoj
>> HTML: Tables.
Introduction to HTML.
H T M L A B E S X P I N D.
Web Programming Language
TABLES.
Site Development Foundations Lesson 6
HTML Basics Mr. Fazzalari.
Presentation transcript:

Web Design HTML Basic Robertus Setiawan Aji Nugroho References: w3schools.com

HTML Basic

Be familiar with HTML Code My First Page Hello World

HTML Basic HTML = HyperText Markup Language – All elements are started with “open tag”: – And ended with “closing tag”: – It must be nested:

HTML Basic Minimal HTML code: (save it with extension.html) Title of your page here Your content here (all of visualization)

HTML Basic Okay, lets do some experiments. Put this code inside your... and try to understand what are the meaning of the tags and how they work This is heading of the page</h1 Hello World with Bold Hello World with Italic

HTML Basic To show an image: For example Or, If the image is placed in the same folder of the file: Use relative path, not static. Started from the folder of current html file

HTML Basic More info about tags, open Most important rules of HTML: every tag must be nested (open and close tags) Except for empty tags (, )

HTML Table Table is important to create “room” for your content ==> layout of your page HTML table is simple, the structure is: First column in the first row Second column in the first row First column in the second row Second column in the second row

HTML Attribute Before we continue learning table, let first see HTML Attribute HTML attribute is used to customize the visualization of related tag. For example: border=”1” will show the border of the table. Bigger number = ticker border width=”70%” will stretch the table to be 70% of parent's width. More attribute related to table:

HTML Attribute Other common attribute (table): – align=”center|left|right” will align the content of related table/row/column horizontally – valign=”top|middle|bottom” will align the content of related table/row/column vertically – bgcolor=”#E0E0E0” will put the background color of related table/row/column.

HTML Table Sometimes you need to merge two or three columns in some rows. Use colspan attribute for this case First column in the first row First column in the second row Second column in the second row

HTML Basic Create the template of your page – Header – Menu – Content – Footer – Pooling – Pop up advertisement – Etc.

Layout a page How your layout looks like? Header MenuContent Footer

Layout a page For a static layout, use HTML table! – HTML Table will make sure your layout looks the same to all browser – Minimize styling on a table Use the given attribute only border=”0” Cellspacing, cellpadding, bgcolor, width, height, etc

Layout a page My Layout Header Menu Content Footer

Layout a page If static layout is enough... then you should stop with HTML Table – More compatible along different browsers As long as it is minimal If you need a dynamic or customized layout, use div – HTML Table will not able (difficult) to do that

Exercise Choose any simple web page example, Create the structure/ skeleton using html table Be creative to improve it If you need syntax, w3school.com will provide it

Layout a page Suppose you want to have a notification box at your page Header MenuContent Footer box

Layout a page You can't use the HTML table to make the box – It is dynamic – It is customized Use div – It has many types of positioning – Easy to be customized – Use styling for best appearance (CSS) – Beware of different appearance on different browser (test it!!!)

Layout a page My Layout Header Menu Content Footer Box content here

DIV Positioning position:static – Default position for all div – If you don't specify any other position – Will just follow the rules of HTML positioning

DIV Positioning position:relative – Position is relative to the parent – Specify top, left, bottom, and/or right position – The position is measured from the parent (not the browser) If it is under other element Parent DIV Child Div Child Div Parent DIV

DIV Positioning position:absolute – Position is absolute to the document/ browser – Specify top, left, bottom, and/or right position – The position is measured from the browser browser Abs Div Abs Div

DIV Positioning position:absolute – Position is absolute to the document/ browser – Specify top, left, bottom, and/or right position – The position is measured from the browser browser Abs Div Abs Div

DIV Positioning float:right|left – Position is floated to left or right of the parent – The position is measured from the parent (not the browser) If it is under other element Parent DIV Child Div Child Div Parent DIV