WRITING LINKS. <a href="

Size: px
Start display at page:

Download "WRITING LINKS. <a href=""

Transcription

1 CS637 Class 2 We are looking at slides from HTML and CSS: Design and Build Websites by Jon Duckett Slides are posted on the class website, protected by a password written on the board Note: Exams are open-print-books, no laptops, no cell phone use (at your seat), so get a print copy of this book if you want to use it for exams. If you must take a phone call during an exam, bring the phone to the front of the class. HTML

2

3 WRITING LINKS <a href="

4 WRITING LINKS THE PAGE THE LINK TAKES YOU TO <a href="

5 WRITING LINKS THE PAGE THE LINK TAKES YOU TO <a href=" THE TEXT THE USER CLICKS ON

6 LINKING TO OTHER SITES HTML <a href=" Empire</a>

7 RESULT

8 LINKING TO OTHER PAGES ON THE SAME SITE HTML <a href= index.html >Home</a> <a href= about.html >About</a> <a href= movies.html >Movies</a> <a href= contact.html >Contact</a>

9 RESULT

10 RELATIVE URLS examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html

11 RELATIVE URLS SAME reviews.html examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html

12 RELATIVE URLS CHILD music/index.html examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html

13 RELATIVE URLS PARENT../index.html examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html

14 RELATIVE URLS GRANDCHILD movies/dvd/index.html examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html

15 RELATIVE URLS GRANDPARENT../../index.html examplearts index.html movies cinema index.html listings.html reviews.html dvd index.html listings.html reviews.html music index.html listings.html reviews.html theater index.html listings.html reviews.html

16 LINKS HTML <a Jon </a>

17 LINKS HTML <a Jon </a>

18 RESULT

19 LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h1> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2>

20 LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> <h2 Prologue</h2> id="prologue"> Prologue</h2> <a href="#top">top</a>

21 LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> Terms</h1> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> Prologue</h2> <a href="#top">top</a>

22 LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> Terms</h1> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> <h2 Prologue</h2> id="prologue"> Prologue</h2> <a href="#top">top</a>

23 LINKING TO A SPECIFIC PART OF THE SAME PAGE <h1 id="top"> Film-Making Terms</h2> Terms</h1> <a href="#arc-shot"> Arc shot</a><br /> <a href="#interlude"> Interlude</a><br /> <a href="#prologue"> Prologue</a><br /> <h2 id="prologue"> <h2 Prologue</h2> id="prologue"> Prologue</h2> <a href="#top">top</a>

24

25

26 CHOOSING IMAGES FOR YOUR SITE Images can set the tone for a site in less time than it takes to read a description.

27

28 CHOOSING IMAGES FOR YOUR SITE Images are subject to copyright but there are stock photography sites where you can buy them.

29

30 CHOOSING IMAGES FOR YOUR SITE If a page shows several photos of products or members of a team, keep them consistent.

31

32 STORING IMAGES ON YOUR SITE

33 ADDING IMAGES HTML <img src="images/quokka.jpg" alt="a family of quokka" title="the quokka is an Australian marsupial that is similar in size to the domestic cat" />

34 RESULT

35 Book examples: this page online RESULT

36 RESULT After right-click (not on image), View Source we can see the HTML for the page This is using Chrome, but this can be done in any desktop browser. Chrome on smartphone: need to use URL view-source:

37 HEIGHT & WIDTH OF IMAGES HTML <img src="images/quokka.jpg" alt="a family of quokka" title="the quokka is an Australian marsupial that is similar in size to the domestic cat" width="600" height="450" />

38 RESULT

39 Resizing RESULT Although browsers will resize images as specified by width and height, it s not a great idea to use it. Can end up with distorted or fuzzy images. Better to make another right-size image using a graphics editor and use that.

40 How a page with an image gets displayed RESULT In this case, the user selects the page as usual The browser does a GET request to the server The server sends the HTML page with the <img> The browser receives the HTML, parses the <img> URL, and issues another GET request for the image data (no user involvement here) The server sends the image data back The browser shows the completed page to the user This means two complete request cycles to the server We can make a chart showing this communication

41 Communications Diagram: page with <img> (time flows down in diagram) 1. User: requests.html page via browser 3. Browser: parses page, sees <img>, requests image data 5. User: sees finished page User/browser Server RESULT 2. Server: sees GET / page.html, Returns HTML on same connection 4.Server: sees GET / /quokka.jpg return its data in same connection.

42 RESULT Chrome can show details on the two requests Use right-click, inspect, choose Network tab, reload page

43 One page can involve many HTTP RESULT requests (from last class) From

44 WHERE TO PLACE IMAGES IN YOUR CODE HTML <img src="images/bird.gif" alt="bird" width="100" height="100" /> <p>there are around 10,000 living species of birds that inhabit different ecosystems from the Arctic to the Antarctic. Man species undertake long distance annual migrations, and many more perform shorter irregular journeys.</p>

45 RESULT

46 WHERE TO PLACE IMAGES IN YOUR CODE HTML <p><img src="images/bird.gif" alt="bird" width="100" height="100" />There are around 10,000 living species of birds that inhabit different ecosystems from the Arctic to the Antarctic. Man species undertake long distance annual migrations, and many more perform shorter irregular journeys.</p>

47 RESULT

48 <img> is inline RESULT Now we look at cases where the <img> element lies inside the <p> element. <p> is a block element, starts a new line <img> Image is an inline element, keeps going on the current line Other block elements: <h1>, <ul>, <li>, Other inline elements: <em>, <a>, <strong>

49 WHERE TO PLACE IMAGES IN YOUR CODE HTML <p>there are around 10,000 living species of birds that inhabit different <img src="images/bird.gif" alt="bird" width="100" height="100" /> ecosystems from the Arctic to the Antarctic. Man species undertake long distance annual migrations, and many more perform shorter irregular journeys.</p>

50 RESULT

51 OLD CODE RESULT In the next few slides and in Duckett, OLD CODE means pre-html5 In HTML5, we use CSS to arrange nondefault positioning Skip OLD CODE for this class, but note it could be useful for working with older HTML. We should revisit these examples once we ve tackled CSS.

52 OLD CODE: ALIGNING IMAGES HORIZONTALLY (we re skipping) HTML <p><img src="images/bird.gif" alt="bird" width="100" height="100" align="left" /> There are around 10,000 living species of birds that inhabit different ecosystems from the Arctic to the Antarctic. Man species undertake long distance annual migrations, and many more perform shorter irregular journeys.</p>

