HTML.

Slides:



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

HTML Basics Customizing your site using the basics of HTML.
HTML!. What is HTML? HyperText Markup Language – Not a programming language – Used to format web pages – Uses markup tags to describe the content of a.
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.
Hypertext markup language.  Client asks for an html file  Server returns the html file  Client parses and displays it  This display is what most people.
HTML Minute University Richard Fisher 10/1/2001 HTML FSA Training2 HTML Overview  HTML  HyperText Markup Language.
HTML Creating Web pages. HTML Hyper Text Markup Language Not programming, but a markup language using tags to format text in Web browsers.
HTML Creating Web pages. HTML Hyper Text Markup Language Not programming, but a markup language using tags to format text in Web browsers.
How To Create A Web Page By: Mikeon Briddy & Darrius Jacobs April 10,2006 Mr. Barnett.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
Creating And Publishing A Webpage You will learn the basic html ‘tags’ for formatting a webpage as well including internal and external content.
How to Make a Web Page: A Crash Course in HTML programming.
Web Page Development Identify elements of a Web Page Start Notepad
HTML Lesson 1 TBE 540 Farah Fisher. Prerequisites Before beginning this lesson, the student must be able to… Access web pages and navigate the web Access.
HTML Basics An Introduction to HTML. What is HTML? Stands for “Hyper Text Markup Language” Composed of “tags” which are surrounded by sideways triangles.
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web. Web.
Tags through Forms. This element is required for all HTML pages It must be at the top of every page of every website We’ll see later on why it is important.
Basic HTML The Magic Of Web Pages. Create an HTML folder  Make a folder in your H drive and name it “HTML”. We will save EVERYTHING for this unit here.
Create a Website Session I Key Components Hands-on HTML.
HTML. We’ll learn … What HTML is What tags are What a basic web page looks like What 3 HTML tags are required What HTML comments look like How to title.
Agenda9/11/13  Do Now  Display your name tag and log into your computer  Pre-Assessment Test  Info and Interests  Syllabus and Course Expectations.
DIY Web Development Hand Code Your Own Page (For Free!) by Bryan Brown, Indiana University Bloomington SLIS.
4 HTML Basics 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.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Enhancing Your Web Site. More Basic HTML Tags Today you will learn these tags: & add-on (alt, height, width & align) and “href” add-on Add a text link.
 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.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
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 CRASH COURSE. What is HTML?  Hyper Text Markup Language  The language used to make web pages  Written by using tags.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
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.
15.1 Fundamentals of HTML.
Just Enough HTML How to Create Basic HTML Documents.
HTML Hyper Text Markup Language. What is an HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup.
All you ever needed to know…and more!. H.T.M.L. HyperText Mark-up Language Web’s programming language All web browsers Set of instructions Written with.
Introduction to HTML. Slide 1 Hard-Coding What is hard-coding? –Creating the page in a text editor just using HTML A Web designer should know how to hard-
Hypertext Mark-Up Language Web Page Creation HTML.
HTML Codes Miss B.
IS1811 Multimedia Development for Internet Applications Lecture 4: Introduction to HTML Rob Gleasure
Enhancing Your Web Site—Adding Links Web Page **YOU MUST HAVE COMPLETED THE 1ST 3 WEB PAGES BEFORE YOU CAN DO THIS ONE. **YOU SHOULD HAVE COMPLETED THE.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML. Hypertext Markup Language Lesson Objectives 1. We will be able to understand the need for HTML and where it is used 2. We will be edit HTML to.
HTML Basics Objectives: Objectives: Understand what HTML is Understand what HTML is Know basic HTML tags Know basic HTML tags Understand how to view HTML.
 HTML is hypertext markup language. It is a way for people to display their information with more complex pictures and text displays. Before HTML, messages.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
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.
FUNDAMENTALS OF HTML, XHTML & CSS Lesson 4. THE OBJECTIVES -  In this lesson you will begin coding in HTML to provide the structure  You will learn.
HTML. Hyper Text Markup Language Markup your text document The markup is the tag Hyper text means you can jump from place to place.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Web Authoring with Dreamweaver. Unit Objectives  Be able to define keywords: HTML, HTTP (protocol), browser, web server, client/server, tag, attribute,
Spiderman ©Marvel Comics Creating Web Pages (part 1)
Take Web Design Presurvey Username: First initial, last name For example, Omar Estrella -> oestrella Password: Same as.
Getting Started with HTML. HTML  Hyper Text Markup Language  HTML isn’t a program language, its known as a markup language  A Markup language has tags.
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
Your HTML website creating your first html file. Creating an HTML FIle Open note pad from accessories, programs. Write code. Save and view. In 3 Steps.
Behind every site is a mix of special languages that your web browser understands The main way of describing any website is HTML HTML stands for Hyper.
HTML HTML stands for Hyper Text Markup Language. HTML is used in making the base of a Website You can just use an online website maker like weebly.com.
HTML. Hyper Text Markup Language Markup your text document The markup is the tag Hyper text means you can jump from place to place Programming language.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
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.
Let’s Try It! Open Notepad
Online PD Basic HTML The Magic Of Web Pages
Uppingham Community College
HTML Lesson 2.
HTML.
Creating your first website
An Introduction to HTML Pages
Creating your first website
Presentation transcript:

HTML

What is html? HyperText Markup Language We use HTML to create web pages and other information that can be displayed in a web browser Uses tags to annotate the information in a document Indicates how information should be displayed – i.e. paragraphs, lists, etc. <p> paragraph, <li> lists, etc

