HTML Primer. What is HTML? HTML stands for Hyper Text Markup Language A markup language is a set of markup tags HTML documents are described by HTML tags.

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

Introduction to HTML & CSS
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
HTML: HyperText Markup Language Hello World Welcome to the world!
WeB application development
Website Design.
Cascading Style Sheets
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Project 8 Creating Style Sheets.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
1 Dreamweaver CS5 intermediate class by Cookie Setton Build a CSS website WITHOUT TABLES Just when you thought you were starting to understand HTML coding,
4.01 Cascading Style Sheets
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
CSS (Cascading Style Sheets): How the web is styled Create Rules that specify how the content of an HTML Element should appear. CSS controls how your web.
Computer Sciences Department
Review HTML  What is HTML?  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
Basics of HTML.
Creating a Simple Page: HTML Overview
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
1 Working with Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size,
_ HTML, XHTML & CSS Sami Niemelä | Module 1: Introduction to digital media: Day 02.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
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.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
WRT235: Writing in Electronic Environments CSS Classes, IDs, divs.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
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.
INTRODUCTION TO CSS. OBJECTIVES: D EFINE WHAT CSS IS. K NOW THE HISTORY OF CSS. K NOW THE REASON WHY CSS IS USED. CSS SYNTAX. CSS ID AND CLASS.
Cascading Style Sheets Part 1. CSS vs HTML HTML: Originally intended to markup structure of a document (,...,,,,,...) CSS Developing technology, CSS1,
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Creating Links. The Anchor Element: The anchor tag can be used in three different ways: 1.External link – to link to a web page outside your own website.
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.
1 Working with Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size,
Web Design (12) CSS Introduction. Cascading Style Sheets - Defined CSS is the W3C standard for defining the presentation of documents written in HTML.
Why use a Container ID? A container ID makes it easier to keep the webpage together on different screen sizes. Makes for consistent look and feel, especially.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
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.
IN THIS LESSON, WE WILL BECOME FAMILIAR WITH HTML AND BEGIN CREATING A WEB PAGE IN YOUR COMPUTER HTML – the foundation.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
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.
CSS IS A LANGUAGE DESIGNED TO TARGET HTML ELEMENTS AND NODES BY TYPE, CLASS, ID AND VALUE, AND CHANGE THEIR VALUES CSS – change how your HTML looks and.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
Hyper Text Markup Language.  My First Heading My first paragraph. Example Explained The DOCTYPE declaration defines the document type The text between.
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.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
WEB FOUNDATIONS CSS Overview. Outline  What is CSS  What does it do  Where are styles stored  Why use them  What is the cascade effect  CSS Syntax.
HTML Structure & syntax
Fall 2016 CSULA Saloni Chacha
HTML Basics.
4.01 Cascading Style Sheets
Coding, Testing and Valdating a Web Page
IS333: MULTI-TIER APPLICATION DEVELOPMENT
WEBSITE DESIGN Chp 1
What are Cascading Stylesheets (CSS)?
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
4.01 Cascading Style Sheets
Web Programming and Design
Presentation transcript:

HTML Primer

What is HTML? HTML stands for Hyper Text Markup Language A markup language is a set of markup tags HTML documents are described by HTML tags Each HTML tag describes different document content

HTML Tags HTML tags are keywords (tag names) surrounded by angle brackets: HTML tags normally come in pairs like and The first tag in a pair is the start tag, the second tag is the end tag (also known as opening and closing tags) The end tag is written like the start tag, but with a slash before the tag name Some HTML tags are single tags eg

HTML Page Structure

Create first webpage Create new folder (This will be your website) Create a new notepad doc (This will be deleted later) Type basic HTML tags Get filler text from Save document as index.html Delete the notepad doc (created in step 2) View index.html in browser Edit source and view changes

HTML coding rules For paired tags, correct coding is like this eg For single tags it is like this eg. Open first, close last ie. Correct way … Hello World Wrong way … Hello World Values MUST be enclosed by quotation marks Eg. Tag Attribute Value

HTML coding guidelines Use all lowercase for HTML tags Use either single or double quotes for values Use spacing and returns for readability Use lots of comments ie.

HTML naming conventions Do NOT use blanks for file or folder names Avoid use of uppercase … some ok, not all eg. myWeb Do NOT use special characters eg etc for file or folder names

Basic HTML tags

The Anchor Tag Four types of hyperlinks … External … href=“ Internal … href=“aboutme.html” … Jump … href=“#somewhere” (jumps to id=“somewhere”) See demo files

Embedding video or music… Refer to notes Embed internal video – refer to notes Embed external video – check out youtube…

Three approaches to styling Inline or Embedded Style Frequently Asked Questions... regarding your dates Internal Style External Style

Extent of the three kinds of styling h1 { color:blue} HTML HTML h1 { color:green } CSS HTML HTML HTML

CSS Selector Types and Syntax (pg4-4) Four types of Selectors Tag Class ID Compound All follow the same syntax Name followed by { curly brackets } element { property:value ; property:value ; }

Tag styles Tag styles change the default styling of HTML Tags h1 blockquote

Class styles (pg4-17) Class styles allow you to share styles among different HTML elements and to name your elements, thus giving added meaning to your document structure. Note: Give your class styles meaningful names BUT do not use HTML tagnames. Eg class=“qquote” … and not class=“blockquote”

Extent of the three kinds of styling h1 { color:blue} h1 { color:green } HTML HTML CSS HTML HTML HTML

CSS Box Model

Why use a Container ID? A container ID makes it easier to keep the webpage together on different screen sizes. Makes for consistent look and feel, especially when margin:auto is used.

Why set Container ID to 650px? This is a single column layout. Easier to maintain the max reading width for content

How to create a double column layout? Change width of navbar ID AND maincontent ID to less than the width of the container ID Combined widths of the navbar ID and maincontent ID must be equal or less than the width of the container ID. Increase width of container ID if necessary, keeping the max width of container to 960px. Why 960px? The project is to be optimized for a 1024 x 768 monitor. CONTAINER HEADER NAVBAR MAINCONTENT