Introduction to Computing

Slides:



Advertisements
Similar presentations
MA foundation Creating webpages using XHTML (part 1) Simon Mahony CCH
Advertisements

HTML popo.
HTML: HyperText Markup Language Hello World Welcome to the world!
Chapter 2 HTML Basics Key Concepts
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
The basic structure of any HTML The basic structure of any HTML page is: Your web page title here ** [all the HTML for display] ** : : CENG 449 Lecture.
Made by: Dan Ye. Introduction Basic Last Page ☆ HTML stands for Hyper Text Markup Language; ☆ HTML is not a programming language, it is a markup language;
Web Page Development Identify elements of a Web Page Start Notepad
HTML syntax By Ana Drinceanu. Definition: Syntax refers to the spelling and grammar of a programming language. Computers are inflexible machines that.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
Define html document byusing Example : Title of the document The content of the document......
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
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.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
>> Introduction to HTML: Tags. Hyper - is the opposite of linear Text – words / sentences / paragraphs Mark-up – Marking the text Language – It is a language.
Introduction to HTML. HTML Hyper Text Markup Language Page Title My First Heading My first paragraph. Page Title My First Heading My first paragraph.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
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,
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML: Hyptertext Markup Language Doman’s Sections.
Learning HTML involves... Learning how these elements are used Learning a list of elements.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
CPT 499 Internet Skills for Educators Session Ten Class Notes.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
HTML Basic. 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.
Introduction to HTML Year 8. What is HTML O Hyper Text Mark-up Language O The language that all the elements of a web page are written in. O It describes.
Text Building a Website Lesson 3. Headings,,,,, Headings,,,,, HTML has 6 levels of headings,,,,,,,,,, is used for main headings is used for main headings.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
HTML ELEMENTS THE SUPER BASICS. OPENING AND CLOSING If a tag is opened Then the tag must be closed.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
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.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Lab 3 Html basics.
HTML Extra Markup CS 1150 Spring 2017.
Fall 2016 CSULA Saloni Chacha
Intro to HTML CS 1150 Spring 2017.
Introduction to HTML.
CGS 3066: Lecture 2 Web Development and HTML5
BHS Web Design Mr. Campbell
Web Development & Design Foundations with HTML5 8th Edition
LAB Work 01 MBA 61062: E-Commerce
Intro to HTML CS 1150 Fall 2016.
Learning HTML involves... Learning a list of elements Learning how these elements are used Explain: Learning HTML means learning all of the elements.
XHTML/CSS Week 1.
Introduction to basic HTML
How to create a static website with HTML
HTML: HyperText Markup Language
Mansoor Ahmed Bughio.
Coding, Testing and Valdating a Web Page
INTRODUCTION TO HTML AND CSS
Chapter 1: Introduction to XHTML (part 1)
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Internet & Web Engineering Course Code:CS-228 Credit Hours (3+1) Lab 1 Introduction to Markup Language HTML Instructor: Muhammad Zeeshan Haider.
WEBSITE DESIGN Chp 1
Marking Up with XHTML Tags describe how a web page should look
CGS 3066: Lecture 2 Web Development and HTML5
HOW PAGES USE STRUCTURE HEADLINE HOW PAGES USE STRUCTURE TEXT.
Intro to Web Development HTML Structure
INTRODUCTION TO HTML AND CSS
Structuring Content in a Web Document
HOW PAGES USE STRUCTURE HEADLINE HOW PAGES USE STRUCTURE TEXT.
Lesson 2: HTML5 Coding.
Web Design & Development
Marking Up with XHTML Tags describe how a web page should look
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

Introduction to Computing by Zohaib Jan

HTML Hyper text MARKUP language

Before starting HTML XML (Extensible Mark up Language) Album Song Name Singer Record

Structure of Document Ever read a newspaper ?

My very first html page <html> <body> <h1>This is the Main Heading</h1> <p>This text might be an introduction to the rest of the page. And if the page is a long one it might be split up into several sub-headings.<p> <h2>This is a Sub-Heading</h2> <p>Many long articles have sub-headings so to help you follow the structure of what is being written. There may even be sub-sub-headings (or lower-level headings).</p> <h2>Another Sub-Heading</h2> <p>Here you can see another sub-heading.</p> </body> </html>

HTML Elements <IAMANELEMENT>

HTML Elements <start> </stop>

HTML resources https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/HTML_basics

HTML Elements <p lang=“en-US”>WOW HTML IS EASY</p>

HTML Elements

Elements can have attributes

Nested elements

Empty Elements

Anatomy of an HTML document <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>My test page</title> </head> <body> <img src="images/firefox-icon.png" alt="My test image"> </body> </html>