53 OLD CODE: ALIGNING IMAGES HORIZONTALLY HTML <p><img src="images/bird.gif" alt="bird" width="100" height="100" align="left" /> There are around 10,000 living species of birds that inhabit different ecosystems from the Arctic to the Antarctic. Man species undertake long distance annual migrations, and many more perform shorter irregular journeys.</p>

54 RESULT

55 OLD CODE: ALIGNING IMAGES HORIZONTALLY HTML <p><img src="images/bird.gif" alt="bird" width="100" height="100" align="right" /> There are around 10,000 living species of birds that inhabit different ecosystems from the Arctic to the Antarctic. Man species undertake long distance annual migrations, and many more perform shorter irregular journeys.</p>

56 RESULT

57 IMAGE FORMATS: JPEG

58 IMAGE FORMATS: GIF

59 Example image See HTML: <body> <img src="images/quokka.jpg" alt="quokka (Setonix brachyurus)" /> </body> Note how it stays the same size while you resize the page. It shows in 600x450 screen pixels. On my laptop, 600 px width = 50% of screen width Right-click on image in Chrome, Inspect, to see its dimensions.

60 Pixels Each digital image has a grid of pixels, written as width x height, for example 600x450 Each screen has resolution width x height pixels o My laptop: 1280x800 o My desktop (20 two-page monitor): 1920x1080 o iphone 5: 1136x640, iphone X: 2436x1125 iphone 8: 1334x750 o Samsung S4: 1080x1920, S8 2960x1440 o Many old phones: 854x480 We can expect about 1000 pixels across to work with In particular, the 600x450 image fits on any of these See pp for more examples.

61 IMAGE DIMENSIONS Create each image the same width and height as you would like it to appear on your website.

62 HTML5: FIGURE & FIGURE CAPTION (HTML5) HTML <figure> <img src="images/otters.gif" alt="photograph of two sea otters floating in the water" /> <br /> <figcaption>sea otters hold hands when they sleep so that they don t drift away from each other. </figcaption> </figure>

63 HTML5: FIGURE & FIGURE CAPTION HTML <figure> <img src="images/otters.gif" alt="photograph of two sea otters floating in the water" /> <br /> <figcaption>sea otters hold hands when they sleep so that they don t drift away from each other. </figcaption> </figure>

64 HTML5: FIGURE & FIGURE CAPTION HTML <figure> <img src="images/otters.gif" alt="photograph of two sea otters floating in the water" /> <br /> <figcaption>sea otters hold hands when they sleep so that they don t drift away from each other. </figcaption> </figure>

65 online RESULT

66

67

68 WHAT'S A TABLE?

69 BASIC TABLE STRUCTURE <table> <tr> <td>15</td> <td>15</td> <td>30</td> </tr> <tr> <td>45</td> <td>60</td> <td>90</td> </tr> </table> HTML

70 RESULT

71 TABLE HEADINGS <table> <tr> <th></th> <th scope="col">saturday</th> <th scope="col">sunday</th> </tr> <tr> <th scope="row">tickets sold</th> <td>120</td> <td>135</td> </tr> </table> HTML

72 RESULT

73 SPANNING COLUMNS... <tr> <th>monday</th> <td colspan="2">geography</td> <td>math</td> <td>art</td> </tr>... HTML

74 RESULT

75 SPANNING ROWS... <tr> <th>6pm - 7pm</th> <td rowspan="2">movie</td> <td>comedy</td> <td>news</td> </tr> <tr> <th>7pm - 8pm</th> <td>sport</td> <td>current Affairs</td> </tr> HTML

76 RESULT

77

78

79 WHY FORMS?

80 FORM CONTROLS

81 HOW FORMS WORK 1: User fills in form and presses button to submit info to server

82 HOW FORMS WORK 2: Name of each form control sent with value user entered

83 HOW FORMS WORK 3: Server processes information using programming language

84 HOW FORMS WORK 4: Server creates new page to send back to the browser based on info received

85 NAME & VALUE PAIRS username=ivy

86 NAME & VALUE PAIRS NAME username=ivy

87 NAME & VALUE PAIRS NAME username=ivy VALUE

88 Name-value pairs sent to server HTTP GET: in URL query string GET /webapp/program?username=ivy HTTP/1.0 headers HTTP POST: in the body of the request: POST /webapp/program headers encoded name-value pairs Note: HTTP POST is the usual way to send in form data, as we will see.

89 Communications Diagram: simple form handling (time flows down in diagram) 1. User: requests form page via browser 3. User: fills in form Browser: puts user input into params in POST request 5. User: sees response User/browser Server 2. Server: sees GET / form.html, returns form.html on same connection 4.Server: sees POST / /doit.php Get user input from params, do requested action, compose response, return it in same connection.

90 FORM STRUCTURE HTML <form action=" method="get"> This is where the form controls will appear. </form>

91 TEXT INPUT HTML <form action=" <input type="text" name="username" size="15" maxlength="30" /> </form>

92 TEXT INPUT HTML <form action=" <input type="text" name="username" size="15" maxlength="30" /> </form>

93 TEXT INPUT HTML <form action=" <input type="text" name="username" size="15" maxlength="30" /> </form>

94 TEXT INPUT HTML <form action=" <input type="text" name="username" size="15" maxlength="30" /> </form>

95 TEXT INPUT HTML <form action=" <input type="text" name="username" size="15" maxlength="30" /> </form>

96 RESULT

97 PASSWORD HTML <p>username: <input type="text" name="username" size="15" maxlength="30" /> </p> <p>password: <input type="password" name="password" size="15" maxlength="30" /> </p>

98 RESULT

99 TEXTAREA HTML <p>what did you think of this gig?</p> <textarea name="comments" cols="20" rows="4"> Enter your comments... <textarea/>

100 RESULT

101 RADIO BUTTON <p>your favorite genre:<br /> HTML <input type="radio" name="genre" value="rock" checked="checked" /> Rock <input type="radio" name="genre" value="pop" /> Pop <input type="radio" name="genre" value="jazz" /> Jazz </p>

102 RADIO BUTTON <p>your favorite genre:<br /> HTML <input type="radio" name="genre" value="rock" checked="checked" /> Rock <input type="radio" name="genre" value="pop" /> Pop <input type="radio" name="genre" value="jazz" /> Jazz </p>

103 RADIO BUTTON <p>your favorite genre:<br /> HTML <input type="radio" name="genre" value="rock" checked="checked" /> Rock <input type="radio" name="genre" value="pop" /> Pop <input type="radio" name="genre" value="jazz" /> Jazz </p>

