Introduction to basic HTML

Slides:



Advertisements
Similar presentations
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
Advertisements

INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Anne McGrath 16 th February  Review of what we have learned so far.  Angled brackets surround HTML tags.  The words between the angled brackets.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
HTML (HyperText Markup Language)
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
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.
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 Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
HTML CRASH COURSE. What is HTML?  Hyper Text Markup Language  The language used to make web pages  Written by using 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.
15.1 Fundamentals of HTML.
HTML INTRODUCTION. What is HTML?  HTML stands for Hypertext Markup Language  Developed in 1990  Hidden code that helps us communicate with others on.
Computer Information Technology – Section 3-4. HTML – The Language of the Internet Objectives: The Student will: 1. Look at HTML 2. Understand the basic.
Basic HTML PowerPoint How Hyper Text Markup Language Works.
1 Creating Web Pages Part 1. 2 OVERVIEW: HTML-What is it? HyperText Markup Language, the authoring language used to create documents on the World Wide.
HTML: Hyptertext Markup Language Doman’s Sections.
15.1 Fundamentals of HTML DeKalb County School System.
15.1 Fundamentals of HTML 2 assignments: 1st—complete the worksheet. 2nd—create your first HTML web page following the directions in this PowerPoint where.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
This shows CIS17 and the first day introduction..
INTRODUCTION TO BASIC HTML Exploring Computer Science – Lesson 3-2.
HTML Review * is used as a reference for most of the notes in this powerpoint.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
Project 02 Creating and Editing a Web Page Concept Map of Unit Creating and Editing a Web Page Key Learning Understand the elements to create a web page.
Online PD Basic HTML The Magic Of Web Pages
INTRO TO WEB DEVELOPMENT html
Introduction to HTML.
Introduction to basic HTML
HTML Basics.
Introduction to HTML:.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Marking Up with XHTML Tags describe how a web page should look
Essential Tags Web Design – Sec 3-3
How to create a static website with HTML
Elements of HTML Web Design – Sec 3-2
Elements of HTML Web Design – Sec 3-2
HTML.
Uppingham Community College
Creating a Home Page in HTML
Basic HTML PowerPoint How Hyper Text Markup Language Works
Essential Tags Web Design – Sec 3-3
Chapter 1: Introduction to XHTML (part 1)
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Introduction to basic HTML
Elements of HTML Web Design – Sec 3-2
Chapter 4 - Introduction to XHTML: Part 1
Elements and Attributes
INP150: Basic HTML Instructor: Paul J. Millis
Basic HTML PowerPoint How Hyper Text Markup Language Works
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Introduction to HTML- Basics
Intro to Web Development HTML Structure
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Introduction to HTML.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Document Structure & HTML
Creating and Editing a Web Page
Marking Up with XHTML Tags describe how a web page should look
Pertemuan 1 Desain web Pertemuan 1
HyperText Markup Language
Marking Up with XHTML Tags describe how a web page should look
15.1 Fundamentals of HTML 2 assignments: 1—complete the worksheet
AN INTRODUCTION BY FAITH BRENNER
Lesson 2: HTML5 Coding.
WJEC GCSE Computer Science
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

Introduction to basic HTML Exploring Computer Science – Lesson 3-2

Objectives The student will be able to: Navigate an html editor. Create an html page with a title and a body. Create an html page with paragraph tags, headings, line breaks, horizontal lines and lists. Objectives

Web pages are just plain text Web pages are just plain text. You can view or edit the source code using any text editor. "Tags" provide web browsers with instructions about the web page, such as where to display images, and how the document is structured. Tags are always enclosed in angle brackets: < >. HMTL

Tags are comprised of elements and attributes Tags are comprised of elements and attributes. An element is an object on a page (such as a heading, paragraph, or image), and attributes are qualities that describe that element (such as width and height). Tags usually travel in pairs. An opening tag begins a section of page content, and a closing tag ends it. For example, to markup a section of text as a paragraph, you would open the paragraph with an opening paragraph tag <p> and close it with a closing paragraph tag </p> (closing tags always proceed the element with a /). HMTL