Basics of writing html We will be using Notepad++ to write HTML White space: anywhere you do not have HTML. White space will NOT affect your code. Useful for keeping your code neat and readable Any text editing program is good – textwrangler is my favorite for macs, or textedit

Two identical codes Which do you think looks better? Why? <h1>Artemis Project 2013</h1> <p> Artemis is a program for rising 9th grade girls focused on computer science and engineering. We go on field trips every Friday. </p> <a href=“http://www;bu.edu/lernet/artemis”>This website</a> gives more information about Artemis. Click on the screenshot below to see a REALLY COOL video! <br /> <a href=“http://youtu.be/0kDuTxh1Ovc”><img src=“artemislogo.jpg”></a> <h1>Artemis Project 2013</h1><p>Artemis is a program for rising 9th grade girls focused on computer science and engineering. We go on field trips every Friday.</p><p><a href=“http://www.bu.edu/lernet/artemis”>This website</a> gives more information about Artemis.</p><p>Click on the screenshot below to see a REALLY COOL video!<br /><a href=“http://youtu.be/0kDuTxh1Ovc”><img src=“artemislogojpg”></a></p> Which do you think looks better? Why? Make sure you note that whitespace does NOT affect – like when you push enter Keep your HTML neat! The last thing you want to do is spend a lot of time trying to read through the code you have written

How do tags work? In most cases, tags come in pairs: a start tag and a stop tag Text will go in between these pairs of tags Example: “<b>This text is bold,</b> but this text is not.” will print out “This text is bold, but this text is not.” Usually an end tag is the same as the start tag, but with a forward slash (/) at the beginning

Unpaired tags Some commands require only one tag Examples: <br/> forms a line break. Same as pressing enter on your keyboard <img src=“logo.jpg” /> inserts an image (named logo.jpg) into your webpage The image (logo.jpg) MUST be in the same folder where your HTML file is, or it won’t be able to find it! Can also insert an image from a URL – more about that later

practice First, make a folder on your Desktop. Label it “Website”. This is where we’ll store your files! Open up Notepad++, hit “Save As…”, and save it with a .html extension. Save it in your “Website” folder! Type <html> in your first line, press enter a couple times, then type </html> Signifies the beginning and end of your HTML document! Your code MUST be between <html> and </html>. Anything outside these will not work!

practice Type in <body>, press enter a couple times, then type </body> This is the body of your webpage Let’s make a heading! Type in <h1>, insert a header, then type </h1> Make sure your header is between <body> and </body> Press enter, type <p> followed by any sentence, type in </p>, and press enter again <p> will be important later once we start CSS A little confusing – you don’t have to type <p> words </p> to type things, but it’s a good idea to understand what it does

Important tags to begin Layout <html> and </html> Signifies beginning/end of an HTML document <body> and </body> Everything within these tags are considered the body of your webpage <h1> and </h1> Signifies the largest header <h2> and </h2> Signifies the second largest header <h3> and </h3> Signifies the third largest header (You get the idea, right?) Formatting <p></p> - types in a paragraph <br/> - a line break <b></b> - bold <i></i> - italics <u></u> - underlined <center></center> <font color=“COLOR”></font> Replace COLOR with a color name or hexadecimal code <font size=“SIZE”></font> Replace SIZE with a number from 1-7 (Fun fact: you could combine color/size together like so: <font color=“NAME” size=“SIZE”></font>) Size can ONLY be from 1-7

lists To create an unordered list: <p> Artemis 2013 Coordinators <ul> <li>Anie</li> <li>Bukky</li> <li>Jessi</li> <li>Lauren</li> </ul> To create an ordered list: <p> Morning Schedule </p> <ol> <li>Wake up</li> <li>Brush teeth</li> <li>Eat breakfast</li> <li>Go to Artemis!</li> </ol>

Images and links Inserting Links and Images <a href=“http://www.google.com”>Your Text Here</a> Will give you a Your Text Here with a link to www.google.com <img src=“sphere.jpg”> Your image (in this case sphere.jpg) MUST be in the same folder where your HTML file is located! <img src=“http://www.animage.com/myimage ”> Directly insert an image from online. Right click an image from a webpage to retrieve its URL To make an image clickable (i.e. turn an image into a link), simply insert the image HTML code between the <a></a> codes Example: <a href=“http://www.google.com”><img src=“googlelogo.jpg”></a> If this was in a code, clicking the image above will lead you to the Google website Anything you put between <a></a> will become clickable! Note target=“new”

Link pages together Now you should have your first webpage. But what if you want to make more to create a website? Open a new Notepad++ file, hit “Save As…”, and name your file. Make sure the extension is .html! SAVE YOUR FILE IN THE “WEBSITE” FOLDER!! In the location where you want your link to the second page, type: <a href=“SECONDPAGE.html”>Link Name</a>

Need more help? Go to http://www.bu.edu/lernet/artemis/years/2011/stude nts.html The girls from 2011 made their own HTML websites. Click on their websites for some ideas – they have some more interesting tricks than just the basics listed here Go to http://www.bu.edu/lernet/artemis/resources.html Check out the HTML/CSS section – there are some links to some great HTML tutorial websites!

Your turn! Your website must have at least 5 webpages (including the homepage) Try to make each webpage about something different For example, my homepage could have some basic information about myself (name, age, birthdate). Other pages can be about my family, favorite music, hobbies, fun facts, what I want to be when I grow up, websites I like to go on for fun. Keep everything PG, please!

requirements Your website must have: 5 web pages (including the home page) 3 links (besides the other web pages) 1 picture link (click the picture to go to a new link) 5 pictures 2 lists: 1unordered and 1ordered Extra challenge: Youtube video (embedded)