104 RADIO BUTTON <p>your favorite genre:<br /> HTML <input type="radio" name="genre" value="rock" checked="checked" /> Rock <input type="radio" name="genre" value="pop" /> Pop <input type="radio" name="genre" value="jazz" /> Jazz </p>

105 RADIO BUTTON <p>your favorite genre:<br /> HTML <input type="radio" name="genre" value="rock" checked="checked" /> Rock <input type="radio" name="genre" value="pop" /> Pop <input type="radio" name="genre" value="jazz" /> Jazz </p>

106 RESULT

107 CHECKBOX <p>your favorite music service:<br /> <input type="checkbox" name="service" value="itunes" checked="checked" /> itunes HTML <input type="checkbox" name="service" value="last.fm" /> Last.fm <input type="checkbox" name="service" </p> value="spotify" /> Spotify

108 CHECKBOX <p>your favorite music service:<br /> <input type="checkbox" name="service" value="itunes" checked="checked" /> itunes HTML <input type="checkbox" name="service" value="last.fm" /> Last.fm <input type="checkbox" name="service" </p> value="spotify" /> Spotify

109 CHECKBOX <p>your favorite music service:<br /> <input type="checkbox" name="service" value="itunes" checked="checked" /> itunes HTML <input type="checkbox" name="service" value="last.fm" /> Last.fm <input type="checkbox" name="service" </p> value="spotify" /> Spotify

110 CHECKBOX <p>your favorite music service:<br /> <input type="checkbox" name="service" value="itunes" checked="checked" /> itunes HTML <input type="checkbox" name="service" value="last.fm" /> Last.fm <input type="checkbox" name="service" </p> value="spotify" /> Spotify

111 CHECKBOX <p>your favorite music service:<br /> <input type="checkbox" name="service" value="itunes" checked="checked" /> itunes HTML <input type="checkbox" name="service" value="last.fm" /> Last.fm <input type="checkbox" name="service" </p> value="spotify" /> Spotify

112 RESULT

113 DROP DOWN LIST BOX HTML <select name="devices"> <option value="ipod" selected="selected">ipod</option> <option value="radio">radio</option> <option value="pc">computer</option> </select>

114 DROP DOWN LIST BOX HTML <select name="devices"> <option value="ipod" selected="selected">ipod</option> <option value="radio">radio</option> <option value="pc">computer</option> </select>

115 DROP DOWN LIST BOX HTML <select name="devices"> <option value="ipod" selected="selected">ipod</option> <option value="radio">radio</option> <option value="pc">computer</option> </select>

116 DROP DOWN LIST BOX HTML <select name="devices"> <option value="ipod" selected="selected">ipod</option> <option value="radio">radio</option> <option value="pc">computer</option> </select>

117 DROP DOWN LIST BOX HTML <select name="devices"> <option value="ipod" selected="selected">ipod</option> <option value="radio">radio</option> <option value="pc">computer</option> </select>

118 DROP DOWN LIST BOX HTML <select name="devices"> <option value="ipod" selected="selected">ipod</option> <option value="radio">radio</option> <option value="pc">computer</option> </select>

119 RESULT

120 MULTIPLE SELECT BOX, fixed (red) <select name="devices" size="4 multiple="multiple"> HTML <option value="guitar" selected="selected">guitar</option> <option value="drums">drums</option> <option value="keys" selected="selected">keyboard</option> <option value="bass">bass</option> </select>

121 RESULT

122 FILE INPUT BOX: FYI, we won t need this. <form action=" method="post"> HTML <p>upload your song in MP3 format:</p> <input type="file" name="user-song" /> <input type="submit" value="upload" /> </form>

123 FILE INPUT BOX HTML <form action=" method="post"> <p>upload your song in MP3 format:</p> <input type="file" name="user-song" /> <input type="submit" value="upload" /> </form>

124 FILE INPUT BOX HTML <form action=" method="post"> <p>upload your song in MP3 format:</p> <input type="file" name="user-song" /> <input type="submit" value="upload" /> </form>

125 FILE INPUT BOX HTML <form action=" method="post"> <p>upload your song in MP3 format:</p> <input type="file" name="user-song" /> <input type="submit" value="upload" /> </form>

126 RESULT

127 SUBMIT BUTTON HTML <form action=" <p>subscribe to our list:</p> <input type="text" name=" " /> <input type="submit" value="subscribe" /> </form>

128 SUBMIT BUTTON HTML <form action=" <p>subscribe to our list:</p> <input type="text" name=" " /> <input type="submit" value="subscribe" /> </form>

129 SUBMIT BUTTON HTML <form action=" <p>subscribe to our list:</p> <input type="text" name=" " /> <input type="submit" value="subscribe" /> </form>

130 RESULT

131 IMAGE BUTTON HTML <form action=" <p>subscribe to our list:</p> <input type="text" name=" " /> <input type="image" src="images/subscribe.jpg" width="100" height="20" /> </form>

132 IMAGE BUTTON HTML <form action=" <p>subscribe to our list:</p> <input type="text" name=" " /> <input type="image" src="images/subscribe.jpg" width="100" height="20" /> </form>

133 IMAGE BUTTON HTML <form action=" <p>subscribe to our list:</p> <input type="text" name=" " /> <input type="image" src="images/subscribe.jpg" width="100" height="20" /> </form>

134 IMAGE BUTTON HTML <form action=" <p>subscribe to our list:</p> <input type="text" name=" " /> <input type="image" src="images/subscribe.jpg" width="100" height="20" /> </form>

135 RESULT

136 BUTTONS: Don t use <button>! <form action=" HTML <button> <img src="images/add.gif" alt="add" width="10" height="20" /> </button> </form> Tip from Note: If you use the <button> element in an HTML form, different browsers may submit different values. Use <input> to create buttons in an HTML form. Let s follow this rule.

137 HIDDEN FORM CONTROLS And fix pg. 162: replace <button> with <input> <form action=" HTML <button> <img src="images/add.gif" alt="add" width="10" height="20" /></button> <input type="image" src="images/add.gif" alt="add" width="10" height="20" /> <input type="hidden" name="bookmark" value="lyrics" /> </form>

138 RESULT

139 Communications Diagram: form handling Case of form having hidden control bookmark 1. User: requests form page via browser 3. User: clicks button Browser: puts bookmark=lyrics in GET request 5. User: sees response User/browser Server RESULT 2. Server: sees GET / form.html, returns form.html on same connection 4.Server: sees GET /add.php?bookmark=lyrics Gets bookmark value, does requested action, composes response, returns it in same connection.

