Introduction to HTML Bent Thomsen Institut for Datalogi Aalborg Universitet.

Slides:



Advertisements
Similar presentations
Anatomy of a Web Page. Parts of a Web Page Title Bar Navigation Tool Bar Location Bar Header Graphic/Image Text Horizontal Rule Links.
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 1450 Technology Seminar Copyright 2003, Matthew Hottell.
1 Programming the Web: HTML Basics Computing Capilano College.
HTML popo.
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.
Basic HTML Trystan Upstill Comp3400 Lecture 06/03/2001.
HTML. The World Wide Web Protocols Addresses HTML.
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.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
HTML and XHTML Controlling the Display Of Web Content.
Introduction to HTML CPS470 Software Engineering Fall 1998.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
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.
Week 1 8/10/2015iSTTS, Agenda Introduction to HTML Creating and publishing a Web page Validating a document Main HTML elements Block-level HTML.
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
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 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.
ITCS373: Internet Technology HTML
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
1 Essential HTML coding By Fadi Safieddine (Week 2)
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.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
Basic HTML Workshop By: Preeda Chunjongkolkul (Pete) Systems Librarian/Webmaster
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
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.
Exploring the Digital Domain HTML Basics. HTML Hypertext Markup Language Standard (ASCII) text with embedded format codes Most HTML tags are paired Tags.
Just Enough HTML How to Create Basic HTML Documents.
Web Design-Lecture1-QN-2003 Web Design Web Design Using HTML.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
Chapter 13. Applets and HTML HTML Applets Computer Programming with JAVA.
1 © Copyright 2000 Ethel Schuster The Web… in 15 minutes Ethel Schuster
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
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.
CPT 499 Internet Skills for Educators Session Ten Class Notes.
HTML Basics. HTML Introduction Stands for HyperText Markup Language. HTML files are plain text files with mark ups. Some characteristics of HTML: –No.
Chapter 2 Designing Web Pages With HTML JavaMethods An Introduction to Object-Oriented Programming Maria Litvin Gary Litvin Copyright © 2003 by Maria Litvin,
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
HTML HyperText Markup Language. Text Files An array of bytes stored on disk Each element of the array is a text character A text editor is a user program.
HTML – The Basics COE 201- Computer Proficiency. The Internet The World Wide Web ▫Also known as the Web ▫Created in 1989  European Laboratory for Particle.
HTML Assoc. Prof. Rozinah Jamaludin 28 January 2010.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
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.
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
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
HTML – The Basics Rebecca Shillingburg
CompSci 1 Lecture 2 HTML Webpages. Today’s Topics Basic HTML The basis for web pages “Almost” programming Upcoming Programming Java Reading Great Ideas.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
1 R3 R1 R5 R4 R6 R2 B B A A Looking at the Code Under the View menu Select Source.
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.
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
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:

Introduction to HTML Bent Thomsen Institut for Datalogi Aalborg Universitet

October 2002Bent Thomsen FIT World Wide Web Documents linked by Universal Resource Locators (URL) Example: Distributed hypertext documents

October 2002Bent Thomsen FIT Document viewing Microsoft Internet Explorer

October 2002Bent Thomsen FIT Document viewing Netscape

October 2002Bent Thomsen FIT Other browsers

October 2002Bent Thomsen FIT Browser and Server communication http request (path and parameters) HTTP answer (HTML code)

October 2002Bent Thomsen FIT HyperText Markup Language An HTML document is a plain text file It contains text and other information to be displayed by a web browser It also contains formatting tags It can be created in a plain text editor Or by a WYSIWYG tool Or by a program running on a server

October 2002Bent Thomsen FIT HTML formatting HTML documents contain text and formatting tags Tags follow a simple rule: – string of text E.g. – What are HTML tags? I.e. like matching brackets Except a few tags like – and Note HTML tags are not case sensitive – and are the same

October 2002Bent Thomsen FIT A first example A Simple HTML Example HTML is Easy To Learn Welcome to the world of HTML. This is the first paragraph. While short, it is still a paragraph! And this is the second paragraph.

