JMD2144 – Lesson 4 Web Design & New Media.

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

HTML popo.
Designing Websites Using HTML and FrontPage A Typical Webpage View Source A webpage is a text file containing instructions to tell a computer how the.
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Html: getting started HTML is hyper text markup language. It is what web browsers look at on the Internet. HTML documents should be created in a simple.
Hypertext markup language.  Client asks for an html file  Server returns the html file  Client parses and displays it  This display is what most people.
Anne McGrath 16 th February  Review of what we have learned so far.  Angled brackets surround HTML tags.  The words between the angled brackets.
UNIT 12 LO4 BE ABLE TO CREATE WEBSITES Cambridge Technicals.
HTML Creating Web pages. HTML Hyper Text Markup Language Not programming, but a markup language using tags to format text in Web browsers.
How Tags are used to form your Web Page
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
HTML for Beginners An IEEE/ACM Presentation given by Hamilton Turner.
1 HTML Markup language – coded text is converted into formatted text by a web browser. Big chart on pg. 16—39. Tags usually come in pairs like – data Some.
Web Page Development Identify elements of a Web Page Start Notepad
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
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 Basics An Introduction to HTML. What is HTML? Stands for “Hyper Text Markup Language” Composed of “tags” which are surrounded by sideways triangles.
Tags through Forms. This element is required for all HTML pages It must be at the top of every page of every website We’ll see later on why it is important.
JMD2144 – Lesson 5 Web Design & New Media. ‘Div’ide and conquer One of the most versatile structure tags available is the.. tag Short for ision, it allows.
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
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.
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
HTML & CSS A brief introduction. OUTLINE 1.What is HTML? 2.What is CSS? 3.How are they used together? 4.Troubleshooting/Common problems 5.More resources.
Class 3 – Creating Lists In this lesson, you will learn to use HTML to organize your text into lists.
HTML basics exercises.
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.
Web Technologies Website Development Trade & Industrial Education
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
Understanding HTML Code
 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.