140 LABELLING FORM CONTROLS: two ways <form action=" <label>age: <input type="text" name="age" /></label> Gender: <input id="female" type="radio" name="gender" value="f" /> <label for="female">female</label> <input id="male" type="radio" name="gender" value="m" /> <label for="female">male</label> </form> HTML

141 LABELLING FORM CONTROLS <form action=" <label>age: <input type="text" name="age" /></label> Gender: <input id="female" type="radio" name="gender" value="f" /> <label for="female">female</label> <input id="male" type="radio" name="gender" value="m" /> <label for="female">male</label> </form> HTML

142 LABELLING FORM CONTROLS <form action=" <label>age: <input type="text" name="age" /></label> Gender: <input id="female" type="radio" name="gender" value="f" /> <label for="female">female</label> <input id="male" type="radio" name="gender" value="m" /> <label for="female">male</label> </form> HTML

143 LABELLING FORM CONTROLS <form action=" <label>age: <input type="text" name="age" /></label> Gender: <input id="female" type="radio" name="gender" value="f" /> <label for="female">female</label> <input id="male" type="radio" name="gender" value="m" /> <label for="female">male</label> </form> HTML

144 RESULT

145 GROUPING FORM ELEMENTS <fieldset> <legend>contact details</legend> <label> <br /> <input type="text" name=" "></label> <br /> <label>mobile:<br /> <input type="text" name="mobile"></label> <br /> <label>telephone:<br /> <input type="text" name="tel"></label> </fieldset> HTML

146 GROUPING FORM ELEMENTS <fieldset> <legend>contact details</legend> <label> <br /> <input type="text" name=" "></label> <br /> <label>mobile:<br /> <input type="text" name="mobile"></label> <br /> <label>telephone:<br /> <input type="text" name="tel"></label> </fieldset> HTML

147 GROUPING FORM ELEMENTS <fieldset> <legend>contact details</legend> <label> <br /> <input type="text" name=" "></label> <br /> <label>mobile:<br /> <input type="text" name="mobile"></label> <br /> <label>telephone:<br /> <input type="text" name="tel"></label> </fieldset> HTML

148 RESULT

149 HTML5: FORM VALIDATION Add required attribute HTML <label for="username">username:</label> <input type="text" name="username" required="required" /> <label for="password">password:</label> <input type="password" name="password" required="required" /> <input type="submit" value="submit" />

150 online RESULT

151 HTML5: DATE INPUT <label for="date">departure date:</label> HTML <input type="date" name="depart" id="date" /> <input type="submit" value="submit" />

152 RESULT

153 HTML5: & URL INPUT HTML <input type=" " name=" " /> <input type="url" name="website" />

154 RESULT

155 HTML5: SEARCH INPUT HTML <input type="search" name="search" placeholder="enter keyword" /> <input type="submit" value="search" />

156 online RESULT

157 SUMMARY Whenever you want to collect information from visitors you will need a form, which lives inside a <form> element.

158 SUMMARY Information from a form is sent in name/value pairs.

159 SUMMARY Each form control is given a name, and the text the user types in or the values of the options they select are sent to the server.

160 SUMMARY HTML5 introduces new form elements which make it easier for visitors to fill in forms.

CS637 Class 2 WRITING LINKS WRITING LINKS LINKING TO OTHER SITES WRITING LINKS 9/11/2018 THE PAGE THE LINK TAKES YOU TO

CS637 Class 2 WRITING LINKS WRITING LINKS LINKING TO OTHER SITES WRITING LINKS 9/11/2018 THE PAGE THE LINK TAKES YOU TO CS637 Class 2 We are looking at slides from and CSS: Design and Build Websites by Jon Duckett Slides are posted on the class website, protected by a password written on the board Note: Exams are open-print-books,

More information

WRITING LINKS. <a href="

WRITING LINKS. <a href= LINKS WRITING LINKS imdb WRITING LINKS THE PAGE THE LINK TAKES YOU TO imdb THE TEXT THE USER CLICKS ON LINKING TO OTHER SITES HTML

More information

Chapter 3 HTML Multimedia and Inputs

Chapter 3 HTML Multimedia and Inputs Sungkyunkwan University Chapter 3 HTML Multimedia and Inputs Prepared by D. T. Nguyen and H. Choo Web Programming Copyright 2000-2018 Networking Laboratory 1/45 Copyright 2000-2012 Networking Laboratory

More information

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

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data CS 418/518 Web Programming Spring 2014 HTML Tables and Forms Dr. Michele Weigle http://www.cs.odu.edu/~mweigle/cs418-s14/ Outline! Assigned Reading! Chapter 4 "Using Tables to Display Data"! Chapter 5

More information

CSC Web Technologies, Spring HTML Review

CSC Web Technologies, Spring HTML Review CSC 342 - Web Technologies, Spring 2017 HTML Review HTML elements content : is an opening tag : is a closing tag element: is the name of the element attribute:

More information

1 Form Basics CSC309

1 Form Basics CSC309 1 Form Basics Web Data 2! Most interesting web pages revolve around data! examples: Google, IMDB, Digg, Facebook, YouTube! can take many formats: text, HTML, XML, multimedia! Many of them allow us to access

More information

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

HTML Tables and. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar HTML Tables and Forms Chapter 5 2017 Pearson http://www.funwebdev.com - 2 nd Ed. HTML Tables A grid of cells A table in HTML is created using the element Tables can be used to display: Many types

More information

HTML Forms. By Jaroslav Mohapl

HTML Forms. By Jaroslav Mohapl HTML Forms By Jaroslav Mohapl Abstract How to write an HTML form, create control buttons, a text input and a text area. How to input data from a list of items, a drop down list, and a list box. Simply

More information

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB Unit 8 HTML Forms and Basic CGI Slides based on course material SFU Icons their respective owners 1 Learning Objectives In this unit you will

More information

Spring 2014 Interim. HTML forms

Spring 2014 Interim. HTML forms HTML forms Forms are used very often when the user needs to provide information to the web server: Entering keywords in a search box Placing an order Subscribing to a mailing list Posting a comment Filling

More information

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

Summary 4/5. (contains info about the html) Summary Tag Info Version Attributes Comment 4/5

More information

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

The Hypertext Markup Language (HTML) Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013 The Hypertext Markup Language (HTML) Part II Hamid Zarrabi-Zadeh Web Programming Fall 2013 2 Outline HTML Structures Tables Forms New HTML5 Elements Summary HTML Tables 4 Tables Tables are created with

