Advanced HTML Tags:.

Slides:



Advertisements
Similar presentations
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?
Advertisements

Images, Tables, lists, blocks, layout, forms, iframes
Video, audio, embed, iframe, HTML Form
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
Creating Web Page Forms. Objectives Describe how Web forms can interact with a server-based program Insert a form into a Web page Create and format a.
Tutorial 6 Working with Web Forms
Forms Review. 2 Using Forms tag  Contains the form elements on a web page  Container tag tag  Configures a variety of form elements including text.
Computing Concepts Advanced HTML: Tables and Forms.
Images. Tables. Frames. Forms. DMFD F2007 IT University of Copenhagen
Python and Web Programming
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.
HTML Tables and Forms Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
Chapter 10 Form Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
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.
Tutorial #9 – Creating Forms. Tutorial #8 Review – Tables Borders (table, gridlines), Border-collapse: collapse; empty-cells: show; and rowspan, colspan.
1 Creating Web Forms in HTML Web forms collect information from customers Web forms include different control elements including: –Input boxes –Selection.
HTML II. Factors to consider in designing a website. Organizing your files. HTML Tables. Unordered Lists. Ordered Lists. HTML Forms. Learning Objectives.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
HTML Forms.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
LOGO FORMs in HTML CHAPTER 5 Eastern Mediterranean University School of Computing and Technology Department of Information Technology ITEC229 Client-Side.
Week 9 - Form Basics Key Concepts 1. 1.Describe common uses of forms on web pages 2.Create forms on web pages using the form, input, textarea, and select.
ITCS373: Internet Technology Lecture 5: More 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.
Graduate School of Library and Information Science LIS 753 Introduction to HTML 5 By: Yijun Gao Week Three.
Using an HTML image (img) element’s onclick event to change the source (src) of an iframe to an embedded youtube video.
HTML Forms. Slide 2 Forms (Introduction) The purpose of input forms Organizing forms with a and Using different element types to get user input A brief.
Forms Collecting Data CSS Class 5. Forms Create a form Add text box Add labels Add check boxes and radio buttons Build a drop-down list Group drop-down.
+ FORMS HTML forms are used to pass data to a server. begins and ends a form Forms are made up of input elements Every input element has a name and value.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Website Forms / Data Acquisition.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring Forms, HTML5 layout.
HTML (Advanced) -forms, iframe, audio, video. Outline – Forms – iFrames – Audio/Video.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 6: Creating XHTML Forms Kelly.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring Forms, HTML5 layout.
More HTML Images and Links. Links An anchor tag (a) is used to define a link, but you also need to add something to the anchor tag – the destination of.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML III (Forms) Robin Burke ECT 270. Outline Where we are in this class Web applications HTML Forms Break Forms lab.
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
2440: 141 Web Site Administration Web Forms Instructor: Joseph Nattey.
HTML Structure & syntax
Tutorial 6 Working with Web Forms
Creating and Processing Web Forms
Weebly Elements, Continued
Weebly Elements, Continued
How to Write Web Forms By Mimi Opkins.
Objectives Design a form Create a form Create text fields
CS3220 Web and Internet Programming HTML Tables and Forms
Collecting Information from the User
Learn HTML Basics Lesson No : 10
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
Introducing Forms.
HTML Forms and User Input
Unit I: Collecting Data with Forms
Essentials of Web Pages
Client-Side Internet and Web Programming
Web Development & Design Foundations with H T M L 5
Web Development & Design Foundations with H T M L 5
CS3220 Web and Internet Programming HTML Tables and Forms
Creating Forms on a Web Page
Computer communications
Web Client Side Technologies Raneem Qaddoura
HTML5 Audio & Video By Derek Peacock
4.00 Apply procedures to add content by using Dreamweaver. (22%)
Presentation transcript:

Advanced HTML Tags:

Outline: Today we will learning about other tags and features we can include in out webpages. Some of the new features we will learn about today are: Tables Forms iFrames Audio/Video

Tables: Tables are useful for displaying tabular data on the web, like research study results. Tables in the past were used as a way to layout a webpage, but now this is strongly discouraged. Now layouts are left up to CSS, but we will talk about that later

Tables and Table Headers: The TABLE element contains all the elements that make up a table – the header, rows, and columns. The example below shows the code and output of a table of monthly saving. Most tables start with a header row with the names of the columns. the tr element creates a row, the th elements create header cells in the row. The td elements create normal cells in a row. In the example to the right the two header columns are Month and Savings You don’t actually need the <thead> and <tbody> tags