1 Basic HTML. 2 Part 1: Basic Web Page Production.
More Basic HTML. Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features Add alignments.
Getting Started with HTML Please use speaker notes for additional information!
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
All you ever needed to know…and more!. H.T.M.L. HyperText Mark-up Language Web’s programming language All web browsers Set of instructions Written with.
Essentials of HTML Class 4 Instructor: Jeanne Hart
IS1824: Introduction to Internet Multimedia Lecture 5: Layout in HTML Rob Gleasure
Week 1 – Beginners Content McAfee & Big Fish Games CoderDojo.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
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”
HTML— More Tags, Formatting, and Lists. Formatting Tags  Bold  Italics  Underline  Big text  Small text  Subscript (H 2 O)  Superscript (10 3 )
Tables Web Authoring. This kind of a table THISIs aTABLE THISIs aTABLE THISIs aTABLE THISIs aTABLE.
Introduction to HTML. HTML Introduction HTML – Hypertext Markup Language are the instructions that tell a browser how to lay out the information (text,
HTML GUIDE Press F5 and then Click on the links on the left to get to the section you want Section 1: Getting Started Section 2: Moving Banner Section.
HTML Tables The HTML table model allows authors to arrange data - text, preformatted text, images, links, forms, form fields, other tables, etc. - into.
Greetings. Click on the ship to start the HTML journey. Try and get every thing right. Otherwise, I’ll send you back!
Cascading Style Sheets
Spiderman ©Marvel Comics Creating Web Pages (part 1)
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Getting Started with HTML. HTML  Hyper Text Markup Language  HTML isn’t a program language, its known as a markup language  A Markup language has tags.
Introduction to Web Authoring Ellen Cushman /wra210.htm Class mtg. #2.
TABLES IN HTML No, not that kind of table!! THIS KIND!!
HTML Tags BTT1O. HTML  Documents written in hypertext markup language can be interpreted by all web browsers.  This language lets the web page developer.
Chapter 4 HTML Tags. HTML is written in something called tags. Tags come in pairs, an opening one and a closing one. The first pair of tags we'll write.
Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.
1 R3 R1 R5 R4 R6 R2 B B A A Looking at the Code Under the View menu Select Source.
Revised June 2008 Online PD Basic HTML1 Let’s Try It!  Open Notepad oStart > All Programs > Accessories > Notepad oDon’t get WordPad by mistake – won’t.
HTML Hyper Text Markup Language. What is HTML HTML stands for the Hyper Text Markup Language. HTML stands for the Hyper Text Markup Language. HTML is.
Let’s Try It! Open Notepad
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
If You Know Nothing About HTML, This is Where You Start.
Training & Development
HTML Structure.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

JMD2144 – Lesson 4 Web Design & New Media

Here’s what you’re building You’ll start to see a pattern with these HTML projects: first we’ll show you what you’ll be making, then we’ll walk you through actually making it! You’ll be creating your own social networking profile. Check out the profile for King Kong by clicking on the link from this url: http://www.faudzi.com/wdnm

You have the power Under fancy skin, a social networking profile is just a list of text, images, and links. And you know all about those! We’ve set up your profile page with the basics, but the details are up to you First off, let’s make this page about YOU

Instructions Open up a new HTML document Put your name between the <title> tags Put a picture of yourself (or anything else) between the <body> tags

A bit about you Great! Now we know your name and what you look like, but that’s about it Your profile page should include a little big about you! So, create a paragraph below your picture that mentions your age, gender, and hometown. Don’t get carried away – we will get to your interests, favorite things, and where you’ve lived, worked or gone to school in the next section …

Profile sections Nice … It’s starting to look like a profile page already Most profile pages are divided up into sections: your interests, favorite quotes, where you work, where you went to school, where you live, and so on. We can do this with an unordered list! Below the paragraph about yourself, create an unordered list. Each list item should be a category: for example, Interests, Jobs, Favorite Quotes, Where I’ve Lived, and so on

Now that you have your profile sections set up, it’s time to add in your favorite things (and others according to the sections) Try to use nested list in your page Try to use both unordered and ordered list

Fancy up your font Perfect. Your profile’s really coming along! It still looks a bit bland, though. Thankfully, you know how to fancify your fonts with the font-family, font-size and color properties! Which is exactly what you’re about to do Spice up your profile with different fonts, sizes and colors. You can do any combination you like, so long as you use font-family, font-size and color at least once each Bold and italicize some items in your list

HTML Basics III - Introduction Our HTML journey has been progressing very nicely. We’ve covered how to set up the skeleton of an HTML file headings, paragraphs, images and links font colors, sizes, and types background colors, aligning text, bolding and italicizing font Now we’ll cover some important structural aspects of HTML: <table>, <div> and <span>

Let’s recap a bit Type this code <!DOCTYPE html> <html> <head> <title>Table Time</title> </head> <body> <h1>Tables Are Mega Sweet</h1> </body> </html>

Then do this Make the heading have the font Arial Add an image! Add a second image which is clickable and links to a site

What are tables? Tables are very useful. We use them to store tabular data so it is easy to read! When you want to present information neatly in a table with rows and columns – you guessed it – the <table> tag is what you need There are many tags associated with tables, but it all starts with the <table> tag, so let’s add that first

Write a skeleton HTML document, and then … Add an opening and closing set of <table> tags to the body of this HTML document At the moment, if you run the code, nothing happens because you need to populate the table with data

Rows of information A table is just a bunch of information arranged in rows and columns We use the <tr> tag to create a table row. We’ll learn how to create columns shortly, and everything will start to come together Columns are ‘not created’ in <tables>; instead, you tell each row how many cells to have, and that determines your number of columns

How would you add two more rows in this table? <html> <head> <title>Table Time</title> </head> <body> <table> <tr></tr> <!– this creates a row --> <!-- Add two more rows below this! --> </table> </body> </html>

A single column (only the body section is shown) <body> <table border="1px"> <tr> <td>One</td> </tr> </table> </body>

Can you tell that there are still three rows after you run the code? We’ve added a single <td> (“table data”) cell to the first row, essentially creating a single column If you view the result, you’ll see that there’s a border drawn around it (it looks ugly, though)

Now do this In the second row, add a table data (<td></td>) cell and type Two between the tags In the third row, add another cell with Three between the tags Run it and see what you will get Basically, you can see we have 1 column with 3 rows, and each row contains exactly one cell

Add a second column It may not have seemed like much, but you just created a single-column table in the last exercise. Nice work! Now take a look at what we have in the next slide … (only the <body> is shown)

<body> <table border="1px"> <tr> <td>King Kong</td> <td>1933</td> </tr> <td>Dracula</td> <td>Bride of Frankenstein</td> </table> </body>

Notice in the first table row we now have two table data cells Adding a second table data cell has the effect of adding a second table column, although if you see the results, it may look funny because only the first row has two cells (don’t believe me? Run it in an Internet browser) Let’s fix that!

Sweet! We now have a basic table Add a <td> tag to the second <tr> tag with the value 1897, like this: <td>1897</td> Add a <td> tag to the third <tr> tag with the value of 1935 Run the code. We now have a total of 2 columns and 3 rows, and each row has 2 cells Sweet! We now have a basic table

Let’s make it better – Head of the table Use the table we made earlier To make our table look a little more like a table, we’ll use the <thead> and <tbody> tags. These go within the <table> tag and stand for table head and table body, respectively The <head> HTML tag contains information about a web page (e.g. its title) and the <body> tag contains the contents of the web page

In the same way, <thead> tag can be thought of as containing information about a table <tbody> tag contains the actual tabular data <tbody> should be place BEFORE the first <tr>, and ends </tbody> AFTER the LAST </tr>

<thead> should be place BEFORE the <tbody> <thead> should be place BEFORE the <tbody>. It holds the heading for each column You add text to a <thead> similar to a <tbody>, like this: <thead> <tr> <th> Name </th> Favorite Color </tr> </thead>

Naming your table The table is missing a title We want to add a title row that goes all the way across the top We need to use colspan attribute for the <th> tag By default, table cells take up 1 column – if we want a table cell to take up the space of 3 columns, we set colspan attribute to 3 <th colspan=“3”>3 columns across!</th>

Type this code, run it and see the results <html> <head> <title>Table Time</title> </head> <body> <table style="border-collapse:collapse;"> <thead> <tr> <th colspan="2" style="color:red;">Famous Monsters by Birth Year</th> </tr> <tr style="border-bottom:1px solid black;"> <th style="padding:5px;"><em>Famous Monster</em></th> <th style="padding:5px;border-left:1px solid black;"><em>Birth Year</em></th> </thead> <tbody> <td style="padding:5px;">King Kong</td> <td style="padding:5px;border-left:1px solid black;">1933</td> <td style="padding:5px;">Dracula</td> <td style="padding:5px;border-left:1px solid black;">1897</td> <td style="padding:5px;">Bride of Frankenstein</td> <td style="padding:5px;border-left:1px solid black;">1944</td> </tbody> </table> </body> </html>

End of Lesson 4 See you next week