Getting Started with HTML

Slides:



Advertisements
Similar presentations
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Advertisements

HTML: HyperText Markup Language Hello World Welcome to the world!
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
Web development  World Wide Web (web) is the Internet system for hypertext linking.  A hypertext document (web page) is an online document. It contains.
CIS101 Introduction to Computing
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Web page - A Web page is a simple text file that contains HTML tags (code) that describe what should be displayed on the browser. -The Web browser interprets.
CHAPTER 1 GETTING STARTED WITH HTML. LEARNING OBJECTIVES How a Web browser downloads and processes an HTML page for display What is the purpose of a Web.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Computer Science 101 Introduction to Web Pages. Origins of the Web Vannevar Bush (Memex, 1945) Ted Nelson (Xanadu, 1968) Doug Englebart and Alan Kay (
DATA COMMUNICATION DONE BY: ALVIN SAMPATH CARLVIN SAMPATH.
CS 101 – Dec. 2 Download speed Internet vs. Web Domains HTML.
CS117 Introduction to Computer Science II Lecture 1 Introduction to WWW and HTML Instructor: Li Ma Office: NBC 126 Phone: (713)
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
Website Development & Management Creating Web Pages CIT Fall Instructor: John Seydel, Ph.D.
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.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
A Basic Web Page. Chapter 2 Objectives HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements.
Just Enough HTML How to Create Basic HTML Documents.
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,
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Web Page Design Introduction. The ________________ is a large collection of pages stored on computers, or ______________ around the world. Hypertext ________.
CS 111 – Oct. 4 Web design –HTML –Javascript Commitment: –This week, read sections 4.3 – 4.5.
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.
Lesson 2 – Unit B. Quick review 1. What is the name of the eGCC host that you ftp your files? 2. What type of software do you use to create and edit web.
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
© Ms. Masihi.  A Web page contains text and images that convey specific information to viewers.  To create a new web page, open Dreamweaver and select.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Lesson 5. XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating.
HTML Structure & syntax
Basic concepts of web design
Getting Started with HTML
Introduction to HTML.
Introduction to HTML Section A – Programming, HTML
HTML: HyperText Markup Language
HTML & teh internets.
Chapter 2 Client/Server Applications
Coding, Testing and Valdating a Web Page
WEB PAGES: CREATING AND MAINTAINING **
Creating a Home Page in HTML
HTML Robert McIntosh
Web Programming– UFCFB Lecture 5
HTML Vocabulary.
Chapter 13 Web Editing © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
WEBSITE DESIGN Chp 1
Introducing HTML & XHTML:
Unit A.
HTML 12/27/2018.
Overview of HTML.
Intro to Web Development HTML Structure
LESSON 1 Module 2: XHTML Basics Basic XHTML.
Chapter 16 The World Wide Web.
HyperText Markup Language
An Introduction to HTML Pages
CAII 4.01 Web Page Design Terms List 2.
Lesson 2: HTML5 Coding.
WJEC GCSE Computer Science
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

Getting Started with HTML Chapter 1 Getting Started with HTML

Learning Objectives How a Web browser downloads and processes an HTML page for display What is the purpose of a Web server How to use a text editor to create your own HTML file Why browsers, when displaying an HTML file’s content, will ignore spacing such as tabs and carriage returns  What Web development software programs you may want to use to simplify the process of creating webpages What are the common tags that developers place within HTML files How to display the HTML tags for a site you are viewing within a browser What the purpose of a domain name is and how to get your own How to test the webpages you create within all of the common browsers because not all browsers behave the same way

Learning objectives continued How to view webpages from your own computer Why you should avoid spaces within your HTML filenames How to display special symbols within an HTML page How to view a site’s HTML tags

Viewing a Web Page To display a webpage, a browser requests the page contents from a site’s Web server.

Viewing a Web Page Continued A Web server listens for requests from Web browsers and then returns the requested file.

Viewing a Web Page Continued Most webpages reference content, such as photos, which the browser requests from the Web server.

Getting a Web Server Many sites on the Web provide Web server space which users can buy on a monthly basis

Using FTP to Transfer files Using FTP software, you will upload the HTML files you create on your system to a remote Web server.

Ways to create HTML files Users can develop pages using an ASCII text editor or Web development software that provides a drag-and-drop interface such as DreamWeaver

Some sites provide Web-page Templates Some sites allow users who don’t want to learn HTML with a way to create sites

Viewing a site’s HTML tags As you view sites on the Web within your browser, you can view the site’s underlying HTML tags

Creating Your Own HTML File <!DOCTYPE html> <html> <body> Hello, HTML world! </body> </html> Note file:// within the URL Remember, because the file resides on your computer’s disk, and not on a Web browser, other users cannot view your file.

Naming HTML Files When you name your HTML files, select names that meaningfully describe the file’s contents, such as AboutUs.html or ContactUs.html Avoid spaces within your filenames. Browsers will replace the spaces with the characters %20, which may confuse users

Web Browsers Ignore Spacing and Carriage Returns <!DOCTYPE html> <html> <body> First line Second line Third line </body> </html>

Creating a line break <br/> <!DOCTYPE html> <html> <body> First line<br/> Second line<br/> Third line<br/> </body> </html>

Use lowercase for html tags Use lowercase letters for your tags, such as <html> instead of <HTML>, when you create your HTML files As a general rule, most browsers support lowercase, uppercase, and even mixed cased tags, such as <HTml>. However, standard documents that provide the HTML specifications lean toward the use of lowercase. In reality, there are likely billions of HTML documents around the Web that use uppercase tags. Browsers simply can’t stop supporting uppercase tags or all of these pages would break.

Creating paragraphs <!DOCTYPE html> <html> <body> <p>Innovation has nothing to do with how many R&D dollars you have. When Apple came up with the Mac, IBM was spending at least 100 times more on R&D. It's not about money. It's about the people you have, how you’re led, and how much you get it. Steve Jobs</p> <p>He that is of the opinion money will do everything may well be suspected of doing everything for money. Benjamin Franklin</p>   </body> </html>

Browsers will adjust paragraphs based on the window size

Displaying bold text <!DOCTYPE html> <html> <body> This is normal text. <b>This is bold text!</b> This, again, is normal. </body> </html>

Forgetting a Stop Tag <!DOCTYPE html> <html> <body> This is not bold. <b>This is bold.<b> This is still bold due to the error. </body> </html>

Displaying italic text <!DOCTYPE html> <html> <body> Tact is the ability to describe others as they see themselves. <i>Abraham Lincoln</i> </body> </html>

Understanding nested tags <b><i>This is bold and italic.</i></b> When you place one set of HTML tags inside of another (also called nesting tags), you need to keep the order of your tags consistent. Meaning, you should close the innermost tag first. In the previous statement, the code first closes the italic tags (the innermost tags) and then the bold tag.

Headings h1-h6 <!DOCTYPE html> <html> <body> <h1>This is a Heading 1</h1> <h2>This is a Heading 2</h2> <h3>This is a Heading 3</h3> <h4>This is a Heading 4</h4> <h5>This is a Heading 5</h5> <h6>This is a Heading 6</h6> </body> </html>

Displaying a horizontal rule <hr/> <!DOCTYPE html> <html> <body> <h1>George Washington</h1> <hr/> <p>It is better to offer no excuse than a bad one.</p> </body> </html>

Understanding Deprecated Tags Since the introduction of HTML in the late 1980s, different HTML tags have come and gone. When a tag is replaced by a newer tag or formatting capability, the older tag is said to be deprecated. You should avoid the use of deprecated tags within the files that you create. Although it is unlikely, it is possible that a browser might stop supporting a deprecated tag. In reality, given there are millions of pages that use such tags, it is doubtful that a browser would not support the tags, which would essentially break the corresponding pages. As you use different tags, note whether or not the tag is deprecated. Normally, a deprecated tag is your indication that there is a better way to accomplish the same result.

Using Special Characters

Placing Comments within HTML Files <!-- This is a comment --> When a browser examines your HTML code, the browser will simply ignore the comment text. It will not display the text.

Displaying a page title <!DOCTYPE html> <html> <head> <title>Hello</title> <body> <h1>Hello, HTML World!</h1> </body> </html>

Using FTP to upload files to a web server

Real World Web Design—w3Schools

Summary Users make extensive use of Web browsers to view content on the Web. A browser only knows how to request a file from a remote Web server and then to use the formatting instructions the file contains to retrieve, format, and display the needed content items, such as text, photos, and video. The pages that users view on the Web are created in HTML. To create webpages, developers use the hypertext markup language (HTML). HTML uses special markup tags to format content. One set of HTML tags may specify the title that appears in the browser window for the page, another set may specify the text for a paragraph, and another may provide specifics about a photo that is to appear on the page.