What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language)

Similar documents
HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

Introduction to web development and HTML MGMT 230 LAB

CHAPTER 1: GETTING STARTED WITH HTML CREATED BY L. ASMA RIKLI (ADAPTED FROM HTML, CSS, AND DYNAMIC HTML BY CAREY)

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1

Programmazione Web a.a. 2017/2018 HTML5

c122jan2714.notebook January 27, 2014

MPT Web Design. Week 1: Introduction to HTML and Web Design

INTRODUCTION TO WEB USING HTML What is HTML?

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Web Programming Week 2 Semester Byron Fisher 2018

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Html basics Course Outline

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

Part 1: HTML Language HyperText Make-up Language

CSC 121 Computers and Scientific Thinking

Web Engineering (Lecture 01)

The Structure of the Web. Jim and Matthew

Introduction to WEB PROGRAMMING

The Nature of the Web

INTRODUCTION TO HTML5! HTML5 Page Structure!

introduction to XHTML

Web Publishing Basics I

A Balanced Introduction to Computer Science, 3/E

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

Introduction to Web Technologies

It is possible to create webpages without knowing anything about the HTML source behind the page.

This document provides a concise, introductory lesson in HTML formatting.

LECTURE 08: INTRODUCTION TO HTML

Revision for Grade 7 ASP in Unit :1&2 Design & Technology Subject

HTML CS 4640 Programming Languages for Web Applications

Web Development and HTML. Shan-Hung Wu CS, NTHU

Hyper Text Markup Language HTML: A Tutorial

Chapter 2. Self-test exercises

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

Web Programming HTML CSS JavaScript Step by step Exercises Hans-Petter Halvorsen

Web Designing HTML5 NOTES

CSC9B1: Essential Skills WWW 1

11. HTML5 and Future Web Application

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Web Site Design and Development. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM

Markup Language. Made up of elements Elements create a document tree

History of the Internet. The Internet - A Huge Virtual Network. Global Information Infrastructure. Client Server Network Connectivity

MRK260. Week Two. Graphic and Web Design

HTML MIS Konstantin Bauman. Department of MIS Fox School of Business Temple University

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

HTML, CSS, JavaScript

University of Hawaii at Hilo WEB AND HTML THE INTERNET MAP ( COURTESY OF WIKIMEDIA COMMONS)

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

Tutorial 1: HTML Tutorial (Windows Version) HTML (Hypertext Markup Language) Basics Objectives

MODULE 2 HTML 5 FUNDAMENTALS. HyperText. > Douglas Engelbart ( )

S. Rinzivillo DATA VISUALIZATION AND VISUAL ANALYTICS

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab.

HTML. Hypertext Markup Language. Code used to create web pages

Data Visualization (CIS/DSC 468)

Motivation (WWW) Markup Languages (defined). 7/15/2012. CISC1600-SummerII2012-Raphael-lec2 1. Agenda

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

Web development using PHP & MySQL with HTML5, CSS, JavaScript

Bok, Jong Soon

Developing a Basic Web Page

HTML Hyperlinks (Links)

Beginning HTML. The Nuts and Bolts of building Web pages.

Web Design. Basic Concepts

Static Webpage Development

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

WEBSI TE DESIGNING TRAINING

HTML, CSS. Kristóf Kovács, Róbert Pálovics, Ferenc Wettl Kristóf Kovács, Róbert Pálovics, Ferenc Wettl HTML, CSS / 28

Bridges To Computing

Management Information Systems

Tutorial. Activities. Code o o. Editor: Notepad Focus : Text manipulation & webpage skeleton. Open Notepad

The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data.

LING 408/508: Computational Techniques for Linguists. Lecture 14

Introduction to HTML

Creating and Building Websites

Creating Web Pages. Getting Started

What You Will Learn Today

Creating A Web Page. Computer Concepts I and II. Sue Norris

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

Hyper Text Markup Language

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION

Beginning Web Site Design

CS109 Data Science Data Munging

Basics of Web. First published on 3 July 2012 This is the 7 h Revised edition

CS144 Notes: Web Standards

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Web Design and Development ACS Chapter 3. Document Setup

CS 1124 Media computation. Lab 9.3 October 24, 2008 Steve Harrison

HTML+ CSS PRINCIPLES. Getting started with web design the right way

HTML & CSS November 19, 2014

Understanding the Web Design Environment. Principles of Web Design, Third Edition

Training Sister Hicks

How the Internet Works

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

Hyper Text Markup Language

Hypertext Markup Language, or HTML, is a markup

Transcription:

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language)

What is a website? A website is a collection of web pages containing text and other information, such as images, sound and video files, that are made available on the World Wide Web through the use of a web server A web page is a single page of text, images, sound, video, etc., that is built using HTML tags It has a URL: e.g. https://www.google.com/ APACHE, IIS, etc. EDGE/IE FIREFOX CHROME OPERA SAFARI Mobile, etc. RECEIVED BY CLIENT WEB Port 443 for HTTPS

