Html.

Slides:



Advertisements
Similar presentations
Learning HTML. > Title of page This is my first homepage. Tells Browser This is an HTML page Basic Tags Tells Browser End of HTML page Header information.
Advertisements

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.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
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.
Using Hyper Text Markup Language to develop a 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.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
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 
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.
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.
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.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
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.
A New Page to Add-On Your Multimedia Page. Creating a New Page Open up a new Windows Notepad Click File > Save As > My Computer > “your flash drive” Name.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
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. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
Chapter 4 HTML Tags. HTML is written in something called tags. Tags come in pairs, an opening one and a closing one. The first pair of tags we'll write.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
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.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Structure & syntax
Basic HTML Introduction to HTML.
Lab 3 Html basics.
Pertemuan 1 Desain web Pertemuan 1
Fall 2016 CSULA Saloni Chacha
Let’s Try It! Open Notepad
INTRO TO WEB DEVELOPMENT html
Introduction to HTML.
Prepared by Dr. Maher Abuhamdeh 2014/2015 First semester
HTML Basics.
HTML basics
Creating and Linking Web Pages
Extended Learning Module F
Web Development Part 1.
Basic HTML Tutorial Amber Brady.
BHS Web Design Mr. Campbell
LAB Work 01 MBA 61062: E-Commerce
How to create a static website with HTML
Mansoor Ahmed Bughio.
HTML Lab 5 10/1/2015.
HTML.
Tutorial: How to Creat a Website.
CSS.
An introduction by M Hains
Introduction to Web programming
Internet & Web Engineering Course Code:CS-228 Credit Hours (3+1) Lab 1 Introduction to Markup Language HTML Instructor: Muhammad Zeeshan Haider.
<TAG> <html> <head>
HTML Robert McIntosh
Tag Basics.
HTML.
Working with HTML These are the examples you need to go over. Click on the name like HTML5intro.html and it will bring up the page. If you right click.
Enhance your website.
5.2.3 Be able to use HTML and CSS to construct web pages
Basic HTML and Embed Codes
Web Design and Development
If You Know Nothing About HTML, This is Where You Start.
HTML Basics Web.
HTML Structure.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Web Application Development
HTML & CSS 7 Languages in 7 Days.
Pertemuan 1 Desain web Pertemuan 1
Johan Ng and Muhammad Hazzry
Images in HTML PowerPoint How images are used in HTML
Creating your website and learning HTML
HTML Introduction.
Presentation transcript:

html

(Hyper Text Markup Language) is HTML tags and plain text

It uses tags around the content like a set of instructions for the other computer <tagname>content</tagname>

The most common is a tag set. This has an opening tag, and a closing tag surrounding the content. The closing tag has a forward slash / <tagname>content</tagname> DO NOT CAPTITALIZE HTML is case sensitive

The HTML structure is like a series of boxes The “invisible box” made by the opening and closing tags can have other “boxes” in them !Doctype Declaration <html> </html> <body> </body> <h1>This is a heading</h1> <h2>This is another heading</h2> <p>This is a paragraph</p>

Do not copy and paste from this presentation. The font is different and it will not be recognized by your computer Do not copy and paste from this presentation. The font is different and it will not be recognized by your computer Do not copy and paste from this presentation. The font is different and it will not be recognized by your computer

DO NOT CAPITALIZE ANYTHING In Atom, open up a new doc and write the following: <!DOCTYPE html> <html> <body> <h1>My First Heading</h1> <p>My First Paragraph</p> </body> </html> DO NOT CAPITALIZE ANYTHING

Create a new folder on your desktop This is your site folder Save what you just wrote as “index.html” in that site folder DO NOT CAPITALIZE IT

Open this file up in a web browser Notice all the tags are invisible, and you only see what is in-between the tags Also look up top and notice the title of the page is “index.html” We will now change the title of the page

Do not close the web browser Go back to Atom and edit that existing page with the changes below. Notice we are adding a new tag “box” called head <!DOCTYPE html> <html> <head> <title>My First Code</title> </head> <body> <h1>My First Heading</h1> <p>My First Paragraph</p> </body> </html>

