Computers and Scientific Thinking David Reed, Creighton University

Slides:



Advertisements
Similar presentations
Introduction to HTML. A Web Page is.. An ASCII (text) file.. Whose filename ends with.htm or.html –index.html or cookie-recipe.htm Contains HTML tags.
Advertisements

HTML popo.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML: HyperText Markup Language Hello World Welcome to the world!
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
CS105 Introduction to Computer Concepts HTML
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
HTML Overview Part 2 – Paragraphs, Headings, and Lines 1.
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.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
Getting Started with HTML Please use speaker notes for additional information!
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
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,
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
HTML: Hyptertext Markup Language Doman’s Sections.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
L. Anne Spencer (c) 2001 Basic Web Design Document, text, & layout formatting tags & attributes.
1 Lect 4 HTML-Intro. 2 HTML & Web Pages A Web page is a text document that contains additional formatting information in the HyperText Markup Language.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
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.
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
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING. INTRODUCTION TO HTML With HTML you can create your own Web site. HTML stands for Hyper Text Markup Language.
HTML Basics.
HTML What is HTML? HTML stands for Hyper Text Markup Language
HTML basics
Extended Learning Module F
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
CGS 3066: Lecture 2 Web Development and HTML5
Marking Up with XHTML Tags describe how a web page should look
Survey of Computer Science CSCI 110, Spring 2011 Lecture 23 HTML
HTML Programming Basic HTML text formatting.
Elements of HTML Web Design – Sec 3-2
HTML: HyperText Markup Language
Elements of HTML Web Design – Sec 3-2
3.00cs HTML Overview 3.00cs Develop webpages.
Introduction to XHTML.
Elements of HTML Web Design – Sec 3-2
Web Programming– UFCFB Lecture 5
COMPUTING FUNDAMENTALS
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
CGS 3066: Lecture 2 Web Development and HTML5
HTML ELEMENTS Ms. Olifer.
Introduction to HTML.
Marking Up with XHTML Tags describe how a web page should look
Basic HTML.
HTML Basics Mr. Fazzalari.
Marking Up with XHTML Tags describe how a web page should look
WJEC GCSE Computer Science
Marking Up with XHTML Tags describe how a web page should look
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

Computers and Scientific Thinking David Reed, Creighton University HTML and Web Pages

HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML specifies formatting within a page using tags in its simplest form, a tag is a word or symbol surrounded by brackets (<>)

HTML Tags required tags in a Web page: <html> and </html> enclose the entire HTML document the HEAD section (enclosed between <head> and </head>) contains information that the browser uses to control the look of the page the HEAD can contain a title for the browser window, enclosed between <title> and </title> the BODY section (enclosed between <body> and </body>) contains the text that will appear in the page

HTML Elements tags and the text they enclose form an HTML element <title> Title of the Page </title> is a TITLE element <head> <title> Title of the Page </title> </head> is a HEAD element (which contains a nested TITLE element) most HTML elements have opening and closing tags, but not all <!-- demo1.html Dave Reed --> is a COMMENT element a comment is ignored by the browser (it does not appear in the rendered page) comments are used by the page developer to document page features

Text Layout extra white space (spaces, tabs and blank lines) is ignored by the browser this allows the browser to adjust the text to the window size you can control some of the text layout using HTML elements a PARAGRAPH element (<p>…</p>) specifies text surrounded by blank lines a BREAK element (<br>) causes text to be displayed on a new line the   symbol forces a space to appear in the text

Headings & Alignment in a large document, it is useful to divide the text into sections and then provide each with a heading describing the content that follows <h1> … </h1> enclose a top-level heading (large and bold) <h2> … </h2> enclose a sub-heading (slightly smaller and bold) . . . <h6> … </h6> enclose the smallest sub-heading the HORIZONTAL-RULE element <hr> draws a dividing line in the page by default, headings and other elements are left-justified in the page can change the alignment of an element by adding a style attribute that qualifies the appearance of the element <h1 style="text-align:center"> Centered Heading </h1> <p style="text-align:right"> This paragraph is right justified. Each line will be shifted to line up at the right margin. </p>

Headings & Alignment (cont.) the DIV element groups multiple elements, so they can be formatted together

Font Formatting text can be formatted in a variety of ways bold (<b> … </b>), italics (<i> … </i>), underlined (<u> … </u>) colored text is enclosed in <span style="color:????"> … </span> common colors can be used (e.g., red, green, orange, lightblue, darkblue)

Hyperlinks a hyperlink, or just link, is a connection to another Web page by default, a link appears as underlined text in the page when the user clicks on the link, the corresponding page is retrieved and displayed a link is specified using ANCHOR tags <a> and </a> text that appears within the tags is displayed as the link in the page must have an HREF attribute that specifies the associated Web address <a href="http://www.creighton.edu">Creighton University</a> <a href="personal.html">Local Page</a> note: the browser displays links underlined and in color by default, links whose pages have not yet been visited are blue by default, links whose pages have previously been visited are purple

Hyperlinks (cont.)

Images Web pages can contain other types of media besides text and links images are embedded in a page using an IMG tag ( <img> ) IMG attributes SRC specifies the location of the image file ALT specifies alternate text that is displayed if the image fails to load

Lists HTML lists organize items in sequence <ul>…</ul> enclose an unordered list; <ol>…</ol> enclose an ordered list <li>…</li> enclose a list item

Lists (cont.) a style attribute can be used to format the list elements

Tables text can be aligned into rows and columns using a TABLE element <table> and </table> encapsulate the table data <tr> and </tr> encapsulate a row within the table <td> and </td> encapsulate table data within a row (i.e., a column entry)

Tables with Borders borders can be added to tables using a style attribute style="border:solid" adds a border to the table or table data items

Tables for Alignment tables can be used to align elements in the page here, an image is aligned to the left of some text