More information

HTML: Fragments, Frames, and Forms. Overview

HTML: Fragments, Frames, and Forms. Overview HTML: Fragments, Frames, and Forms Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh spring@ imap.pitt.edu http://www.sis. pitt.edu/~spring Overview Fragment

More information

HTML Forms IT WS I - Lecture 11

HTML Forms IT WS I - Lecture 11 HTML Forms IT WS I - Lecture 11 Saurabh Barjatiya International Institute Of Information Technology, Hyderabad 04 October, 2009 Contents Seeing submitted values 1 Seeing submitted values 2 3 Seeing submitted

More information

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6 CS 350 COMPUTER/HUMAN INTERACTION Lecture 6 Setting up PPP webpage Log into lab Linux client or into csserver directly Webspace (www_home) should be set up Change directory for CS 350 assignments cp r

More information

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

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab. Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 5049 Advanced Internet Technology Lab Lab # 1 Eng. Haneen El-masry February, 2015 Objective To be familiar with

More information

Overview of Forms. Forms are used all over the Web to: Types of forms: Accept information Provide interactivity

Overview of Forms. Forms are used all over the Web to: Types of forms: Accept information Provide interactivity HTML Forms Overview of Forms Forms are used all over the Web to: Accept information Provide interactivity Types of forms: Search form, Order form, Newsletter sign-up form, Survey form, Add to Cart form,

More information

HTML Element A pair of tags and the content these include are known as an element

HTML Element A pair of tags and the content these include are known as an element HTML Tags HTML tags are used to mark-up HTML elements. HTML tags are surrounded by the two characters < and >. The surrounding characters are called angle brackets HTML tags are not case sensitive,

More information

Form Overview. Form Processing. The Form Element. CMPT 165: Form Basics

Form Overview. Form Processing. The Form Element. CMPT 165: Form Basics Form Overview CMPT 165: Form Basics Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University October 26, 2011 A form is an HTML element that contains and organizes objects called

More information

Creating Web Pages Using HTML

Creating Web Pages Using HTML Creating Web Pages Using HTML HTML Commands Commands are called tags Each tag is surrounded by Some tags need ending tags containing / Tags are not case sensitive, but for future compatibility, use

More information

Links. Creating links between pages Linking to other sites links

Links. Creating links between pages Linking to other sites  links 4 Links XX XX XX Creating links between pages Linking to other sites Email links Links are the defining feature of the web because they allow you to move from one web page to another enabling the very

More information

Advanced HTML Scripting WebGUI Users Conference

Advanced HTML Scripting WebGUI Users Conference Advanced HTML Scripting 2004 WebGUI Users Conference XHTML where did that x come from? XHTML =? Extensible Hypertext Markup Language Combination of HTML and XML More strict than HTML Things to Remember

More information

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II CHAPTER 1: HTML 1. What is HTML? Define its structure. a. HTML [Hypertext Markup Language] is the main markup language for creating web pages and other information that can be displayed in a web browser.

More information

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

D B M G. Introduction to databases. Web programming: the HTML language. Web programming. The HTML Politecnico di Torino 1 Web programming The HTML language The HTML language Basic concepts User interfaces in HTML Forms Tables Passing parameters stored in forms @2017 Politecnico di Torino 1 Basic concepts HTML: HyperText Markup

More information

Chapter 1 FORMS. SYS-ED/ Computer Education Techniques, Inc.

Chapter 1 FORMS. SYS-ED/ Computer Education Techniques, Inc. Chapter 1 FORMS SYS-ED/ Computer Education Techniques, Inc. Objectives You will learn: How to use forms and the related form types. Controls for interacting with forms. Menus and presenting users with

More information

CSS CSS how to display to solve a problem External Style Sheets CSS files CSS Syntax

CSS CSS how to display to solve a problem External Style Sheets CSS files CSS Syntax CSS CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style Sheets can save a lot of work External Style Sheets

More information

Creating and Building Websites

Creating and Building Websites Creating and Building Websites Stanford University Continuing Studies CS 21 Mark Branom branom@alumni.stanford.edu Course Web Site: http://web.stanford.edu/group/csp/cs21 Week 7 Slide 1 of 25 Week 7 Unfinished

More information

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson reserved. 0-13-185603-0 HTML HELLO WORLD! Document

More information

CSE 154 LECTURE 8: FORMS

CSE 154 LECTURE 8: FORMS CSE 154 LECTURE 8: FORMS Web data most interesting web pages revolve around data examples: Google, IMDB, Digg, Facebook, YouTube, Rotten Tomatoes can take many formats: text, HTML, XML, multimedia many

More information

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

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS MOST TAGS CLASS Divides tags into groups for applying styles 202 ID Identifies a specific tag 201 STYLE Applies a style locally 200 TITLE Adds tool tips to elements 181 Identifies the HTML version

More information

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

COMP519: Web Programming Lecture 4: HTML (Part 3) COMP519: Web Programming Lecture 4: HTML (Part 3) Ullrich Hustadt Department of Computer Science School of Electrical Engineering, Electronics, and Computer Science University of Liverpool Contents 1 HTML

More information

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

HTML What is HTML Hyper Text Markup Language is a computer based language used to create WebPages. vinsri76@yahoo.com +965-69300304 HTML What is HTML Hyper Text Markup Language is a computer based language used to create WebPages. Name Two text Editor which are used to create HTML page. They are: Notepad

More information

