PART 1: Introduction to HTML & CSS. Lecture 1: HTML 5 Basic Structure.

Slides:



Advertisements
Similar presentations
3.02D HTML Overview 3.02 Develop webpages.
Advertisements

Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
Introduction to Creating a Web Page using a Simple Text Editor (Notepad) 1  2004 Ecirp Studios
WeB application development
XHTML Basics.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
Getting Started with HTML HTML – Hypertext Markup Language.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
 Definition of HTML Definition of HTML  Tags in HTML Tags in HTML  Creation of HTML document Creation of HTML document  Structure of HTML Structure.
Tutorial 1: Getting Started with HTML5
Basics of HTML.
Creating a Simple Page: HTML Overview
Using HTML to Create a Basic Web Page… By Josh Gallagan.
Web Design Using HTML Codes. WHAT DO I NEED TO BEGIN DESIGNING A HOME PAGE? 1.YOU NEED A FOLDER (also called a DIRECTORY) You should set up a folder or.
Using HTML to Create a Basic Web Page… By Josh Gallagan.
HTML Structure & syntax
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
Web Design Fundamentals Demystifying Basic HTML. 2 After completing this lesson, you will be able to: Understand the basics of HTML coding. Use HTML tags.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
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.
HTML CRASH COURSE. What is HTML?  Hyper Text Markup Language  The language used to make web pages  Written by using tags.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
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.
By Brieya. What is HTML Hypertext Markup Language, a standardized system for tagging text files to achieve font, colour, graphic, and hyperlink effects.
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.
Web Design (2) Brackets - introduction. Brackets Brackets is a web design code editor It is an open-source project initiated by Adobe (creator of Dreamweaver)
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.
HTML INTRODUCTION. What is HTML?  HTML stands for Hypertext Markup Language  Developed in 1990  Hidden code that helps us communicate with others on.
HTML I An Introduction to the Language of the Web Terry Bake
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-
Creating Webpage Using HTML
HTML Codes Miss B.
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 Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
HTML: Hyptertext Markup Language Doman’s Sections.
Web Page Design Introduction. The ________________ is a large collection of pages stored on computers, or ______________ around the world. Hypertext ________.
15.1 Fundamentals of HTML DeKalb County School System.
The Teacher Computing HTML HyperText Markup Language.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
LBSC 690 Session 4 Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
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.
HTML Introduction 2-1. Lecture 6 HTML - HyperText Markup Language  not a programming language  structure text into title, body, paragraphs, lists, links,
HTML Introduction 2-1. Lecture 6 HTML - HyperText Markup Language  not a programming language  structure text into title, body, paragraphs, lists, links,
HTML HyperText Markup Language Victoria E. Kozlek.
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-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
Validation. What is Validation? Removing errors improves the consistency of how our pages look to a wide variety of browsers and devices. Ensuring that.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
HTML is the language that allows text and graphics to be displayed as Web pages. It is a set of special codes, called tags, that tells a browser application.
U NIT 9 Level 2 Web Design. What does HTML stand for? HTML stands for Hypertext Markup Language and it is the language used by all web pages. It consists.
HTML Structure & syntax
HTML Structure & syntax
Online PD Basic HTML The Magic Of Web Pages
HTML5 Basics.
XHTML/CSS Week 1.
XHTML Basics.
3.00cs HTML Overview 3.00cs Develop webpages.
XHTML Basics.
XHTML Basics.
HTML HYPERTEXT MARKUP LANGUAGE.
What is HTML?.
HTML Structure.
XHTML Basics.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
XHTML Basics.
HTML Structure & syntax
HTML Introduction.
Presentation transcript:

PART 1: Introduction to HTML & CSS

Lecture 1: HTML 5 Basic Structure

How to get started There are full-featured text-editing tools and website creation programs that can be used to speed up the process of writing web pages. But we won’t be using them. We will be writing our own programs using a text- editor. Wondering why? The reason is, to be a good programmer and to learn good programming practices, doing your own coding is the best way. When you eventually learn all that makes you a professional, you can choose to use these website creation tools to make your work faster as you can drag and drop and edit their HTML/CSS to get your desired result. To pass related certification exams, you have to be able to write programs yourself and understand the proper syntax, rules, dos and don’ts of each programming language. Most of the senior developers and programmers are the ones that understand how to write their own programs. Because HTML is the underlying markup language of the world wide web, taking this course and learning programming using a text- editor is the best start.

Its slower, but more understandable and fun. Eventually, you are going to be able to not just compete favorably in the development market but understand and use other web programming languages without much struggles. In this course, we are going to start learning from the very basic foundation. So if you have no prior programming experience, you are in the right place. We will be coding in HTML 5. because it is the latest and the future. Make sure you have a modern higher version of your browser.

HTML Basics The tools we will be needing for this course are a text-editor and a browser. In this class, I will be using notepad. Every file on the computer has an extension. When you see the.pdf extension, you know it’s a pdf file. The extension for an HTML file is either.htm or.html

The structure of HTML 5 HTML stands for Hypertext Markup Language. html documents are made up of elements and the elements are represented by tags. All tags begins with a less than sign ( ). The Start tag Every element has a start or opening tag. Its starts with the less than sign followed by the name of the element and ends with a greater than sign like this if the element has attributes that we want to use, we specify them in the start tag.

The End tag It is also known as the closing tag. It starts with a less than sign, followed immediately by a forward slash then the name of the element and the greater than sign. It is written like this Not all elements have end tags. Elements without end tags are called void elements.

Practical Open your text editor and write the following: Hello

Notice the first line of the code This should be the first line on each web page. it indicates the standard that the page complies with. Doctype declaration indicates that the code is compliant with HTML 5 and for older browsers that lack html5 parsers, the indication of doctype declaration triggers standard mode. The second line of the code is the element. It is between the start and end tag of the html element that all other codes are written. So the html element starts on the second line and is closed on the last line of the page.

the next tag is the tag. It holds special instructions for the browser. elements that are placed between the head tags are not printed on the page. One special instruction is the tag. The text you type between the opening and closing title tag is the text that will appear on your browser window. The final and most important part of the html is the tag. In between the body tag is where you write everything you want displayed on the webpage.

Saving a web page To save a web page, go to the file menu at the top of notepad, click on the save as option, set the save as type to “all files”. then type a name for your file. Remember to add.html or.htm extension to the name of the file you choose. Note that if the save as type is left on text document, then you won’t get a web page. you'll get a text file. if you also forget to put an extension, you will get a text file.

testing your web page Close the file and go to the location where you saved it. Right click on the file and select the “open with” option. Select your browser to open your file. And that’s it. You have your first web page.