CSC Web Technologies, Spring HTML Review

Similar documents
CSC Web Programming. Introduction to HTML

Web Programming Week 2 Semester Byron Fisher 2018

Creating Web Pages Using HTML

UNIX and Operating System Topics

HTML Tags <A></A> <A HREF=" CNN </A> HREF

Summary 4/5. (contains info about the html)

HTML. HTML Evolution

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

Last class we looked at HTML5.

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab.

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS

HTML and CSS Lecture 15 COMPSCI111/111G SS 2018

11. HTML5 and Future Web Application

Website Development with HTML5, CSS and Bootstrap

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

Understanding this structure is pretty straightforward, but nonetheless crucial to working with HTML, CSS, and JavaScript.

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

What You Will Learn Today

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

HTML & XHTML Tag Quick Reference

How the Internet Works

Certified HTML5 Developer VS-1029

Programming of web-based systems Introduction to HTML5

HTTP and HTML. We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms.

A Brief Introduction to HTML

ITNP43: HTML Lecture 3

The Hypertext Markup Language (HTML) Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I

HTML, beyond the basics

Programmazione Web a.a. 2017/2018 HTML5

Document Object Model. Overview

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

HTML + CSS. ScottyLabs WDW. Overview HTML Tags CSS Properties Resources

HTML Images - The <img> Tag and the Src Attribute

LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI

Selected Sections of Applied Informatics

D B M G. Introduction to databases. Web programming: the HTML language. Web programming. The HTML Politecnico di Torino 1

COMP519 Web Programming Lecture 3: HTML (HTLM5 Elements: Part 1) Handouts

COMPSCI 111 / 111G An introduction to practical computing

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

HTML: Fragments, Frames, and Forms. Overview

HTML What is HTML Hyper Text Markup Language is a computer based language used to create WebPages.

introduction to XHTML

2.1 Origins and Evolution of HTML

Desire2Learn: HTML Basics

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

Web Development and HTML. Shan-Hung Wu CS, NTHU

HTML+ CSS PRINCIPLES. Getting started with web design the right way

COMP519: Web Programming Lecture 4: HTML (Part 3)

CSC 121 Computers and Scientific Thinking

Creating Web Pages. Getting Started

Table-Based Web Pages

WTAD Text Editors for HTML. Text Editors: Kate HTML. (HyperText Markup Language)

WTAD. Unit -1 Introduction to HTML (HyperText Markup Language)

Row and Column Spans. Homework. Column and Row Span Example (2) Column and Row Span Example. tables: Live Demo. like the following using forms:

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

Brief Intro to HTML. CITS3403 Agile Web Development. 2018, Semester 1

Certified HTML Designer VS-1027

ID1354 Internet Applications

HTML and CSS. Lecture 14 COMPSCI111/111G S1 2018

Hyper Text Markup Language HTML: A Tutorial

2.1 Origins and Evolution of HTML

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

Html basics Course Outline

SilkTest 2009 R2. Rules for Object Recognition

SYBMM ADVANCED COMPUTERS QUESTION BANK 2013

COSC 2206 Internet Tools. Brief Survey of HTML and XHTML Document Structure Formatting

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

By Ryan Stevenson. Guidebook #2 HTML

Chapter 4 A Hypertext Markup Language Primer

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

HTML. MPRI : Web Data Management. Antoine Amarilli Friday, December 7th 1/28

Introduction to using HTML to design webpages

Course Overview. Week 1

Web Design. Lecture 1. Instructor : Cristina Mîndruță Site : Cristina Mindruta - Web Design

Spring 2014 Interim. HTML forms

HTML and CSS: An Introduction

HTML BEGINNING TAGS. HTML Structure <html> <head> <title> </title> </head> <body> Web page content </body> </html>

Advanced HTML Scripting WebGUI Users Conference

COMPSCI 345 SOFTENG 350 Moiz Safurah

Shatin Tsung Tsin Secondary School S.3 Computer and Technology Web Page Design by HTML Introduction to HTML

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data"

CSC 101: Lab #2 HTML and the WWW Manual and Report Lab Date: Tuesday, 2/2/2010 Report Due Date: Friday, 2/5/2010 3:00pm

html & css basics class one intro to HTML, HTML page structure, text, images, & links

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data.

Meijer.com Style Guide

Which of the following is/are a valid value for the type attribute of the input tag? a. text. b. icon. c. reset. d. password

CSCU9B2: Web Tech Lecture 1

A Balanced Introduction to Computer Science, 3/E

Silk Test Object Recognition with the Classic Agent

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

Learning Objectives. Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are

Basic HTML Lecture 14

LING 408/508: Computational Techniques for Linguists. Lecture 14

HTML. LBSC 690: Jordan Boyd-Graber. October 1, LBSC 690: Jordan Boyd-Graber () HTML October 1, / 29

Transcription:

CSC 342 - Web Technologies, Spring 2017 HTML Review

HTML elements <element attribute="value">content</element> <... >: is an opening tag </... >: is a closing tag element: is the name of the element attribute: is a property of an element, there can be zero or more attributes associated with a tag value: is the value of an attribute