Take away HTML pages are text documents. HTML uses tags (characters that sit inside angled brackets) to give the information they surround special meaning. Tags are often referred to as elements. Tags usually come in pairs. The opening tag denotes the start of a piece of content; the closing tag denotes the end. Opening tags can carry attributes, which tell us more about the content of that element. Attributes require a name and a value. To learn HTML you need to know what tags are available for you to use, what they do, and where they can go.

Markups Structural Markup Semantic Markup

Heading <h1>This is a Main Heading</h1> <h2>This is a Level 2 Heading</h2> <h3>This is a Level 3 Heading</h3> <h4>This is a Level 4 Heading</h4> <h5>This is a Level 5 Heading</h5> <h6>This is a Level 6 Heading</h6>

Paragraph <p>A paragraph consists of one or more sentences that form a self-contained unit of discourse. The start of a paragraph is indicated by a new line.</p> <p>Text is easier to understand when it is split up into units of text. For example, a book may have chapters. Chapters can have subheadings. Under each heading there will be one or more paragraphs.</p>

Bold and italic <p>This is how we make a word appear <b>bold.</b> </p> <p>Inside a product description you might see some <b>key features</b> in bold.</p> <p>This is how we make a word appear <i>italic</i></p> <p>It's a potato <i>Solanum eberosum</i>.</p> <p>Captain Cook sailed to Australia on the <i>Endeavour</i>.</p>

Lists Most of the content on web is lists Two types of lists Unordered list Ordered list <p>At Mozilla, we’re a global community of</p> <ul> <li>technologists</li> <li>thinkers</li> <li>builders</li> </ul> <p>working together ... </p>

Links <a>Mozilla Manifesto</a> <a href="">Mozilla Manifesto</a> <a href="https://www.mozilla.org/en-US/about/manifesto/">Mozilla Manifesto</a>

Subscript and superscript <p>On the 4<sup>th</sup> of September you will learn about E=MC<sup>2</sup>.</p> <p>The amount of CO<sub>2</sub> in the atmosphere grew by 2ppm in 2009<sub>1</sub>.</p>

Line Breaks & Horizontal Rules <hr/>

Semantic markups <p><strong>Beware:</strong> Pickpockets operate in this area.</p> <p>This toy has many small pieces and is <strong>not suitable for children under five years old.</strong></p> <p>I <em>think</em> Ivy was the first.</p> <p>I think <em>Ivy</em> was the first.</p> <p>I think Ivy was the <em>first</em>.</p>

Quotations <blockquote cite="http://en.wikipedia.org/wiki/Winnie-the-Pooh“> <p>Did you ever stop to think, and forget to start again? </p> </blockquote><p>As A.A. Milne said, <q>Some people talk to animals. Not many listen though. That's the problem.</q></p

Acronyms <p><abbr title="Professor">Prof</abbr> Stephen Hawking is a theoretical physicist and cosmologist.</p><p><acronym title="National Aeronautics and Space Administration">NASA</acronym> do some crazy space stuff.</p>

Citations & Definitions <p><cite>A Brief History of Time</cite> by Stephen Hawking has sold over ten million copies worldwide.</p> <p>A <dfn>black hole</dfn> is a region of space from which nothing, not even light, can escape.</p>

Author Details <address> <p><a href="mailto:homer@example.org">homer@example.org</a></p><p>742 Evergreen Terrace, Springfield.</p></address>

Changes to Content <p>It was the <del>worst</del> <ins>best</ins> idea she had ever had.</p> <p>Laptop computer:</p> <p><s>Was $995</s></p> <p>Now only $375</p>

Example <html> <head> <title>Text</title> </head> <body> <h1>The Story in the Book</h1> <h2>Chapter 1</h2> <p>Molly had been staring out of her window for about an hour now. On her desk, lying between the copies of <i>Nature</i>, <i>New Scientist</i>, and all the other scientific journals her work had appeared in, was a well thumbed copy of <cite>On The Road</cite>. It had been Molly's favorite book since college, and the longer she spent in these four walls the more she felt she needed to be free.</p> <p>She had spent the last ten years in this room, sitting under a poster with an Oscar Wilde quote proclaiming that <q>Work is the refuge of people who have nothing better to do</q>. Although many considered her pioneering work, unraveling the secrets of the llama <abbr title="Deoxyribonucleic acid">DNA</abbr>, to be an outstanding achievement, Molly <em>did</em> think she had something better to do.</p> </body> </html>

Takeaway HTML elements are used to describe the structure of the page (e.g. headings, subheadings, paragraphs). They also provide semantic information (e.g. Where emphasis should be placed, the definition of any acronyms used, when given text is a quotation).

Ref “HTML & CSS Design and Build Websites”, by Jon Duckett, John Wiley & Sons, Inc. CHAPTER 1 & 2