Creating websites 1 Static web sites Content is static in separate files Dynamic web sites Content is dynamic using databases and programming (writes the content) allowing visitors to interact Free web services MySpace, FaceBook, Google+, WordPress, Blogger, Flickr, YouTube, Twitter, Google Docs, Instagram etc. CMS (Content Management Systems) Allows to create pages directly online in an automated way Word processor save document to web page Built-in, will usually create a bad web page Use a specific conversion application instead Click to Convert Tools

Static website Some browsers actually make 2 requests. First they try to dwl the /favicon.ico

Dynamic website

Creating websites 2 HTML (Hypertext Markup Language) Created by Tim Berners-Lee in 1993 from SGML Layout and formatting (style or apperance) CSS - Cascading Style Sheets Web server and web server software Apache or IIS etc. Domain name registrators and DNS Point to free web services as (Facebook, Blogger etc.) Point to rented space hosting Shared hosting, dedicated server or a virtual server? Create Web Content Use open source CMS as Joomla, Drupal or WordPress Use a WYSIWYG (What You See Is What You Get) CMS-tool which usually is commercial Create the site content yourself. HTML > CSS > JavaScript > PHP/ASP.NET/Python > ***SQL*** > dynamic web 2.0 online application

Web editors etc. Commercial editors JetBrains WebStorm and PhpStorm, Microsoft Visual Studio, Sublime Text WYSIWYG editor or just a text editor? https://www.youtube.com/watch?v=if6dfkbeng4 Comparison of HTML editors http://en.wikipedia.org/wiki/comparison_of_html_editors Dedicated or multi-programming language capable? Some free multi capable editors Notepad++, Microsoft Visual Studio Code, Brackets, Atom, JetBrains PyCharm, CodeLobster, NetBeans,... https://www.slant.co/topics/8150/~ides-for-web-development Software to copy/upload your files to your web server SCP (WinSCP) or FTP etc. Other things to maintain/remember regarding your web server Stats, SEO/analytics, mail, logs, security, databases, services, users,...

What is HTML 1 HTML is text file containing XML-like markup tags Follows published standards via: http://www.w3.org/ Common elements in a html text file (page) A text header, denoted using the <h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags A paragraph, denoted using the <p> tag A link, denoted using the <a> (anchor) tag A list, denoted using the <ul> (unordered list), <ol> (ordered list) and <li> (list element) tags An image, denoted using the <img> tag A divider, denoted using the <div> tag A text span, denoted using the <span> tag Elements define the structure or semantics of the document It generally consists of a start tag, content, and an end tag

What is HTML 2 When you write the HTML markup language you need to follow the rules called syntax Tags usually come in pairs, with some exceptions <html>...</html>, <body>...</body>, <p>...</p> Some tags with empty elements <hr> (horizontal ruler), <br> (single line break), <img>, Whats the difference between the <span> and the <div> tag? The <span> tag is used for grouping and applying styles to inline elements The <div> tag is used with block-level content The markup tags tell the built in parser in the web browser how to structure and display the page text For example put a text in a bold font HTML tags are not case sensitive <b>i am bold now!</b>

What is HTML 3 Most elements can have attributes Each element has a different set of attributes relevant to the element There are a few global attributes, the most common of them are id - Denotes the unique ID of an element in a page. Used for locating elements by using links, JavaScript, and more class - Denotes the CSS class of an element style - Denotes the CSS styles to apply to an element The tags should have quoted attributes <a href="https://www.w3schools.com">this is a link</a> <img src="img_girl.jpg"> <p class="thesis" style="color:blue;font-size:20px;">text paragraph</p> <div id="text1" style="font-family:verdana;">block of content</div>

What is HTML 4 The web browser parses the markup to know where things begin and end in order to be able to render and display the page </ element name > or < /> ends a tag which may be nested Web pages are free-form input; line breaks can be used most anywhere and don't affect the appearance of the document Your entire page could be a single line of text! HTML code and result <!doctype html> <html> <head> <title>my first web page</title> </head> <body> <h1 style="color:blue;font-family: verdana;">this is a Blue Heading</h1> <p style="color:red;font-size:20px;">this is my first web page.</p> <b><i>this text is in bold italic!</i></b> <br /> Normal text. </body> </html>

HTML markup cheat sheets

Repetition, meta tags and validation Tags: <tag> your content </tag> The <head> tag contains information about the page as a whole The <title> tag which is where your page s title gets put The </ > tag means "close the previous tag" The paragraph <p> tag starts each new block of text The <b> tag makes text bold and <i> makes it italic 6 heading levels, the main heading on your page may be <h1> or <h2> Meta tags Meta-tags are a way for a web page to supply information about itself to the web browser that is displaying the page <meta name="description" content="latest availability for the Grand Hotel"> <meta name="keywords" content="availability, late bookings, vacant rooms"> HTML visibility Everyone that can view your page can read and copy your code HTML validation ensure that your code is correct Built-in in some tools or use http://validator.w3.org

An exercise and first lab: Dipping the toes... Links in Learn Tools W3schools Validate html code