HTML Basics Text, Images, Tables, Forms. HTML Structure HTML is comprised of “elements” and “tags” – Begins with and ends with Elements (tags) are nested.

Slides:



Advertisements
Similar presentations
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Advertisements

HTML, Text, Images, Tables, Forms Svetlin Nakov Telerik Corporation
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!
 CSS ids  Pages  Sites  HTML: class=“name”  Names may define format OR content › Either works  CAN apply multiple classes to the same tag  Multiple.
Basic HTML Workshop LIS Web Team Fall What is HTML? Stands for Hyper Text Markup Language Computer language used to create web pages HTML file =
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
Introduction to HTML academy.zariba.com 1. Lecture Content 1.What is HTML? 2.The HTML Tag 3.Most popular HTML tags 2.
Basics of HTML. Example Code Hello World Hello World This is a web page.
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
Define html document byusing Example : Title of the document The content of the document......
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
1 Essential HTML coding By Fadi Safieddine (Week 2)
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
HTML Hyper Text Markup Language It is used for describing web documents or web pages. A markup language is set of markup tags. HTML documents are described.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Html Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
CSS Basic (cascading style sheets)
A Basic Web Page. Chapter 2 Objectives HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
HTML and Web Pages. HTML?  HTML is not a programming language  A type of SGML (standard generalized markup language)  HTML uses paired tags to markup.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
Mark Dixon Page 1 Tech – HTML. Mark Dixon Page 2 Admin Attendance Register: –log in to your profile.
HTML 5 Overview Document Structure, Basic Tags, Common Elements SoftUni Team Technical Trainers Software University
Are You Smarter Than a 5 th Grader? 1,000,000 5th Grade HTML 5th Grade Syntax 4th Grade HTML 4th Grade Syntax 3rd Grade HTML 3rd Grade Syntax 2nd Grade.
Web programming Part 1: HTML 由 NordriDesign 提供
HTML World Wide Web Consortium What does HTML stand for? – – –
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
HTML: Hypertext Markup Language The language to make web pages 0.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
HTML Basic Structure. Page Title My First Heading My first paragraph.
HTML cancho. HTML HyperText Markup Language A set of HTML tags.
Chapter 5 pp HTML Elements & Attributes Format Content Or Examples This Text Is A Hyperlink.
CSS Layout Cascading Style Sheets. Lesson Overview  In this lesson, we’ll cover:  Brief CSS review  Creating sections with the tag  Creating inline.
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.
Chapter 1: Intro to HTML Section 1: HTML Structure Presentation Section 2: Layout of an HTML File Section 3: Working with Lists & Tables Section 4: HTML.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
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.
INTRODUCTION ABOUT DIV Most websites have put their content in multiple columns. Multiple columns are created by using or elements. The div element is.
CASCADING STYLE SHEET CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem.
Presented By Presented By Tanveera Akhter Class:CA 2 nd year Dated:12/12/3456 Dept of Comp. Science.
How the Web Works? WWW use classical client / server architecture
Web Basics: HTML/CSS/JavaScript What are they?
HTML basics
CGS 3066: Lecture 2 Web Development and HTML5
HTML Programming Basic HTML text formatting.
>> Introduction to CSS
HTML: HyperText Markup Language
Web Design and Development
Elements of HTML Web Design – Sec 3-2
INTRODUCTION TO HTML AND CSS
Elements of HTML Web Design – Sec 3-2
PAGE LAYOUT - 1.  Most HTML elements are defined as block level elements or inline elements.  Block level elements normally start (and end) with a new.
Cascading Style Sheets - Building a stylesheet
HTML, Text, Images, Tables
HTML5 Level I Session II Chapter 3 - How to Use HTML to Structure a Web Page
Computers and Scientific Thinking David Reed, Creighton University
Basic HTML and Embed Codes
CGS 3066: Lecture 2 Web Development and HTML5
Intro to Web Development HTML Structure
INTRODUCTION TO HTML AND CSS
HTML Formatting Text.
Introduction to HTML5.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
HTML 5 SEMANTIC ELEMENTS.
HyperText Markup Language
Cascading Style Sheets - Building a stylesheet
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

HTML Basics Text, Images, Tables, Forms

HTML Structure HTML is comprised of “elements” and “tags” – Begins with and ends with Elements (tags) are nested one inside another: Tags have attributes: HTML describes structure using two main sections: and 2

HTML Code Formatting The HTML source code should be formatted to increase readability and facilitate debugging. – Every block element should start on a new line. – Every nested (block) element should be indented. – Browsers ignore multiple whitespaces in the page source, so formatting is harmless. For performance reasons, formatting can be sacrificed 3

First HTML Page 4 <html> My First HTML Page My First HTML Page This is some text... This is some text... </html> test.html

<html> My First HTML Page My First HTML Page This is some text... This is some text... </html> First HTML Page: Tags 5 Opening tag Closing tag An HTML element consists of an opening tag, a closing tag and the content inside.

<html> My First HTML Page My First HTML Page This is some text... This is some text... </html> First HTML Page: Header 6 HTML header

<html> My First HTML Page My First HTML Page This is some text... This is some text... </html> First HTML Page: Body 7 HTML body

Some Simple Tags Hyperlink Tags Image Tags Text formatting tags 8 <a href=" title="Telerik">Link to Telerik Web site title="Telerik">Link to Telerik Web site This text is emphasized. This text is emphasized. new line new line This one is more emphasized. This one is more emphasized.

Some Simple Tags – Example 9 <html><head> Simple Tags Demo Simple Tags Demo </head><body> <a href=" title= "Telerik site">This is a link. "Telerik site">This is a link. Bold and italic text. Bold and italic text.</body></html> some-tags.html

Some Simple Tags – Example (2) 10 <html><head> Simple Tags Demo Simple Tags Demo </head><body> <a href=" title= "Telerik site">This is a link. "Telerik site">This is a link. Bold and italic text. Bold and italic text.</body></html> some-tags.html

Tags Attributes Tags can have attributes – Attributes specify properties and behavior – Example: – Few attributes can apply to every element: id, style, class, title The id is unique in the document Content of title attribute is displayed as hint when the element is hovered with the mouse Some elements have obligatory attributes 11 Attribute alt with value " logo "

Headings and Paragraphs Heading Tags (h1 – h6) Paragraph Tags Sections: div and span 12 This is my first paragraph This is my first paragraph This is my second paragraph This is my second paragraph Heading 1 Heading 1 Sub heading 2 Sub heading 2 Sub heading 3 Sub heading 3 This is a div This is a div

Headings and Paragraphs – Example 13 <html> Headings and paragraphs Headings and paragraphs Heading 1 Heading 1 Sub heading 2 Sub heading 2 Sub heading 3 Sub heading 3 This is my first paragraph This is my first paragraph This is my second paragraph This is my second paragraph This is a div This is a div </html> headings.html

<html> Headings and paragraphs Headings and paragraphs Heading 1 Heading 1 Sub heading 2 Sub heading 2 Sub heading 3 Sub heading 3 This is my first paragraph This is my first paragraph This is my second paragraph This is my second paragraph This is a div This is a div </html> Headings and Paragraphs – Example (2) 14 headings.html