Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.

Slides:



Advertisements
Similar presentations
Farhan Nisar University of Peshawar
Advertisements

HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
HTML Basics Customizing your site using the basics of HTML.
Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
WeB application development
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
MMDE5011 – INTERACTIVE MEDIA PRACTICE 1 WEEK 1: INTRODUCTION TO HTML5
MIS 425 Lecture 1 – HTML Basics and Web Page Design Instructor: Martin Neuhard
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML Code. What we will cover Basic HTML Body Font Images Hyperlinks Tables Frames.
Chapter 14 Introduction to HTML
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
CS105 Introduction to Computer Concepts HTML
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
1 Essential HTML coding By Fadi Safieddine (Week 2)
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
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.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Html Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Web Programming Basics of HTML. HTML stands for Hyper Text Mark-up Language A mark-up language is different than those that you have learned before in.
Just Enough HTML How to Create Basic HTML Documents.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
HTML: Hyptertext Markup Language Doman’s Sections.
Week 1 – Beginners Content McAfee & Big Fish Games CoderDojo.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
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 Basic. What is HTML HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
REEM ALMOTIRI Information Technology Department Majmaah University.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.
HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING. INTRODUCTION TO HTML With HTML you can create your own Web site. HTML stands for Hyper Text Markup Language.
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.
Introduction to HTML.
HTML Basics.
Introduction to XHTML.
COMPUTING FUNDAMENTALS
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Introduction to HTML.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
AN INTRODUCTION BY FAITH BRENNER
Presentation transcript:

Introduction to Web Design Lecture number:

Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.

Web-sites A website is a document comprising of text, images, videos, and links to other websites. Websites are usually hosted on web-servers Web-server is usually a normal computer listening to port 80 and addressed by an internet IP and/or a domain name Example:

How are websites made Websites are constructed of small HTML blocks called Tags. HTML stands for Hyper Text Markup Language. HTML is a designing language where we describe a visual design in terms of text. Example: This is a very large heading ( are the tags)

Basic HTML structure In building every structure we need to make the skeleton first. In a website the skeleton consists of three things: i. The Header ii. The Title iii.The Body

The website Header The website header or HTTP header is a few bytes of information exchanged between the web-server and web-browser. It contains information about the type of data that is being exchanged and/or any answers to requests made by the client. In HTML a header is represented by tags.

HTML element The element may contain vital information called meta data which describes the website in terms of its owner, related keywords,type of document etc. The meta elements make it easier for search engines to index(or categorize) the website. Example: would describe an automobile related website.

The website title The Title describes the current documents title which is displayed in the title bar of the web browser. Title is represented by the tags in HTML. Example: Welcome to Engineerd.NET

The website body It is the actual content of the website. Represented by tags. We may change the websites background color, background image, margins, and any events that we want to take place when the website is loaded or closed etc. Example: …content….

Making a basic website A basic website shall be stored as.html or.htm extension. We need to write down the code in notepad and then run it in the web-browser. The web-browser translates or parses the HTML code.

Making a basic website(2) Open windows notepad and write down the following code and save as mywebpage.html: Welcome to my website

Making a basic website(3) Now browse to that website and double click it (if you have a web-browser like Internet Explorer installed). A browser window should open displaying the output of the code. This is a basic HTML web-page.

HTML tags and attributes Every HTML tag is enclosed in angle brackets <>. We must end every HTML tag we can do this by putting a separate tag consisting name of the tag preceded by a forward slash / or simply a / at the end of the same tag depending on whether its a container tag or not(container tags consist of some text between the opening and closing tags Examples: Some title (container) or (non-container) Attributes are used for fine tuning the tags by specifying their colors or widths etc.

HTML tags and attributes(2) Every tag has its own set of attributes. Examples: or some text General HTML tag syntax:..contained text..

Some typical tags Some of the most commonly used HTML tags are: i. Headings,, … ( ) ii. Font iii. Images iv. Line break v. Horizontal Rule vi. Hyper links and Anchors

HTML Headings HTML headings are bold weighted text. Their sizes may very between six different levels. Headings are specified by and. Container tag, i-e Some text or Some text etc.

Headings example Check the output for the following HTML code(after providing the skeleton code). This is a level-1 heading its the biggest This is a level-2 heading This is a level-3 heading This is a level-4 heading This is a level-5 heading This is a level-6 heading its the smallest

Headings: Output

Working with text( tag) The tag is used to format the text by specifying different text colors, sizes, faces etc. It is a container tag so the text to be formatted must fall inside the opening and closing tags. Common attributes are color face and size. Example:...Text to be formatted...

Working with text:example Observe the output for the following html code: Some Text Here

Working with text: Output(magnified)

Working with Images An image adds to the vibrance of a web- page. We can add images in gif, jpg or png formats. The tag is used to represent images. is a non-container tag. Typical attributes are: src, alt, width, height.

Working with images(2) src specifies the source of the image on the computer(we have to specify the complete path if the image is not in the same folder as the web-page). alt specifies a piece of text that will be displayed if the image is not available or is yet loading.

Working with Images: Example Observe the output for the following HTML code: If the web-page is stored on desktop, make sure there is a folder named images on desktop which contain an image file named image1.gif.

Horizontal Rule Used to draw a horizontal line anywhere in the HTML document. Typical attributes are color, align and width. width can have a value in pixels or in percents of the screen, align is used to for horizontal alignment of the line it can be center, left or right. Example: or

Hyperlinks A Hyper link is an image or text which when clicked, opens another web-page, or file. It is like a doorway or a portal to another page. Hyperlinks are represented by the tag and we can specify the link as a value to the href attribute. Example: Click Here The tag is a container tag, it can contain text or images, eg

Hyperlinks: Example The browser applies a default formatting to every hyperlink i-e blue color and underlining, we can over- ride this using css which well study later on. Try to check the output for the following code: Visit Google! and When you roll the mouse over a hyperlink, the cursor changes.

Anchors An anchor is part of a webpage that can be accessed using a hyperlink. Anchors specify locations inside a webpage. For-example: refers to the whole webpage whereas refers to a point called anchor1 inside the google.com page. To specify anchors we simply put the tag with the name attribute eg: Anchors are specifically helpful in lengthy pages like online tutorials/books etc for navigational purposes. Image as hyperlink

Working with Tables We can create tables in HTML, a table is represented by the tag and it must contain rows and columns. A row is represented by tag and a column by. We must create a row first and then create the columns inside the row. We can specify the border etc in the tag.

Working with Tables: Example

Lists Coffee Milk Coffee Black hot drink Milk White cold drink