Getting Started With HTML

Slides:



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

XHTML Basics.
The Client-Server Model for the Web 1. A Web Client (usually in the form of a web browser) makes an HTTP request to a specific web server. 2. The Web Server.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
1 * The World Wide Web * HTML Basics Internet 1: The World Wide Web.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
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.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
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.
HTML Introduction HTML
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 14 Introduction to HTML
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
 Definition of HTML Definition of HTML  Tags in HTML Tags in HTML  Creation of HTML document Creation of HTML document  Structure of HTML Structure.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Creating a Basic Web Page
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.
 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 web development and HTML MGMT 230 LAB.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
HTML: Hyptertext Markup Language Doman’s Sections.
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley What did we learn so far? 1.Computer hardware and software 2.Computer experience.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
HTML Structure & syntax
HTML Structure & syntax
Basic concepts of web design
Getting Started with HTML
4.01 How Web Pages Work.
Intro to HTML CS 1150 Spring 2017.
Web Architecture & HTML
4.01 How Web Pages Work.
HTML5 Basics.
Lecture #1: * The World Wide Web * HTML Basics
Intro to HTML CS 1150 Fall 2016.
Chapter 1 Introduction to HTML.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
XHTML Basics.
Basic HTML PowerPoint How Hyper Text Markup Language Works
Basic HTML PowerPoint How Hyper Text Markup Language Works
XHTML Basics.
XHTML Basics.
Web Page Development Tools
Introduction to Web Page Design
WEB PAGE AUTHORINHG AND DESIGNING
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Web Page Development Tools
XHTML Basics.
Introduction to Web Application Design
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
CIS 133 mashup Javascript, jQuery and XML
Web Development 101 Workshop
An Introduction to HTML Pages
XHTML Basics.
Introduction to Web Application Design
HTML Structure & syntax
4.01 How Web Pages Work.
Web Programming and Design
Getting Started With Web Page Creation Using HTML
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

Getting Started With HTML IT 130 – Internet and the Web Joseph (Yosef) Mendelsohn Getting Started With HTML

Learning Objectives After reading/watching/practicing this topic, you should be able to: Describe the three tools needed to Create a web page Test/view your web page Make your web page visible on the web Be able to type out the basic HTML template page (see first_template.htm) without having to look at your notes. While typing out this template, be able to identify the different sections that make up the document.

Creating Content Your average web browser can “speak” many languages HTML (Hypertext markup language) JavaScript CSS (cascading stylesheets) various others Each language has its particular uses In this course will cover HTML, CSS, and Javascript

HTML, CSS, JS HTML CSS JavaScript Organizes your page into sections (headings, subheadings, paragraphs, lists, topics, etc) CSS Used to apply styling and positioning to your page (colors, fonts, centering, columns, etc) JavaScript Used to control the behavior of your page such as responding to web forms A script that converts currency from US Dollars into Mexican pesos A script that allows the user to order a pizza and tells them the total cost

HTML HTML = HyperText Markup Language HyperText text containing navigable links to other texts A Markup Language a method of adding information to the text indicating the logical components of a document and instructions for layout of the text on the page, which can be interpreted by some automatic system You can view the HTML code of most web pages by selecting View  Source on your web browser.

Sneak Peek – You’ll learn how all this works over the next 1-2 modules!

Tools you need to create and share web pages In order to develop web pages by hand and display them online, you will need: A text editor - to create your content You can use any one you like. However, I strongly recommend using 'Brackets' by Adobe. The URL changes, but a quick web search will send you to the proper site. You can also find a link on the course 'Resources' page. Note: A text editor is NOT the same thing as a web design application like Expression Web or Dreamweaver For reasons I’ll explain in lecture, do NOT use applications such as Windows Notepad or TextEdit on a Mac. A web client (aka: web browser) – to test/view your content The grader will be using Firefox, so I’d recommend using that one For your own use, feel free to use Internet Explorer, Safari, or Chrome An account on a web server – used to store your files and make them available online A web server is a computer connected to the internet that stores web pages and makes them available to web clients. We will discuss more about web servers in our HTTP lecture All students in this course will be provided with an account on a web server hosted by CDM.

Text Editor This is where you will do all of your work typing in HTML, CSS, and JavaScript. There are many text editors out there. A text editor used by programmers is very different from a word processor. A text editor used for programming has some features that you will come to appreciate such as Color coding various key words and commands Automatic indenting Debugging (in some editors) etc For HTML, any of the following are reasonable be good choices: Adobe Brackets, Notepad++, Textpad (Windows only), jEdit.

An example of HTML code typed inside a text editor:

Web Client More commonly known as a web browser - with which you are certainly familiar. It is also where you will view and test the pages as you are creating them. Examples: Chrome, Firefox, Safari, Internet Explorer A web client (aka web browser) specializes in reading and interpreting HTML, CSS, and JavaScript files.

Web Server Software that sits on a networked computer. This software stores resources such as HTML files, PDFs, Music, Videos, etc Web server software constantly listens for incoming requests from web clients. When a web server receives a request for a resource, it will send that resource to the web client over the internet. This will be discussed in further detail in our ‘HTTP’ lecture.

Your First Web Document Now that you understand the various components necessary to create a web document. Recall that we will be learning about three scripting languages this course: HTML, CSS, and JavaScript. Let’s begin with a basic introduction to HTML.

<meta charset="utf-8" > A very basic HTML page <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" > <title>My first web page</title> </head> <body> Hello world! Welcome to my first web page! </body> </html> Notes: Every page should have the document tags <!DOCTYPE>,<html>, <head>, charset metatag, <title>, <body> We will discuss them in the upcoming slides. This code is the fundamental template that you will use for all of your web pages throughout the course!

Some key HTML Tags <!DOCTYPE html> Tells the web client to operate in something called “standards” mode. We will discuss this at a later point in the course. This is an important tag and must be present and located on the very first line of your html file. Be consistent with the case (i.e. capitals v.s. non-capitals) in any code that you type. For example, if you are told to type the ‘DOCTYPE’ in upper-case, be sure to do so. <html> … </html> Encloses the entire HTML document – with the exception of the DOCTYPE tag. The ‘html’ section contains two sub-sections: ‘head’ ‘body’

Some key HTML Tags contd. <title> … </title> Displayed in the browser’s title bar. It is also used as the default bookmark description. <meta charset="utf-8"> Specifies something called “character encoding” – may be discussed at a later point. <head> … </head> Text in this part of the document is NOT displayed in the browser’s window. It frequently contains tags such as <title>, <meta>, <script> and others. <body> … </body> The contents displayed in the browser’s window. Everything that appears on the page is contained within these tags.

HTML Page Template The page we just created forms the essential outline that you will type for EVERY page you create in this course! In other words, the text seen here should be present in every page you create. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" > <title> Your Title Goes Here </title> </head> <body> Your Content Goes Here </body> </html>

Practice Time! Go ahead and type the template document into your text editor. Experiment by modifying the text inside the body and title tags. Be sure to save it as an HTML file. That is, give the file the extension ‘.htm’ or ‘.html’ Open this document in your browser. Choose ‘Open file’ (as opposed to ‘Open location’). Note that each time you make a change, you must hit ‘Refresh’ on your browser.