HTML Robert McIntosh 12.08.2017.

Slides:



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

HTML popo.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
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.
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.
HTML Overview Part 2 – Paragraphs, Headings, and Lines 1.
Define html document byusing Example : Title of the document The content of the document......
Basic HTML Hyper text markup Language. Re-cap  … - The tag tells the browser that this is an HTML document The html element is the outermost element.
HTML. What is HTML?  HTML is a language for creating web pages.  HTML stands for Hyper Text Markup Language  A markup language has tags which are codes.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
>> Introduction to HTML: Tags. Hyper - is the opposite of linear Text – words / sentences / paragraphs Mark-up – Marking the text Language – It is a language.
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.
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.
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.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
HTML file format  Lesson Objective: Understanding HTML and how it is used to create web pages.  Learning Outcome:  Create a HTML page by interpreting.
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.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
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 Basic. What is HTML HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
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.
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
Fall 2016 CSULA Saloni Chacha
Intro to HTML CS 1150 Spring 2017.
INTRO TO WEB DEVELOPMENT html
Introduction to HTML.
Html.
Web Basics: HTML/CSS/JavaScript What are they?
HTML Basics.
HTML basics
LAB Work 01 MBA 61062: E-Commerce
Intro to HTML CS 1150 Fall 2016.
Marking Up with XHTML Tags describe how a web page should look
HTML 2.
How to create a static website with HTML
HTML GUIDE Press F5 and then
Coding, Testing and Valdating a Web Page
INTRODUCTION TO HTML AND CSS
HTML Lesson 2.
Chapter 1: Introduction to XHTML (part 1)
HTML Vocabulary.
HTML.
WEBSITE DESIGN Chp 1
Introduction to Web & HTML
Computers and Scientific Thinking David Reed, Creighton University
5.2.3 Be able to use HTML and CSS to construct web pages
Introduction to Web & HTML
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
If You Know Nothing About HTML, This is Where You Start.
HTML 12/27/2018.
Web Programming Language
INTRODUCTION TO HTML AND CSS
Introduction to HTML5.
HTML Basics Web.
Basic HTML Workshop.
Marking Up with XHTML Tags describe how a web page should look
HTML Basics Mr. Fazzalari.
Marking Up with XHTML Tags describe how a web page should look
WJEC GCSE Computer Science
Getting Started with Marking Up Page Content
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

HTML Robert McIntosh 12.08.2017

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 your web page How to format the text on your web page How to create heading on your web page How to add pictures to your web page

HTML Hyper Text Markup Language How your program the internet! HTML: is the set of markup symbols or codes inserted in a file intended for display on a World Wide Web browser page. The markup tells the Web browser how to display a Web page's words and images for the user. HTML is a formal Recommendation by the World Wide Web Consortium (W3C) and is generally adhered to by the major browsers.

Elements / tags Elements are identified with like this “< >” Most elements come in pairs, meaning they have a starting and ending tag. For Example, a starting paragraph tag looks like this “<p>” and an ending tag looks like this “</p>” These tags are not displayed to the user when viewing the web page, instead they tell the browser the user is using, what information is stored in these elements. The browser then applies default styles or looks to the user based on the tags.

<!doctype html> Required tags Every web page requires that you have at least the following tags <!doctype html> Should be the very first thing at the start of your page This tag does not require an ending tag <html></html> Should be directly under the “doctype” tag <head></head> Should be contained within the <html> tags and the first tag after the <html> tag <body></body> Should be contained within the <html> tags and be after the closing </head> tag

Basic web page This is the Title of the Page This is the Body of the Page Anything within the body of a web page is displayed in the main browser window. Basic web page The yellow code on the left is HTML tags and will not be displayed to the user when they view your website. As you can see the html tag is below the doctype element. After the html but before the closing html tag is the head and body. The head tag is used to store information the browser will use and is never displayed to the user The body tag is where you put your content you want to be displayed to the user. Remember that the doctype tag is the first element and does not have an ending tag. The next tag is the html tag and that the head and body tags are going to be inside the html tags. <!doctype html> <html> <head> <title>This is the Title of the Page</title> </head> <body> <h1>This is the Body of the Page</h1> <p>Anything within the body of a web page is displayed in the main browser window.</p> </body> </html>

Comments Comments are lines of code the user can’t see. They are used to explain what your html is doing, who wrote it and when it was written. You are able to put comments anywhere in your code. They are never displayed to the user An example of a comment is <!-- Web page created by Robert McIntosh --> <!-- December 12, 2017 --> A comment starts with < and is followed by and ! and two dashes. A comment is ended with two dashes and a >

Title Element This element only exists inside the head tags This tag changes the text that is displayed in the users browsers tab. An example of a title element is <title> My Homepage </title>

HTML ELements Ttile Tag What It Does Example Paragraph <p>…</p> Creates paragraphs of text <p>I’m my own paragraph</p> Line Break <br/> Acts as if you hit enter inside of your content. I’m line 1. <br/>I’m line 2. Bold <strong>…</strong> Makes the text bold <strong>I’m Bold</strong> Italic <em>…</em> Makes the text italic <em>I’m Italic</em> Horizontal Rule <hr/> Adds a line across the container

Headings Creates different sections for your page. A heading element looks like <h#> where you replace the hashtag with a number ranging from 1 to 6 1 is the BIGGEST and 6 is the smallest heading. Headings are used to identify import content or transitions of content on a page. An example of a heading element is: <h1>My heading</h1>

Images Adding images to your web page requires a specific element. This element is called the image tag. The image tag is unlike the paragraph and heading tags, because it does not require a ending tag. The image tag use attributes to specify where it is getting an image and what the image is used for.

Images… An image tag looks like the following: <img src=“me.jpg” alt=“Picture of Robert McIntosh”/> Notice how the image tag does not include </img> but instead ends with “/>” These types of tags are called self closing tags.

Attributes Attributes tell us more about elements, they provide additional information about the contents of an element. They appear on the opening tag of an element and are made up of a name and value pair separated by an equals sign. In our image example above, src=“me.jpg” src is our Attribute Name “me.jpg” is our attribute value

Your Assignment Create a new folder called “xxProject 1” Where xx is your initials In this folder you are to create a new item and name it index.html You are to build an an html page using all required html elements. Set the title of your webpage to Your Name – Project 1 Add 2 comments right after the doctype element The first one should be your name The second one should be the date Inside the body tags add 2 headings Title the first one “My School” Title the second one “My Favorite Class” – I don’t expect it to be this class

Your Assignment… Separate the headings with a horizontal rule Find a picture of a school (use google images), download it and put into your project folder inside an images folder. Link to this image using an img element. This link should be after your heading and horizontal rule for “My School” but before your heading for “My Favorite Class” Add a paragraph element with at least 5 sentences to the “My School” section of your page Add a paragraph element with at least 5 sentences to the “My Favorite Class” section of your page