HTML Formatting Text.

Slides:



Advertisements
Similar presentations
HTML popo.
Advertisements

Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML Overview - Text Markups. Before We Begin Make a copy of your HTML file you created in the previous lesson Make a copy of your HTML file you created.
Basic HTML Tags.
Adding HTML to Blackboard
Web Page Development Identify elements of a Web Page Start Notepad
ULI101: XHTML Basics (Part III) Introduction to XHTML / Continued … Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,,
HTML Overview Part 2 – Paragraphs, Headings, and Lines 1.
Define html document byusing Example : Title of the document The content of the document......
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
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.
1.  Describe the anatomy of a web page  Format the body of a web page with block-level elements including headings, paragraphs, lists, and blockquotes.
More Basic HTML. Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features Add alignments.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
15.2 More Basic HTML. More Basic HTML Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features.
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.
Just Enough HTML How to Create Basic HTML Documents.
Lesson 2: Basic HTML Code Basic HTML Code. HTML is an acronym for Hypertext Markup Language. Internet browsers translate the HTML code into texts and.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
ECA 228 Internet/Intranet Design I Intro to Markup.
Agenda Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,, Font Attributes: size, color, face Horizontal.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
1 Web Application Programming Presented by: Mehwish Shafiq.
Styling in HTML PowerPoint How to style in HTML. Styling in HTML Styling tags can be added to HTML to place emphasis or add appeal – These tags must be.
Getting Started with Marking Up Page Content. Tag defines a paragraph Automatically creates some space before and after itself Code Browser Display.
Headings are defined with the to tags. defines the largest heading. defines the smallest heading. Note: Browsers automatically add an empty line before.
Text Building a Website Lesson 3. Headings,,,,, Headings,,,,, HTML has 6 levels of headings,,,,,,,,,, is used for main headings is used for main headings.
The Web Wizard’s Guide to HTML Chapter Two Basic Text Formatting.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
HTML. Hyper Text Markup Language Markup your text document The markup is the tag Hyper text means you can jump from place to place Programming language.
Text Elements. We've already learned about the,,,, and elements. Now let's learn some elements that we'll use to present actual text content on our web.
HTML Introduction. Lecture 7 What we will cover…  Understanding the first html code…  Tags o two-sided tags o one-sided tags  Block level elements.
HTML Basics Text, Images, Tables, Forms. HTML Structure HTML is comprised of “elements” and “tags” – Begins with and ends with Elements (tags) are nested.
Lesson 5. XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating.
More HTML Tags CS 1150 Spring 2017.
HTML Basics.
Web Development & Design Foundations with HTML5 8th Edition
More HTML Tags CS 1150 Fall 2016.
HTML Programming Basic HTML text formatting.
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Elements of HTML Web Design – Sec 3-2
Uppingham Community College
INTRODUCTION TO HTML AND CSS
Text Elements.
Elements of HTML Web Design – Sec 3-2
Elements and Attributes
Introduction to HTML.
Tag Basics.
A guide to HTML.
HTML.
WEBSITE DESIGN Chp 1
Text Elements.
HTML Intro.
Computers and Scientific Thinking David Reed, Creighton University
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Text Elements.
Intro to Web Development HTML Structure
INTRODUCTION TO HTML AND CSS
HTML Structure.
Text Elements.
Getting Started with Marking Up Page Content
Text Elements.
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

HTML Formatting Text

Headers and Paragraphs Block Level Elements

Word Document Headings When creating a report you use headings to convey hierarchy in your document. The title is Heading 1 and it is the largest to show importance The successive headings decrease in size as you go down the hierarchy

Word Headings example We can think of website headings just like word documents Heading 1 (Document Title) Heading 2 (Subtitle) Heading 3 (Sub-Sub Title) Heading 4 (Sub-Sub-Sub Title) Heading 5 (Sub-Sub-Sub-Sub Title) Heading 5 (Sub-Sub-Sub-Sub Title) Heading 4 (Sub-Sub-Sub Title)

<h1>Website Title</h1> Website Headings In websites we use the same hierarchy as we do in word documents There are six levels of headers, h1 through h6 The text size gets smaller as the headers increase in number Header tags look as follows: Typically the opening and closing tags are on the same line since the contents are relatively small <h1>Website Title</h1>

Website Headings h1 (Website Title) h2 (Subtitle) h3 (Sub-Sub Title) h4 (Sub-Sub-Sub Title) h5 (Sub-Sub-Sub-Sub Title) h5 (Sub-Sub-Sub-Sub Title) h4 (Sub-Sub-Sub Title)

Website Headings in Code Focusing on just the headings and not the text in-between

Paragraph Tag Sections of text will be split up into paragraphs to make easy reading. This is the same as when you’re reading a newspaper or a novel. paragraph paragraph

Paragraph Tag Paragraphs are created using p tags Put the paragraph text inside the opening <p> and closing </p> tags

Block Level Elements Notice that the tags (elements) so far all create new lines when they are introduced in the page. You don’t see a Header and a paragraph horizontally next to each other. These are called block level elements because they are put on their own lines. Block new line before and after blocks

Break Lines and Horizontal Rules New Lines Break Lines and Horizontal Rules

Self Enclosing Tags You will notice that both the break line and horizontal rules have one tag that comprises both the beginning and end tag. e.g. <br> and <hr>

Break Line To add a new line in your document use a break line <br> In older versions of html you needed to make this a self enclosing tag by <br /> but this is no longer necessary with the new standards New Line

Break Line and it looks like… Notice the Line Break

Horizontal Rules Helps you break up sections of your document by adding a horizontal line Will make a line between these sections

Horizontal Rule And it looks like… <hr>

White Space Notice that even if we put new lines and spaces in our code it doesn’t appear in the website. There will only be one space here No new line

White Space Browsers ignore extra whitespace or new lines. The reason we put them in is just for readability for the website developer

More text tags

The Strong Tag Strong tags are used to indicate that a set of characters are important. It could be just a letter or a few words that are important Strong text could be styled in numerous ways, by default it is bold

The Emphasis Tag You can think of the emphasis tag grammatically. If you were to speak this sentence, which word would you give emphasis too? Emphasizing certain words will change the meaning of a sentence. Read this sentence giving emphasis accordingly: I wonder how old Janet is. I <em>wonder</em> how old Janet is. I wonder how <em>old</em> Janet is. I wonder how old <em>Janet</em> is.

The Emphasis Tag By default the emphasis tag makes text italic, but it can be styled in any way.