CSS Review. Objec(ves. Iden(fy the Errors. Fixed CSS. CSS Organiza(on

CSS Review. Objec(ves. Iden(fy the Errors. Fixed CSS. CSS Organiza(on Objec(ves CSS Review Discuss: Ø How Google Search Works Ø What Images You Can Use HTML Forms CSS Review Why CSS? What is the syntax of a CSS rule? What is the order of applying rules in the cascade? How

More information

HTML crashcourse. general structure tables forms textfield textarea selectbox listbox hidden field checkbox radiobuttons submit button

HTML crashcourse. general structure tables forms textfield textarea selectbox listbox hidden field checkbox radiobuttons submit button HTML crashcourse general structure tables forms textfield textarea selectbox listbox hidden field checkbox radiobuttons submit button Andreas Schmidt HTML Crash-Kurs 1/10 general structure

More information

Programming of web-based systems Introduction to HTML5

Programming of web-based systems Introduction to HTML5 Programming of web-based systems Introduction to HTML5 Agenda 1. HTML5 as XML 2. Basic body elements 3. Text formatting and blocks 4. Tables 5. File paths 6. Head elements 7. Layout elements 8. Entities

More information

Web Forms. Survey or poll Contact us Sign up for an newsletter Register for an event

Web Forms. Survey or poll Contact us Sign up for an  newsletter Register for an event Web Forms Survey or poll Contact us Sign up for an email newsletter Register for an event Web Forms All our web pages thus far have had a one-way flow of information, from us to our web visitors. Now we'll

More information

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

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I INTRODUCTION: UNIT - I HTML stands for Hyper Text Markup Language.HTML is a language for describing web pages.html is a language for describing web pages.html instructions divide the text of a document

More information

Hyperlinks, Tables, Forms and Frameworks

Hyperlinks, Tables, Forms and Frameworks Hyperlinks, Tables, Forms and Frameworks Web Authoring and Design Benjamin Kenwright Outline Review Previous Material HTML Tables, Forms and Frameworks Summary Review/Discussion Email? Did everyone get

More information

Technical Guide Login Page Customization

Technical Guide Login Page Customization Released: 2017-11-15 Doc Rev No: R2 Copyright Notification Edgecore Networks Corporation Copyright 2019 Edgecore Networks Corporation. The information contained herein is subject to change without notice.

More information

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

Web Development and HTML. Shan-Hung Wu CS, NTHU Web Development and HTML Shan-Hung Wu CS, NTHU Outline How does Internet Work? Web Development HTML Block vs. Inline elements Lists Links and Attributes Tables Forms 2 Outline How does Internet Work? Web

More information

A website is a way to present your content to the world, using HTML to present that content and make it look good

A website is a way to present your content to the world, using HTML to present that content and make it look good What is a website? A website is a way to present your content to the world, using HTML to present that content and make it look good HTML: What is it? HTML stands for Hyper Text Markup Language An HTML

More information

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

HTTP and HTML. We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms. HTTP and HTML We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms. HTTP and HTML 28 January 2008 1 When the browser and the server

More information

HTML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Department of Computer Engineering Khon Kaen University

HTML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Department of Computer Engineering Khon Kaen University HTML Asst. Prof. Dr. Kanda Runapongsa Saikaew (krunapon@kku.ac.th) Department of Computer Engineering Khon Kaen University 1 What is an HTML File? HTML stands for Hyper Text Markup Language An HTML file

More information

Table Basics. The structure of an table

Table Basics. The structure of an table TABLE -FRAMESET Table Basics A table is a grid of rows and columns that intersect to form cells. Two different types of cells exist: Table cell that contains data, is created with the A cell that

More information

A Brief Introduction to HTML

A Brief Introduction to HTML A P P E N D I X HTML SuMMAry J A Brief Introduction to HTML A web page is written in a language called HTML (Hypertext Markup Language). Like Java code, HTML code is made up of text that follows certain

More information

AGENDA :: MULTIMEDIA TOOLS :: CLASS NOTES

AGENDA :: MULTIMEDIA TOOLS :: CLASS NOTES CLASS :: 14 04.28 2017 3 Hours AGENDA CREATE A WORKS PAGE [ HTML ] :: Open index.html :: Save As works.html :: Edit works.html to modify header, 3 divisions for works, then add your content :: Edit index.html

More information

Lesson 3. Form By Raymond Tsang. Certificate Programme in Cyber Security

Lesson 3. Form By Raymond Tsang. Certificate Programme in Cyber Security Lesson 3 Form By Raymond Tsang Certificate Programme in Cyber Security What is a form How to create a form Getting input from users Generate a result It s a section of a document containing normal content,

More information

SilkTest 2009 R2. Rules for Object Recognition

SilkTest 2009 R2. Rules for Object Recognition SilkTest 2009 R2 Rules for Object Recognition Borland Software Corporation 4 Hutton Centre Dr., Suite 900 Santa Ana, CA 92707 Copyright 2009 Micro Focus (IP) Limited. Rights Reserved. SilkTest contains

More information

HTML 5 Tables and Forms

HTML 5 Tables and Forms Tables for Tabular Data Display HTML 5 Tables and Forms Tables can be used to represet information in a two-dimensional format. Typical table applications include calendars, displaying product catelog,

More information

Tables *Note: Nothing in Volcano!*

Tables *Note: Nothing in Volcano!* Tables *Note: Nothing in Volcano!* 016 1 Learning Objectives After this lesson you will be able to Design a web page table with rows and columns of text in a grid display Write the HTML for integrated

More information

Programmazione Web a.a. 2017/2018 HTML5

Programmazione Web a.a. 2017/2018 HTML5 Programmazione Web a.a. 2017/2018 HTML5 PhD Ing.Antonino Raucea antonino.raucea@dieei.unict.it 1 Introduzione HTML HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text

More information

CSC Web Programming. Introduction to HTML

CSC Web Programming. Introduction to HTML CSC 242 - Web Programming Introduction to 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

More information

How to set up a local root folder and site structure

How to set up a local root folder and site structure Activity 2.1 guide How to set up a local root folder and site structure The first thing to do when creating a new website with Adobe Dreamweaver CS3 is to define a site and identify a root folder where

More information

ART170. The ART170 Final Project

ART170. The ART170 Final Project The Final Project TABLE OF CONTENTS Define the site and set up the layout pg. 2 Ordering and externalizing the style sheet pg. 2 Creating the template pg. 3 Generating pages from the template pg. 4 Updating

More information

By Ryan Stevenson. Guidebook #2 HTML

By Ryan Stevenson. Guidebook #2 HTML By Ryan Stevenson Guidebook #2 HTML Table of Contents 1. HTML Terminology & Links 2. HTML Image Tags 3. HTML Lists 4. Text Styling 5. Inline & Block Elements 6. HTML Tables 7. HTML Forms HTML Terminology

More information

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

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 1/6/2019 12:28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 CATALOG INFORMATION Dept and Nbr: CS 50A Title: WEB DEVELOPMENT 1 Full Title: Web Development 1 Last Reviewed:

More information

Session 10. Form Dataset. Lecture Objectives

Session 10. Form Dataset. Lecture Objectives Session 10 Form Dataset Lecture Objectives Understand the relationship between HTML form elements and parameters that are passed to the servlet, particularly the form dataset 2 10/1/2018 1 Example Form

More information

Lecture 9. Forms & APIs 1 / 38

Lecture 9. Forms & APIs 1 / 38 Lecture 9 Forms & APIs 1 / 38 Final Project Proposal Due November 12th 11:59PM Should include: A summary of your idea A diagram with the db tables you plan to use& the relationships between them You can

More information

Creating a Web Page with HTML

Creating a Web Page with HTML CT1501 DEVELOPMENT OF INTERNET APPLICATION Creating a Web Page with HTML Prepared By: Huda Alsuwailem Reviewed by: Rehab Alfallaj www.faculty.ksu.edu.sa/rehab-alfallaj ralfallaj@ksu.edu.sa Tables

More information

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Chapter4: HTML Table and Script page, HTML5 new forms Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Objective To know HTML5 creating a new style form. To understand HTML table benefits

More information

Forms, CGI. Objectives

Forms, CGI. Objectives Forms, CGI Objectives The basics of HTML forms How form content is submitted GET, POST Elements that you can have in forms Responding to forms Common Gateway Interface (CGI) Later: Servlets Generation

More information

How to Edit Your Website

How to Edit Your Website How to Edit Your Website A guide to using your Content Management System Overview 2 Accessing the CMS 2 Choosing Your Language 2 Resetting Your Password 3 Sites 4 Favorites 4 Pages 5 Creating Pages 5 Managing

More information

Dreamweaver CS3 Concepts and Techniques

Dreamweaver CS3 Concepts and Techniques Dreamweaver CS3 Concepts and Techniques Chapter 3 Tables and Page Layout Part 1 Other pages will be inserted in the website Hierarchical structure shown in page DW206 Chapter 3: Tables and Page Layout

More information

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

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1 59313ftoc.qxd:WroxPro 3/22/08 2:31 PM Page xi Introduction xxiii Chapter 1: Creating Structured Documents 1 A Web of Structured Documents 1 Introducing XHTML 2 Core Elements and Attributes 9 The

More information

blink.html 1/1 lectures/6/src/ form.html 1/1 lectures/6/src/

blink.html 1/1 lectures/6/src/ form.html 1/1 lectures/6/src/ blink.html 1/1 3: blink.html 5: David J. Malan Computer Science E-75 7: Harvard Extension School 8: 9: --> 11:

More information

3. Each of these mark examples contains an error. a. <input name= country value= Your country here. /> b. <checkbox name= color value= teal />

3. Each of these mark examples contains an error. a. <input name= country value= Your country here. /> b. <checkbox name= color value= teal /> 1. Decide whether each of these forms should be sent via the GET or POST method: A form for accessing your bank account online A form for sending t-shirt artwork to the printer A form for searching archived

More information

(X)HTML. Internet Engineering. Spring Bahador Bakhshi CE & IT Department, Amirkabir University of Technology

(X)HTML. Internet Engineering. Spring Bahador Bakhshi CE & IT Department, Amirkabir University of Technology (X)HTML Internet Engineering Spring 2018 Bahador Bakhshi CE & IT Department, Amirkabir University of Technology Questions Q2) How is a web page organized? Q2.1) What language is used for web pages? Q2.2)

More information

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

LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI INDEX No. Title Pag e No. 1 Implements Basic HTML Tags 3 2 Implementation Of Table Tag 4 3 Implementation Of FRAMES 5 4 Design A FORM

More information

Chapter 4 Creating Tables in a Web Site Using an External Style Sheet

Chapter 4 Creating Tables in a Web Site Using an External Style Sheet Chapter 4 Creating Tables in a Web Site Using an External Style Sheet MULTIPLE RESPONSE Modified Multiple Choice 1. Attributes are set relative to the elements in a table. a. line c. row b. column d. cell

More information

ABSOLUTE FORM PROCESSOR ADMINISTRATION OPTIONS

ABSOLUTE FORM PROCESSOR ADMINISTRATION OPTIONS ABSOLUTE FORM PROCESSOR ADMINISTRATION OPTIONS The Absolute Form Processor is very easy to use. In order to operate the system, you just need the menu at the top of the screen. There, you ll find all the

More information

Networking and Internet

Networking and Internet Today s Topic Lecture 13 Web Fundamentals Networking and Internet LAN Web pages Web resources Web client Web Server HTTP Protocol HTML & HTML Forms 1 2 LAN (Local Area Network) Networking and Internet

More information

AGENDA. EMBEDDING FONTS [ Font Files & CSS font-family ] :: Online Font Converter :: ADD font-family css code to style.css

AGENDA. EMBEDDING FONTS [ Font Files & CSS font-family ] :: Online Font Converter :: ADD font-family css code to style.css CLASS :: 12 05.04 2018 3 Hours AGENDA CREATE A WORKS PAGE [ HTML ] :: Open index.html :: Save As works.html :: Edit works.html to modify header, 3 divisions for works, then add your content :: Edit index.html

More information

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website.

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website. 9 Now it s time to challenge the serious web developers among you. In this section we will create a website that will bring together skills learned in all of the previous exercises. In many sections, rather

More information

Silk Test Object Recognition with the Classic Agent

Silk Test Object Recognition with the Classic Agent Silk Test 13.5 Object Recognition with the Classic Agent Micro Focus 575 Anton Blvd., Suite 510 Costa Mesa, CA 92626 Copyright 2012 Micro Focus. rights reserved. Portions Copyright 1992-2009 Borland Software

More information

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal COMSC-030 Web Site Development- Part 1 Part-Time Instructor: Joenil Mistal Chapter 9 9 Working with Tables Are you looking for a method to organize data on a page? Need a way to control our page layout?

More information

Table-Based Web Pages

Table-Based Web Pages Table-Based Web Pages Web Authoring and Design Benjamin Kenwright Outline What do we mean by Table-Based Web Sites? Review Table Tags/Structure Tips/Debugging/Applications Summary Review/Discussion Submissions/Quizzes/GitHub

More information

PROFILE DESIGN TUTORIAL KIT

PROFILE DESIGN TUTORIAL KIT PROFILE DESIGN TUTORIAL KIT NEW PROFILE With the help of feedback from our users and designers worldwide, we ve given our profiles a new look and feel. The new profile is designed to enhance yet simplify

More information

HTML Tags <A></A> <A HREF="http://www.cnn.com"> CNN </A> HREF

HTML Tags <A></A> <A HREF=http://www.cnn.com> CNN </A> HREF HTML Tags Tag Either HREF or NAME is mandatory Definition and Attributes The A tag is used for links and anchors. The tags go on either side of the link like this: the link

More information

Website Development with HTML5, CSS and Bootstrap

Website Development with HTML5, CSS and Bootstrap Contact Us 978.250.4983 Website Development with HTML5, CSS and Bootstrap Duration: 28 hours Prerequisites: Basic personal computer skills and basic Internet knowledge. Course Description: This hands on

More information

COMP1000 Mid-Session Test 2017s1

COMP1000 Mid-Session Test 2017s1 COMP1000 Mid-Session Test 2017s1 Total Marks: 45 Duration: 55 minutes + 10 min reading time This examination has three parts: Part 1: 15 Multiple Choice Questions (15 marks /45) Part 2: Practical Excel

More information

11. HTML5 and Future Web Application

11. HTML5 and Future Web Application 11. HTML5 and Future Web Application 1. Where to learn? http://www.w3schools.com/html/html5_intro.asp 2. Where to start: http://www.w3schools.com/html/html_intro.asp 3. easy to start with an example code

More information

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

HTML. LBSC 690: Jordan Boyd-Graber. October 1, LBSC 690: Jordan Boyd-Graber () HTML October 1, / 29 HTML LBSC 690: Jordan Boyd-Graber October 1, 2012 LBSC 690: Jordan Boyd-Graber () HTML October 1, 2012 1 / 29 Goals Review Assignment 1 Assignment 2 and Midterm Hands on HTML LBSC 690: Jordan Boyd-Graber

More information

Information and Communication Technology (ICT) CBSE Board Question Paper 2018 Solution

Information and Communication Technology (ICT) CBSE Board Question Paper 2018 Solution Information and Communication Technology (ICT) CBSE Board Question Paper 2018 Solution 1. Multiple Choice Questions (a) A bit may contain value (i) 0 (ii) 1 (iii) Both 0 and 1 (iv) Either 0 or 1 Ans. (iv)

More information

BOOTSTRAP FORMS. Wrap labels and controls in a <div> with class.form-group. This is needed for optimum spacing.

BOOTSTRAP FORMS. Wrap labels and controls in a <div> with class.form-group. This is needed for optimum spacing. BOOTSTRAP FORMS http://www.tutorialspoint.com/bootstrap/bootstrap_forms.htm Copyright tutorialspoint.com In this chapter, we will study how to create forms with ease using Bootstrap. Bootstrap makes it

More information

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

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

More information

core programming HTML Forms Sending Data to Server-Side Programs Marty Hall, Larry Brown

core programming HTML Forms Sending Data to Server-Side Programs Marty Hall, Larry Brown core programming HTML Forms Sending Data to Server-Side Programs 1 2001-2003 Marty Hall, Larry Brown http:// Agenda Sending data from forms The FORM element Text controls Push buttons Check boxes and radio

More information

Computer Science E-75 Building Dynamic Websites

Computer Science E-75 Building Dynamic Websites Computer Science E-75 Building Dynamic Websites Harvard Extension School http://www.cs75.net/ Lecture 0: HTTP David J. Malan malan@post.harvard.edu http://www.cs.harvard.edu/~malan/ 0 DNS Image from wikipedia.org.

More information

WEBD 236 Web Information Systems Programming

WEBD 236 Web Information Systems Programming WEBD 236 Web Information Systems Programming Week 4 Copyright 2013-2017 Todd Whittaker and Scott Sharkey (sharkesc@franklin.edu) Agenda This week s expected outcomes This week s topics This week s homework

More information

Indian Institute of Technology Kharagpur. HTML Part III. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T.

Indian Institute of Technology Kharagpur. HTML Part III. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T. Indian Institute of Technology Kharagpur HTML Part III Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T. Kharagpur, INDIA Lecture 15: HTML Part III On completion, the student will be able

More information

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS LESSON 1 GETTING STARTED Before We Get Started; Pre requisites; The Notepad++ Text Editor; Download Chrome, Firefox, Opera, & Safari Browsers; The

More information

jquery - Other Selectors In jquery the selectors are defined inside the $(" ") jquery wrapper also you have to use single quotes jquery wrapper.

jquery - Other Selectors In jquery the selectors are defined inside the $( ) jquery wrapper also you have to use single quotes jquery wrapper. jquery - Other Selectors In jquery the selectors are defined inside the $(" ") jquery wrapper also you have to use single quotes jquery wrapper. There are different types of jquery selectors available

More information

How to Edit Your Website

How to Edit Your Website How to Edit Your Website A guide to using your Content Management System Overview 2 Accessing the CMS 2 Choosing Your Language 2 Resetting Your Password 3 Sites 4 Favorites 4 Pages 5 Creating Pages 5 Managing

More information

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

HTML. MPRI : Web Data Management. Antoine Amarilli Friday, December 7th 1/28 HTML MPRI 2.26.2: Web Data Management Antoine Amarilli Friday, December 7th 1/28 General presentation HyperText Markup Language Describes a Web page (not the only kind of Web content...) Normalized by

More information

chapter 7 Interacting with Users Tell me and I will forget. Show me and I will remember. Involve me and I will understand.

chapter 7 Interacting with Users Tell me and I will forget. Show me and I will remember. Involve me and I will understand. chapter 7 Interacting with Users Tell me and I will forget. Show me and I will remember. Involve me and I will understand. Aristotle In this chapter, you will learn how to: Define the elements of an HTML

More information

Html basics Course Outline

Html basics Course Outline Html basics Course Outline Description Learn the essential skills you will need to create your web pages with HTML. Topics include: adding text any hyperlinks, images and backgrounds, lists, tables, and

More information

HTML. HTML Evolution

HTML. HTML Evolution Overview stands for HyperText Markup Language. Structured text with explicit markup denoted within < and > delimiters. Not what-you-see-is-what-you-get (WYSIWYG) like MS word. Similar to other text markup

More information

Javascript. UNIVERSITY OF MASSACHUSETTS AMHERST CMPSCI 120 Fall 2010

Javascript. UNIVERSITY OF MASSACHUSETTS AMHERST CMPSCI 120 Fall 2010 Lecture 21 Javascript Announcements Reminder: beginning with Homework #7, Javascript assignments must be submitted using a format described in an attachment to HW#7 3rd Exam date set for 12/14 in Goessmann

More information

Chapter 4 Notes. Creating Tables in a Website

Chapter 4 Notes. Creating Tables in a Website Chapter 4 Notes Creating Tables in a Website Project for Chapter 4 Statewide Realty Web Site Chapter Objectives Define table elements Describe the steps used to plan, design, and code a table Create a

More information

Building Web Based Application using HTML

Building Web Based Application using HTML Introduction to Hypertext Building Web Based Application using HTML HTML: Hypertext Markup Language Hypertext links within and among Web documents connect one document to another Origins of HTML HTML is

More information