Basics of HTML Lesson 1: Basic HTML.

Slides:



Advertisements
Similar presentations
HTML. The World Wide Web Protocols Addresses HTML.
Advertisements

/k/k 1212 Cascading Style Sheets Part one Marko Boon
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
HTML Tags. Bolding Text Or Italics Text Or
Introduction to HTML Lists, Images, and Links. Before We Begin Save another file in Notepad Save another file in Notepad Open your HTML, then do File>Save.
Using color and fonts in HTML and XHTML Please use speaker notes for additional information!
HTMLMR.Mostafa badr1. Lesson 3 HTML Tags Lesson 2 Creating a HTML File Lesson 1: Hyper Text Markup Language (HTML) Basics Get Trained for a Better Future.
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
HTML basics exercises.
1 Essential HTML coding By Fadi Safieddine (Week 2)
Web Pages: Creating & Maintaining Body Tags. There have been several versions of HTML since its inception. VersionYear HTML1991 HTML HTML
More Basic HTML. Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features Add alignments.
15.2 More Basic HTML. More Basic HTML Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features.
Getting Started with HTML Please use speaker notes for additional information!
Computing Theory: HTML Year 11. Lesson Objective You will: o Be able to define what HTML is - ALL o Be able to write HTML code to create your own web.
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.
Just Enough HTML How to Create Basic HTML Documents.
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.
 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.
HTML Lesson 3 Hyper Text Markup Language. Assignment Part 2  Set the file name as “FirstName2.htm”  Set the title as “FirstName LastName First Web Site”
HTML. Adding Background Color The bgcolor attribute lets you change the background color of the Web page. Located in the body tag See common Web Page.
CS 111 – Oct. 4 Web design –HTML –Javascript Commitment: –This week, read sections 4.3 – 4.5.
Introduction to HTML : Hyper Text Markup Language.
The Teacher Computing HTML HyperText Markup Language.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Links and Images. Links HTML uses a hyperlink to link to another document on the Web A hyperlink can be either text or a picture Links are created with.
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.
HTML – The Basics Rebecca Shillingburg
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. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
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.
Revision Webpage design HTML.   FACE  Attributes  Marquee  Define the following terms.
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
Web Page Design Mr. Gironda
Lab 3 Html basics.
Let’s Try It! Open Notepad
Web Basics: HTML/CSS/JavaScript What are they?
HTML Basics.
Creating and Linking Web Pages
Extended Learning Module F
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
HTML GUIDE Press F5 and then
CSCI-235 Micro-Computers in Science
Intro to HTML Mr. Singh.
HTML and Website Development
HTML Lesson 2.
HTML Images CS 1150 Spring 2017.
Web Page Design Mr. Wilson
Tag Basics.
HTML.
Enhance your website.
Introduction to HTML II
5.2.3 Be able to use HTML and CSS to construct web pages
Basic HTML and Embed Codes
If You Know Nothing About HTML, This is Where You Start.
Web pages Lesson 3.
Web pages Lesson 4.
More Basic HTML 2 assignments: 1—complete the worksheet
Programming for webpages
HTML Images CS 1150 Fall 2016.
HTML – Basic Tags & Attributes
Basic HTML.
HTML & CSS 7 Languages in 7 Days.
Lesson 7 Graphics.
Johan Ng and Muhammad Hazzry
Presentation transcript:

Basics of HTML Lesson 1: Basic HTML

Setup: Open TextPad Type in: <html> </html> Save as ex_firstTry.html Click the globe

Add between the <html> </html> <body bgcolor = #00B2EE> </body> Click the globe again, what happens? What number system is the color in?

Add between the <body> </body> Hello World! Save Go to the web browser and hit refresh What happens? What font does it use? What color is the text

Add between the <html> and <body> <head> <title> Best Web Page EVER! </title> </head> Save and refresh in the browser – what changes?

Your web page has two parts: Head Information about the page Body What is displayed on the page

Add: <font face="tahoma" size=5>Hello World!</font> Save and refresh in the browser – what changes? You already have this

Hello <br> World! Change: Hello World! To Hello <br> World! What changes?

Change the <br> to <hr> What happens?

More HR fun <HR width=50%> What happens? <HR width = 30%> <HR size=7>

More HR fun <HR width=50% align=center > What happens? If you have CENTER you would also expect to have ____ and ____. Can you change the color of a line?

Make this:

Does the order matter? Change: <font face=“tahoma” size = 5> To <font size = 5 face=“tahoma” > What changed?

Does the order matter? Change: <font face=“tahoma” size = 5> To <size = 5 face=“tahoma” font > What changed?

Lets make some mistakes Change <font face=“tahoma” size = 5> To <font face=“tahoma” size = 5 What happens?

Lets make some mistakes Change <font face=“tahoma” size = 5> To font face=“tahoma” size = 5> What happens?

Mistakes Since HTML is not a programming language, it is interpreted, not compiled. When the browser hits mistakes it does not give an error Why is this an advantage?

Try this: Print the numbers 1 – 10, one per line. Make each number a size (so 1 is printed in size 1, etc)

Add: <font face="tahoma" size=5 color=#ffff00> Save and refresh in the browser – what changes? You already have this

Change it so the Hello and There are different colors. <font face=“tahoma” size = 5> <font color=yellow>Hello</font> <br> <font color=red>There</font> </font>

OR We could do: <font face=“tahoma” size = 5 color=yellow> Hello <br> <font color=red>There</font> </font>

Try this: Print your name in size 7 Curlz MT font. <font face="Curlz MT" size = 7> Mrs. Dovi</font> What happens if you take off the “ “ around Curlz MT?

On Paper What did the following command do? FONT COLOR HEAD TITLE SIZE BR

Lesson 2: Linking and Images Basics of HTML Lesson 2: Linking and Images

First we need a picture Go online and save a picture to your h drive In Textpad create a new web page Print your name in size 6 blue font Change the font to something other than Times New Roman Change the background color

To add the picture: <img src="a.jpg"> What happens? You can also do: <img src="http:\\hcps.us\phhs\images\map_phhs.gif " > Why might this be a bad idea?

img tags <img src="a.jpg" alt = "AMAZING picture"> Refresh your page and hold the mouse over your picture – what happens? Why is this a good idea? http://www.w3schools.com/tags/tag_img.asp

img tags height width Try changing the width and height on your picture – what happens?

<a href="http://hcps.us/phhs”>PHHS</a> linking <a href="http://hcps.us/phhs”>PHHS</a> What does this do? What color is the link ? Remove the http:// and reload – what happens?

Changing Link Colors Change the font color INSIDE the <a> </a> tags – try it! Change the link properties for the whole page: < body link = #5500FF alink=yellow vlink= green>