Intro to HTML CS 1150 Fall 2016.

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

Hyper Text Markup Language.  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
WeB application development
MMDE5011 – INTERACTIVE MEDIA PRACTICE 1 WEEK 1: INTRODUCTION TO HTML5
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
Intro to MIS – MGS351 Building a Webpage. Chapter Overview m The World Wide Web – Web servers, Web browsers and Web pages m HTML Introduction m Using.
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.
Server-side Scripting Powering the webs favourite services.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
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.
.  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.
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.
Just Enough HTML How to Create Basic HTML Documents.
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,
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
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.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
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 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.
HTML Structure & syntax
Week 1: Introduction to HTML and Web Design
HTML Structure & syntax
Basic HTML Introduction to HTML.
4.01 How Web Pages Work.
HTML Links CS 1150 Spring 2017.
Basic concepts of web design
HTML Extra Markup CS 1150 Spring 2017.
Fall 2016 CSULA Saloni Chacha
4.01 How Web Pages Work.
Intro to HTML CS 1150 Spring 2017.
INTRO TO WEB DEVELOPMENT html
Introduction to HTML.
Prepared by Dr. Maher Abuhamdeh 2014/2015 First semester
Web Architecture & HTML
Web Basics: HTML/CSS/JavaScript What are they?
4.01 How Web Pages Work.
Introduction to HTML:.
Objective % Select and utilize tools to design and develop websites.
HyperText Markup Language
Essential Tags Web Design – Sec 3-3
HTML.
3.00cs HTML Overview 3.00cs Develop webpages.
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Introduction to XHTML.
Intro to Web Development Class A Review
Objective % Select and utilize tools to design and develop websites.
HTML Robert McIntosh
HTML Vocabulary.
Building a Webpage Extended Learning Module F
CISC103 Web Development Basics: Web site:
Basic HTML and Embed Codes
HOW PAGES USE STRUCTURE HEADLINE HOW PAGES USE STRUCTURE TEXT.
HTML What is it? HTML is a computer language devised to allow website creation. These websites can then be viewed by anyone else connected to the Internet.
HTML Structure.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Web Application Development
Web Development 101 Workshop
Pertemuan 1 Desain web Pertemuan 1
HOW PAGES USE STRUCTURE HEADLINE HOW PAGES USE STRUCTURE TEXT.
HTML Structure & syntax
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
4.01 How Web Pages Work.
HTML Links CS 1150 Fall 2016.
4.01 How Web Pages Work.
HTML Introduction.
Presentation transcript:

Intro to HTML CS 1150 Fall 2016

Web Servers When you ask your browser for a webpage, the request is sent over the internet to a webserver Web servers are special computers that are constantly connected to the internet They are optimized to send webpages out to people who request them

Websites When you are looking at a website, it is likely that your browser is receiving HTML and CSS from the webserver hosting the site Most webpages also include images, audio, video, and animations Some sites also send Javascript or Flash to the browser Larger, more complex sites may use a database to store data and programming languages such as PHP, ASP.Net, Java, or Ruby

HTML5 In this class, we will be learning HTML5, which is the latest version of HTML available today Most browsers support the latest version of HTML We will be learning previous versions of this language as well, since HTML5 is built on the earlier versions

How the Web Works When you visit a website, the web server hosting that site could be anywhere in the world In order for you to find the location of the web server, your browser will first connect to a Domain Name System (DNS) server DNS servers act like phone books; they tell your computer the IP address associated with the requested domain name Every device on the web has a unique IP address; it is like the telephone number for that computer Once the DNS server returns the IP address, the browser goes to that IP address and the webserver returns HTML and other code for the browser to display

Simple Web Diagram

Simple Web Flow Diagram

Detailed Web Flow Diagram

HTML Introduction HTML stands for Hyper Text Markup Language HTML describes the structure of webpages HTML elements are the building blocks of HTML pages HTML elements are represented by tags HTML tags label pieces of content such as “heading”, “paragraph”, “table” and so on

Structure of an HTML Webpage <!DOCTYPE html> <html> <head> <title>An Example HTML Webpage</title> </head> <body> <h1>This is the Main Heading</h1> <p>This is a paragraph</p> <h2>This is a Sub-Heading</h2> <p>Many long articles have sub-headings.</p> <h2>Another Sub-Heading</h2> <p>Here is a paragraph below a sub-heading</p> <p>Here is another paragraph below a sub-heading</p> </body> </html> Structure of an HTML Webpage

HTML Elements HTML code is made up of characters that live inside angled brackets - these are called HTML elements Elements are usually made up of two tags: an opening tag and a closing tag Each HTML element tells the browser something about the information that sits between its opening and closing tags

The <html> element The <html> element defines the whole document The opening <html> tag indicates that anything between it and a closing </html> tag is HTML code The closing </html> tag indicates that it is the end of the HTML code

The <head> element The <head> element is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag HTML metadata is data about the HTML document and is not displayed on the webpage Metadata defines the document title, character set, styles, and other meta information

The <title> element The <title> element defines the title of the document The title appears in the browser tab It provides a title for the document when the webpage is added to favorites or displayed in search engine results

The <body> element The <body> element defines the document body The <body> tag indicates that anything between it and the closing </body> tag should be shown inside the main browser window The closing </body> tag indicates the end of what should appear in the main browser window

HTML Headings Headings are defined with the <h1> to <h6> tags <h1> defines the most important heading, while <h6> defines the least important heading Note: Browsers automatically add some white space (a margin) before and after a heading

HTML Paragraphs The HTML <p> element defines a paragraph Note: Browsers automatically add some white space (a margin) before and after a paragraph

A Closer Look at Tags Symbol Description < Left-angle bracket > Right-angle bracket / Forward slash The characters in the bracket indicate the tag’s purpose The terms “tag” and “element” are often used interchangeably Strictly speaking, an element comprises the opening tag and the closing tag and any content that lies between them

HTML Attributes Attributes provide additional information about the contents of an element They appear on the opening tag of the element and are made up of two parts: a name and a value, separated by an equals sign Example: The value of the lang attribute is an abbreviated way of specifying which language is used inside the element that all browsers understand <p lang="en-us"> Paragraph in English </p> <p lang="fr"> Paragraphe en Français </p>

Viewing the Source of a Webpage Open a webpage Click the View menu Select the option that says Source or View source (the title changes depending on what browser you are using You should see a new window appear, and it will contain the source code that was used to create the webpage you opened Example: http://www.htmlandcssbook.com/code-samples/chapter-01/view- source.html

The Komodo Editor Many different text editors can be used to edit HTML and CSS code In this class, we will learn to use Komodo

CS Department Web Hosting cs.mtsu.edu/~crn2k The public_html folder contains all website files index.html is the default homepage

Helpful Links www.w3schools.com/html http://www.htmlandcssbook.com/code-samples/ www.w3schools.com/css www.w3schools.com/js http://www.javascriptfreecode.com