HTML TEXT.

Slides:



Advertisements
Similar presentations
HTML Basics 1450 Technology Seminar Copyright 2003, Matthew Hottell.
Advertisements

XHTML Week Two Web Design. 2 What is XHTML? XHTML is the current standard for HTML Newest generation of HTML (post-HTML 4) but has many new features which.
HTML. The World Wide Web Protocols Addresses HTML.
C HAPTER – 3 I NTRODUCTION TO H TML By :- Pinkesh H. Patel.
Chapter 2 HTML Basics Key Concepts
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
HTML Character Entities. Character Entities Some characters have a special meaning in HTML, like the less than sign (
XHTML II DIGITAL MEDIA: COMMUNICATION AND DESIGN F2007.
Marking Up With Html: A Hypertext Markup Language Primer
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
ULI101: XHTML Basics (Part III) Introduction to XHTML / Continued … Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,,
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) HTML Basics James Wang.
Creating HTML 5 Documents (The Basics). Slide 2 Goals (XHTML HTML5) XHTML Separate document structure and content from document formatting HTML 5 Create.
Programming I 2 nd lecture. Block-level and inline elements BlockInline block-level elements generally can contain text, data, inline elements, or other.
Week 1.  Phillip Chee   Ext.1214 
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
HTML Hyper-Text Markup Language or tags. HTML is a “tag” language Open and close tags Tags identified with angle brackets Basic format content (shorthand.
1 Introduction to HTML Joshua S. Simon Collective Technologies.
HTML,DHTML & Javascript/Session1/1 of 39 Introduction and Basic Tags Session 1 of Using HTML, DHTML & JavaScript.
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,
HTML Darby Tien-Hao Chang Department of Electrical Engineering National Cheng Kung University.
Copyright © Osmosys O S M O S Y SO S M O S Y S D e p l o y i n g E x p e r i e n c e & E x p e r t i s e™ HTML Training.
Agenda Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,, Font Attributes: size, color, face Horizontal.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
L. Anne Spencer (c) 2001 Basic Web Design Document, text, & layout formatting tags & attributes.
HTML HyperText Markup Language ©Richard L. Goldman July 15, 2003.
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.
Introducing HTML 5 Creating Web Pages with HTML 5 1.
Basics of HTML. Tags for overall page structure:,, and Tags for titles, headings, and paragraphs:, through, and Tags for comments: Tags for lists:,,,,
HTML Markup and Document Structure CHAPTER 1 1 CHARLES WYKE-SMITH: STYLIN’ WITH CSS: A DESIGNER’S GUIDE (3 ND EDITION)
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.
DESIGNING A WEB PAGE Introducing the… &TAGS.
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
Basic Webpage Design Formatting tags.
Chapter 5 pp HTML Elements & Attributes Format Content Or Examples This Text Is A Hyperlink.
HTML5 Structure. Slide 2 Introduction Introduce the purpose of the new HTML5 semantic tags Introduce the HTML5 outlining mode Using semantic metadata.
Chapter 4 and 5. Objectives Introduce markup: elements and attributes How browsers interpret HTML documents Basic structure of HTML document What do style.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
HTML CS 4640 Programming Languages for Web Applications
HTML Basics.
More HTML Tags CS 1150 Spring 2017.
Web Development & Design Foundations with HTML5 8th Edition
Special Characters.
Marking Up with XHTML Tags describe how a web page should look
More HTML Tags CS 1150 Fall 2016.
Web Development & Design Foundations with HTML5 7th Edition
Introducing XHTML: Module D: Text, Lists & Links
N100 Building a Simple Web Page
Introduction to HTML.
Internet & Web Engineering Course Code:CS-228 Credit Hours (3+1) Lab 1 Introduction to Markup Language HTML Instructor: Muhammad Zeeshan Haider.
Tag Basics.
ITI 133 HTML5 Desktop and Mobile Level I
HTML Intro.
HTML5 Level I Session II Chapter 3 - How to Use HTML to Structure a Web Page
Special Characters.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Client-Side Internet and Web Programming
HTML5 Session II Chapter 2 - How to Code, Test and Validate a Web Page Chapter 3 - How to Use HTML to Structure a Web Page
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Basics of Web Design Chapter 2 HTML Basics Key Concepts
Lesson 2: HTML5 Coding.
Basics of Web Design Chapter 2 HTML Basics Key Concepts
HTML CS 4640 Programming Languages for Web Applications
Marking Up with XHTML Tags describe how a web page should look
Creating Web Documents
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

HTML TEXT

Introduction HTML whitespace handling

Whitespace Whitespace refers the spaces, tabs, and carriage returns are all whitespace characters Whitespace is normalized in HTML5 Carriage return characters are rendered as a single space

Whitespace (Example) Whitespace is normalized when an THML document is rendered: The following will be rendered the same: <p>foo</p> <p> foo </p>

Whitespace (Example) The following text <p>This text will appear on one line </p> Will be rendered as (whitespace is normalized): This text will appear on one line

Textual Elements (1) The <p> element marks a paragraph It’s a block-level element The semantic <small> element marks “disclaimers, caveats, legal restrictions, or copyright It’s an inline element The inline <strong> denotes important text <em> denotes emphasis

Textual Elements (2) Use the <cite> element to create a citation or reference to a source Use <blockquote> for a standalone quote and <q> for short quotes within a sentence Enclose images in the <figure> tag

Textual Elements (3) The inline <abbr> attribute marks an abbreviation Use the title attribute for the actual title Use the <dfn> element to define a key term The <sub> element marks inline text as subscript The <super> element marks inline text as superscript The <del> element marks inline text as strike through (deleted) text

Textual Elements (4) The <ins> marks text as inserted text The <code> element marks text as programmatic code The <pre> element marks preformatted text Whitespace is preserved <mark> highlights text <br /> creates a line break <span> works like <div> except it marks an inline element(s) rather than a block element. Use the <address> element to mark contact information for a person or company

The <time> element Markup a point in time or a duration using the <time> element The datetime attribute contains the date

Entity References We often need to Insert special meta-characters < > into HTML documents Named entities Insert symbols © Numbered entities

Inserting Special Characters (Named Entities) a complete list appears at http://w3schools.com/tags/ref_entities.asp   non-breaking space ¢ cent symbol £ British Pound © copyright symbol ® registered trademark < less than > greater than & ampersand " double-quotation mark

Inserting Unicode Symbols It’s possible to specify a UNICODE code point as a decimal or hexadecimal number (where d is a decimal or hexadecimal value ) Examples: &#dddd; (decimal) � (hex)

Finding Symbols PowerPoint’s Insert Symbol dialog box is a good tool

Named Entities (Example) The following <br> is rendered as