A few tags are called non-container tags, because they don't contain any content - they stand alone. Examples are images and line breaks. XHTML is more strict than HTML, and requires that all open tags must be closed, even if they're not container tags. Therefore, non-container tags end in />. For example, the tag for a line break is <br />. HTML does not have this same requirement, but it's a good habit to get into in case you ever need to code in XHTML. Tags in HTML are not case sensitive, but in XHTML all tags must be in lower case. Even when coding in HTML, you should get in the habit of writing tags in lower case. HMTL

White space is ignored by web browsers White space is ignored by web browsers. So, if you hit the space bar multiple times within a document, only one of those spaces will actually be displayed by the browser. Tags can be nested. For example, <div><p>This paragraph is nested inside a division</p></div>. Note that the order of nested tags is important: The container tags surrounding any content should be symmetrical. HMTL

Notepad++ The editor we will be using for HTML code is Notepad++ It’s this icon on the screen. Once a file is saved as an HTML file (.html), Notepad will color code items to make things easier to debug. Notepad++

HTML Tags - Document Structure Opening Tag Closing Tag Description <html> </html> Identifies the document as HTML. <head> </head> Identifies the header section of your document, which is used to provide information about the document for use primarily by search engines and browsers. <title> </title> The title of document. This element must be nested within the head elements. <body> </body> Contains all the visible content of a web page. HTML Tags - Document Structure

Create Your First Web Page <html> <head> <title>First Web Page</title> </head> <body> Some text goes here. This will show on the screen </body> </html> Create Your First Web Page

Create Your First Web Page Create a file with all the tags you see on the previous slide, In the body section of your web page create a heading and a paragraph on your topic. Save the file (make sure you add .html at the end of the file name. Open your web page in a browser Fix any problems you see! You have 5 minutes Create Your First Web Page End

Create Your First Web Page Continue your web page. Add your other paragraph and your lists. Save the file and open it as a web page. How does it look? You have 5 minutes Create Your First Web Page End

HTML uses tags to control the layout on the page. HTML TAGS

HTML Tags - Content (Container) Tags Opening Tag Closing Tag Description <h1> to <h6> </h1>to</h6> Headings. <h1> is the main heading, <h2> is secondary, etc. <p> </p> New paragraph. <ol> </ol> Makes ordered lists. <ul> </ul> Makes unordered (or bulleted) lists. <li> </li> Marks items in either the ordered or unordered list. HTML Tags - Content (Container) Tags

Create Your First Web Page <h1>Reflection</h1> <h2>Unit 2</h2> <p>This is where you include your first reflection. The reflection has to include either a ordered list or an unordered list. The questions that need to be addressed in the reflection are:</p> <ul> <li>What did you learn?</li> <li>How do you know you learned it?</li> </ul> <p> Reflections will be written at the end of each Unit and will be part of the index.html file. Reflections will be 10% of your grade.</p> Create Your First Web Page

Use the HTML tags to fix up your web page Use the HTML tags to fix up your web page. Can you make it look as you expect? You have 10 minutes HTML TAGS End

HTML non-Container TAGS There are some tags that you close at the same time as you open them. These are called non-container tags and the / is moved to the end. HTML non-Container TAGS

HTML Tags - Content (non-Container) Tags Opening Tag Description <br /> Causes a line break. It may be repeated for multiple line breaks. <hr/> Defines a horizontal line (draws a line across the page) HTML Tags - Content (non-Container) Tags

Web Resource for HTML (and CSS) A great resource for HTML and CSS is w3schools Look at http://www.w3schools.com/ - Bookmark this site! Web Resource for HTML (and CSS)

Rest of Today Complete coding the web page you drew last time. Use all the HTML tags that you learned in class today. Print out your web page, staple it to you storyboard and turn in before you leave today. Rest of Today