October 2002Bent Thomsen FIT Why are we interested in HTML Code? Because there are things that can not be done using WYSIWIG editors To ensure that web pages look reasonable in all browsers To learn from other peoples good ideas To be able to do web programming and use forms –In web programming you write programs generating HTML –For that you need to understand HTML

October 2002Bent Thomsen FIT HTML Syntax HTML has a small vocabulary Getting the syntax wrong will not (or should not) crash your browser Tags the browser doesn’t understand are ignored – What are HTML tags? Several important versions of HTML –HTML 1.0, HTML 3.2 and HTML 4.0

October 2002Bent Thomsen FIT Head Command Tags and Contains formatting and other instructions Title This is title –Places title above the tool bar Background images/colours – Scripts

October 2002Bent Thomsen FIT Body Command After command and Before

October 2002Bent Thomsen FIT Text formatting Paragraphs –The tag (and ) – Line breaks –The tag Horisontal line Preformatted text –

October 2002Bent Thomsen FIT Headings Heading 1 Heading 2 Heading 3 Base text Heading 4 Heading 5 Heading 6

October 2002Bent Thomsen FIT Emphasis Bold Italics

October 2002Bent Thomsen FIT Text Size … …

October 2002Bent Thomsen FIT More text size … subscript

October 2002Bent Thomsen FIT Fonts Arial, Helvetica, Times, Courier, … Tele Type Underscore Line through

October 2002Bent Thomsen FIT Other formatting Changing Colours – Blinking text –

October 2002Bent Thomsen FIT Special characters CharacterLetter codeNumeric code æææ Æ&AElig,;Æ øøø ØØØ ååå ÅÅÅ &&& <<< >>>

October 2002Bent Thomsen FIT Lists Numbered lists … and Bla Bla Bla More Bla Bla

October 2002Bent Thomsen FIT More lists Attributed lists … Bla Bla Bla More Bla Bla Possible values for TYPE are 1, a, A, i and I

October 2002Bent Thomsen FIT And more lists Unnumbered lists … Bla Bla Bla More Bla Bla

October 2002Bent Thomsen FIT List in lists Bla Bla Bla More Bla Bla in a sublist even more Bla Bla back to the first list

October 2002Bent Thomsen FIT Definition Lists …, and First Bla Second Bla Bla Third More Bla Bla

October 2002Bent Thomsen FIT Tables … Starts a table row Table heading (in bold) Table cell Table attributes –ALIGN, WIDTH, BORDER, BGCOLOR –CELLPADDING, CELLSPACING

October 2002Bent Thomsen FIT Table example Department March June Comp Eng 400> 350

October 2002Bent Thomsen FIT Hyperlinks Relative vs. Absolute links –Relative links = relative to the location of the page –Absolute links tell exactly where the item is Clickable links – Link text

October 2002Bent Thomsen FIT Internal links –Notice the #

October 2002Bent Thomsen FIT Images Types of images –.jpg or.gif or … Tags – Setting image size – Providing alternatives –

October 2002Bent Thomsen FIT Forms My comments are

October 2002Bent Thomsen FIT The result

October 2002Bent Thomsen FIT More stuff to put in forms – –A single line text box –As text, but typing is not shown –Checkboxes, more than one can be selected <INPUT TYPE=RADIO –Radio buttons, only one can be selected

October 2002Bent Thomsen FIT Rounding off pages Return tags –In a collection of pages it is nice to be able to navigate easily Mailto tags – Text or image

October 2002Bent Thomsen FIT Steps to create a web page Create HTML document(s) Create folder on a server Upload document(s) to folder View page on the Internet

October 2002Bent Thomsen FIT Design for your target audience Be sure of the purpose of your web site Think about your target audience –What you write and how you write –Think about their connectivity –Think about possible browsers –Think about plug-ins if you use special contents Provide alternative contents for images

October 2002Bent Thomsen FIT Top Ten Mistakes Using Frames Gratuitous use of Bleeding-Edge Technology Scrolling text and constantly animated pictures Complex URLs Long scrolling pages Lack of navigational support Non-standard link colours Outdated information Overly long download times

October 2002Bent Thomsen FIT