Recommended Basic Document Structure <! DOCTYPE html > <html > <head > <meta charset =" utf -8" > <title > PAGE TITLE </ title > </head > <body > PAGE CONTENT </body > </html >

Semantic Markup The purpose of HTML is to add meaning and structure to the content HTML is not intended for presentation, that is the job of CSS When marking up a document, choose the element that provides the most meaningful description of the content

Block and inline elements Block elements start on new lines Inline elements do not start a new line Each type of element has a default value, but this can be modified with CSS

Paragraphs and Headings <p>...</p> a paragraph <h1>...</h1> a heading There are six levels of headings: h1, h2, h3, h4, h5, h6 Headings should be used semantically change the size with CSS

Unordered Lists <ul>...</ul> an unordered list <li>...</li> a list item Example: <ul > <li > Item 1 </li > <li > Item 2 </li > <li > Item 3 </li > <li > Item 4 </li > <li > Item 5 </li > </ul >

Ordered Lists <ol>...</ol> an ordered list <li>...</li> a list item Example: <ol > <li > Item 1 </li > <li > Item 2 </li > <li > Item 3 </li > <li > Item 4 </li > <li > Item 5 </li > </ol >

Description Lists <dl>...</dl> a list containing name and value pairs <dt>...</dt> the name or term <dd>...</dd> the value or description Example: <dl > <dt > Term 1 </dt > <dd > Description 1 </dd > <dt > Term 2 </dt > <dd > Description 2 </dd > <dt > Term 3 </dt > <dd > Description 3 </dd > </dl >

Elements for Organizing Page Content (HTML5) <section>...</section> a thematic group of content <article>...</article> a self-contained composition <nav>...</nav> primary navigation links <header>...</header> introductory material <footer>...</footer> a footer

Inline Text Elements Recommended: <em>...</em> stressed emphasis <strong>...</strong> strong importance Not Recommended: <b>...</b> visual emphasis <i>...</i> alternate voice <s>...</s> incorrect text <u>...</u> annotated text <small>...</small> legal text; small print

Generic Elements <div>...</div> generic block-level element <span>...</span> generic inline element Usually given a class or id attribute to indicate purpose

HTML Special Characters Character Named Entity Numeric Entity & & & < < < > > >

Links <a>...</a> the anchor element (hypertext link) Requires an href attribute indicating a URL Example: <a href =" http :// example. com "> Example </a> The href URL value can be an absolute or relative path

Images <img> the image element Required attributes: src: source URL alt: alternate text Example: <img src =/ image. gif " alt =" an image "> Some additional attributes: height: height in pixels width: width in pixels

Tables <table>...</table> tabular content <tr>...</tr> table row <th>...</th> table header <td>...</td> table cell data

Table Example <table > <tr > <th > Column 1 </th > <th > Column 2 </th > <th > Column 3 </th > <tr > <tr > <td > Row 1 Column 1 Data </td > <td > Row 1 Column 2 Data </td > <td > Row 1 Column 3 Data </td > <tr > <tr > <td > Row 2 Column 1 Data </td > <td > Row 2 Column 2 Data </td > <td > Row 2 Column 3 Data </td > <tr > </ table >

Spanning Table Cells Spanning is stretching a table cell to cover multiple rows or columns Attributes for th and td: colspan rowspan Example: <table > <tr > <th colspan ="2" > Two Columns </th > <tr > <tr > <td > Row 1 Column 1 Data </td > <td > Row 1 Column 2 Data </td > <tr > </ table >

Forms <form>...</form> is a container for all the content of a form Attributes: action: the URL of the action page method: the HTTP method used to send data Example: <form action ="/ process. php method =" post "> FORM ELEMENTS </form >

Form Controls Form controls facilitate the data submission Example form controls Text entry fields Buttons Menus The name attribute is used in form controls to provide a variable name for the server application

Text Entry <input type="text"> a single line text entry control <textarea>...</textarea> a multiline text entry control <input type="password"> password text control <input type="search"> a search line text entry control <input type="email"> an email text entry control <input type="tel"> a telephone number text entry control <input type="url"> a URL text entry control

Submit and Reset Buttons <input type="submit"> submits the form data to the server <input type="reset"> resets the form The value attribute can be used to change the text displayed on the buttons Example: <input type =" reset " value =" Start Over ">

Radio Buttons <input type="radio"> is a radio button The name attribute binds multiple radio inputs into a set Example: <input type =" radio " name ="x" value ="1" checked > <input type =" radio " name ="x" value ="2" > <input type =" radio " name ="x" value ="3" > <input type =" radio " name ="x" value ="4" >

Checkbox Buttons <input type="checkbox"> is a checkbox button The name attribute with brackets sends the checkbox data as an array to PHP Example: <input type =" checkbox " name ="x[]" value ="1" > <input type =" checkbox " name ="x[]" value ="2" > <input type =" checkbox " name ="x[]" value ="3" > <input type =" checkbox " name ="x[]" value ="4" >

Menus <select>...</select> is a menu control <option>...</option> is an option within a menu Example: <select > <option value ="x">x </ option > <option value ="y">y </ option > <option value ="z">z </ option > <select >