Tables and Table Body: Tables can consist of any number of data rows after the header. The tr element creates a row, and td elements create data cells in each row One Way to provide additional info about the purpose and use of a table is via the caption element, which goes right under the table element. <table> <caption> Monthly Savings (in USD) for 2010 </caption> …. </table>

Forms: The web started as a way for people to post static(non-changing) information, but now is largely about “user-contributed content”. All that content means a lot of forms. Users see forms on social sites, login screens, banking sites and more. Forms are just areas where a user can type some input. A form consist of a form element with multiple input controls inside of it that helps retrieve user data in some way, and attributes that specify how a server should handle the form. The example below asks for a search query, and then sends the query to a Google server once submitted. A form is processed by a server, which typically takes the inputs and stores them a database.

Input Element: The input element is used for many different types of user input, depending on value of the type attribute. It defaults to a simple 1-line text input. The “name” attribute gives the server a way to identify the piece of attribute. The “value” attribute can be set to specify a default value. The “placeholder” provides a hint to the user. The “type” attribute is used to determine what type of input the user will give.

Label Element: The label element is used to caption a form control, so users know what they should put in it.

Checkboxes: The input element can be used for letting users pick multiple items in a list or simply indicate yes/no, using type=“checkbox”

Radio Buttons: Similarly, the input element can be used for creating a group of radio buttons, for letting users pick one in a list, with type=“radio”.

Range Sliders: The input element can be used for users to pick a value in a range, using type=“range”. **New, only supported in modern browsers

Select Element: The select element used with the option element produces a dropdown of options for the user to pick from.

Textarea element: To let the user specify multiple lines of text, use the textarea element, and specify cols or rows to specify a specific size.

Button Element: The button element is most commonly used to submit a form to the server, but can also be used for resetting a form or other scripted actions.

Mini Assignment up to Forms #2: Starting with the webpage from the first exercise, add tags to the webpage so that it looks like the screenshot to the right: You are adding a table with a header You are adding text input areas You are adding a dropdown menu You are adding radio buttons or check boxes You are adding a text area box You are adding a button

Iframes: You can use HTML to embed other webpages in your own page using element pointing at a URL: The iframe element makes it easy for websites to become embeddable on other websites, and for users to share content that they’ve created on a site. Most websites don’t naturally look good when embedded at small sizes, so websites create special versions that are designed for embedability, and provide users with those URLs.

Iframe Google Calendar:

Multimedia Objects Learn more about: You can use object to embed non-HTML content in your page, like a quicktime movie or a flash file. The object tag should have one or more param child tags that give info to the browser on what to embed. You must have the file located somewhere on your computer or server if you want in your HTML page. The embed tag is similar to the object tag, but is sometimes used in cases where the object tag doesn’t work. The embed tag should specify src and type attributes. <embed type=“application/x-shockwave-flash” src=“beatingheart.swf”/>

Multimedia in HTML5: In HTML5, you can embed audio or video using native HTML tags, and if the browser supports the tags, it will give users controls to play the file. The audio and video tags are both relatively new, so they only work in the most recent versions of modern browsers. To convert certain videos into a web-ready video you may have to use certain programs like FireFogg which works for the Firefox browser.

Videos: The video element embeds a video player for a particular video file. You can use these attributes to customize the video player: poster, preload, autoplay, loop, and controls.

Video Media Sources: As we saw, different browsers support different formats Thankfully, HTML5 lets us specify multiple sources for the video and audio elements, so browsers can use whichever works for them.

Audio: The audio element is used for embedding an audio player inside a page for a particular audio file. You can use various attributes to customize the player: preload, autoplay, loop, and controls.

HTML Web Assignment #3 You are going to take everything you have created previously and you are going to add the following: You are going to add an iframe tag to embed a website on your webpage: Not all sites can be imbedded on a webpage so try a couple of different ones until you find one that works. You are either going to add an object tag or a video tag to your webpage: You can use either tag to embed a video in your webpage. You can find videos online but you must find the file itself not just a YouTube link. Right click the video and look for the option that says open video in new tab. Or you can use a video you have saved on your computer if you have the file. You are going to add an audio tag to your webpage as well: You can try and find a song online. Make sure the URL ends in .mp3 or any other audio extension file name. Right click the audio player and look for the option to open the file in a new tab. You can also use an audio file saved on your computer if you have the file.