Save the changes in Atom and refresh the page in the web browser

In Text Wrangler edit the code by inserting the following formatting tags next to the text. Make sure to use them in pairs, one opening tag and one closing tag with a forward slash /. <b> bold text <strong> bold text <i> italic <em> italic For example: <h1><i>My First Heading</i></h1> <p>My First <br>Paragraph</p>

Now play around with the formatting tags, and creating new paragraphs: <p>blahblahblah</p> <p><b>blahblahblah blah blah <br> blahblahblah blah</b></p> Use your own words!

images Within your site folder on the desktop, create a new folder in it and title this folder images. DO NOT CAPITALIZE IT Place a jpeg in this folder

<img src=“images/image.jpg”> Edit existing index in Atom The image must be in the images folder The image name must be written exactly like the file name, which includes its extension: png, jpg, jpeg, JPG. The image.jpg example below will be replaced with the file name of the image you have <!DOCTYPE html> <html> <head> <title>My First Code/> </title> </head> <body> <h1>My First Heading</h1> <img src=“images/image.jpg”> <p>My First Paragraph</p> </body> </html>

Refresh in browser

<img src=“images/image.jpg” width=“45” height=“45”> Now we change the size of the image Edit your existing index in Atom <!DOCTYPE html> <html> <head> <title>My First Code/> </title> </head> <body> <h1>My First Heading</h1> <img src=“images/image.jpg” width=“45” height=“45”> <p>My First Paragraph</p> </body> </html>

<img src=“images/image.jpg”> <!DOCTYPE html> <html> <head> <title>My First Code/> </title> </head> <body> <h1>My First Heading</h1> <div> <img src=“images/image.jpg”> <p>My First Paragraph</p> </div> </body>

The number is the number of pixels. Play around with changing the numbers and refreshing the browser to get a feel for size measurement in HTML

To use an image as the background insert this code right into the opening body tag using the exact name of your image file (not bgimage.jpg): <!DOCTYPE html> <html> <head> <title>My First Code/> </title> </head> <body background="bgimage.jpg"> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html>

To change the color of text or the background… HTML uses hex numbers to identify colors. These start with a # and have a series of numbers and letters. You can use an online color picker such as : http://htmlcolorcodes.com/color-picker/ on the top look for the hex number and copy and paste it

background color

(#123456 is a placeholder number, use your own hex number) To change the background color, insert this code and the hex number of the color you want into the opening body tag. <!DOCTYPE html> <html> <head> <title>My First Code/> </title> </head> <body bgcolor=“#123456”> <h1>My First Heading</h1> <p>My First Paragraph</p> <img src=“images/image.jpg” alt=“image name” width=“00” height=“00”> <br> <img src=“images/image.jpg” alt=“image name” style=“float:right” width=“00” height=“00”> </body> </html> (#123456 is a placeholder number, use your own hex number)

To change the font <!DOCTYPE html> <html> <head> <title>My First Code/> </title> </head> <body> <h1 style="font-family:verdana">This is a heading</h1> <p style="font-family:courier">This is a paragraph.</p> </body> </html>

links <body> <h1>My First Heading</h1> <p><a href= “theotherpage.html”>I like tomato</a><p> </body> </html>

(A website outside of your website, use the full address) links <body> <h1>My First Heading</h1> (A website outside of your website, use the full address) <p><a href= “http://www.baruch.cuny.edu”>My First Paragraph</a><p> (An email address link, use mailto: and the email address) <p><a href= “mailto: profrauch@gmail.com”>profrauch@gmail.com</a><p> (To navigate between pages in your website, just use the name of the page and its extension) <p><a href= “cat.html”>Second Page</a><p> </body> </html>

Embed video or google map Go to youtube or google and click on “share”, choose “embed”, copy the link

Copy the iframe link into a paragraph tag youtube embed Copy the iframe link into a paragraph tag <!DOCTYPE html> <html> <head> <title>My First Code/> </title> </head> <body> <h1>My First Heading</h1> <p><iframe width="560" height="315" src="https://www.youtube.com/embed/E__F5a2pQco" frameborder="0" allowfullscreen></iframe></p> </body> </html>