Selected Sections of Applied Informatics

Similar documents
Certified HTML5 Developer VS-1029

Certified HTML Designer VS-1027

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

CSC 121 Computers and Scientific Thinking

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

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

A Balanced Introduction to Computer Science, 3/E

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

A Brief Introduction to HTML

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

Html basics Course Outline

Layout Manager - Toolbar Reference Guide

Summary 4/5. (contains info about the html)

Creating Web Pages Using HTML

1.264 Lecture 12. HTML Introduction to FrontPage

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

CSC Web Technologies, Spring HTML Review

Tutorial 2 - HTML basics

Skill Area 323: Design and Develop Website. Multimedia and Web Design (MWD)

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document.

Hyper Text Markup Language HTML: A Tutorial

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

Introduction to using HTML to design webpages

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

HTML Tags <A></A> <A HREF=" CNN </A> HREF

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

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

Website Development with HTML5, CSS and Bootstrap

HTML OBJECTIVES WHAT IS HTML? BY FAITH BRENNER AN INTRODUCTION

HTML. Based mostly on

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

HTML. HTML Evolution

The figure below shows the Dreamweaver Interface.

c122jan2714.notebook January 27, 2014

HYPERTEXT MARKUP LANGUAGE ( HTML )

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

Creating Web Pages. Getting Started

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

UNIT II Dynamic HTML and web designing

SYBMM ADVANCED COMPUTERS QUESTION BANK 2013

Introduction to Computer Science (I1100) Internet. Chapter 7

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

Management Information Systems

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

HTML What is HTML Hyper Text Markup Language is a computer based language used to create WebPages.

Building Web Based Application using HTML

Comp-206 : Introduction to Software Systems Lecture 22. Alexandre Denault Computer Science McGill University Fall 2006

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

Table of Contents. MySource Matrix Content Types Manual

Beginning Web Programming with HTML, XHTML, and CSS. Second Edition. Jon Duckett

[AVWSQ-ADWCS6]: WSQ ICDL Adobe Dreamweaver CS6

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

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

ADOBE VISUAL COMMUNICATION USING DREAMWEAVER CS5 Curriculum/Certification Mapping in MyGraphicsLab

AGENDA :: MULTIMEDIA TOOLS :: CLASS NOTES

Document Object Model. Overview

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

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

Geocaching HTML & BBCode FUNdamentals by Scott Aleckson (SSO JOAT)

HTTP & Websites. Web Browsers. Web Servers vs. Web sites. World Wide Web. Internet Explorer. Surfing the World Wide Web. Part 4. The World Wide Web

By Ryan Stevenson. Guidebook #2 HTML

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

HTML BEGINNING TAGS. HTML Structure <html> <head> <title> </title> </head> <body> Web page content </body> </html>

Introduction to HTML

Page Layout Using Tables

11. HTML5 and Future Web Application

The University of Hawaii at Manoa Library Webpage Content/Design/Style Guidelines General Site Design... 2

STD 7 th Paper 1 FA 4

IMY 110 Theme 7 HTML Tables

APPENDIX THE TOOLBAR. File Functions

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10

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

OU EDUCATE TRAINING MANUAL

Web Designing HTML5 NOTES

CSC Web Programming. Introduction to HTML

Programmazione Web a.a. 2017/2018 HTML5

Web Page Creation Part I. CS27101 Introduction to Web Interface Design Prof. Angela Guercio

Adobe Dreamweaver CS4

I-5 Internet Applications

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

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1

Learning Objectives. Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are

HTMLnotesS15.notebook. January 25, 2015

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors.

HTML CS 4640 Programming Languages for Web Applications

EDITOR GUIDE. Button Functions:...2 Inserting Text...4 Inserting Pictures...4 Inserting Tables...8 Inserting Styles...9

Bridges To Computing

The Web. Session 4 INST 301 Introduction to Information Science

FUNDAMENTALS OF WEB DESIGN (405)

Web Engineering (Lecture 01)

Figure 1 Forms category in the Insert panel. You set up a form by inserting it and configuring options through the Properties panel.

SECTION C GRADE 12 EXAMINATION GUIDELINES

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

The [HTML] Element p. 61 The [HEAD] Element p. 62 The [TITLE] Element p. 63 The [BODY] Element p. 66 HTML Elements p. 66 Core Attributes p.

request HTML Document send HTML Document

5/17/2009. Marking Up with HTML. An HTML Web Page File. Tags for Bold, Italic, and underline. Structuring Documents

CSCB20 Week 6. Introduction to Database and Web Application Programming. Anna Bretscher Winter 2016

Final Examination Semester 1 / Year 2012

AGENDA. EMBEDDING FONTS [ Font Files & CSS font-family ] :: Online Font Converter :: ADD font-family css code to style.css

UNIT-02 Hyper Text Markup Language (HTML) UNIT-02/LECTURE-01 Introduction to Hyper Text Markup Language (HTML) About HTML: [RGPV/Dec 2013(4)]

Transcription:

Selected Sections of Applied Informatics M.Sc. Marcin Koniak koniakm@wt.pw.edu.pl http://www2.wt.pw.edu.pl/~a.czerepicki Based on lecture: Dr inż. Andrzej Czerepicki a.czerepicki@wt.pw.edu.pl 2018

HTML format Definition and purpose Structure of the document Tags Forms and components thereof 2

HTML format HyperText Markup Language - hypertext markup language HTML Document - a text file using HTML tags HTM or HTML extension HTML specifies the standard: the structure of the document (headings, content, paragraphs) appearance of the document (fonts, colours, styles, etc.) navigation within the document and between documents (browser links, links) Entry forms Attachments (media files, documents, etc.) Not programming language (!) Current version of standard 5.0 3

gateway The concept of hypertext Hypertext - text linked to navigation links.................................[anchor]................................ [link 1]........................................................[link 2] gateway The idea known from the 1960s. Document (hiper)text 4

Selected HTML Editors NetBeans HTML Editor Microsoft Web Developer Studio Adobe DreamWeaver Spider (PL) KompoZer BlueFish Notepad+++ etc. 5

Content vs presentation of HTML HTML is a platform-independent format The content of the HTML document shall determine its appearance accurate to the browser HTML does not meet the assumptions of the WYSWYG concept Content of the HTML document View of HTML document 6

HTML tags Tag an element located in brackets with a sharp angle Ex: <head> - tag of the document header Tags are used in pairs: <title> My WWW </title> For some tags a short form of writing is allowed (includes and closes inside the brackets) <tag/> Ex: <br/> - verse breaking mark 7

Tag attributes Tag can have attributes Attribute can be a single value or a pair of names=value Values are defined by quotation marks <p id="akapit" lang="pl"> <option value="2" selected> 8

Structure of HTML tag Opening tag < name > Closing tag < /name > Opening tag with attributes < name attribut = value' > Single tag, attributes < name /> (optional) 9

Structure of HTML document <html> <head> Header </head> Header of the window Page coding Window width window width etc. <html> <body> Content <div> Section <p> Paragraph </p> </div> </body> Contents visible in the browser window 10

Classification of HTML tags Structural describe the structure of the text Presented describe the appearance of the elements in the document Hypertext describe the links (benchmarks) between documents 11

Structural tags They define the division of the document text into segments: HTML document, document heading, document content, text paragraph, table, etc. Does not directly affect the appearance of the text In practice, some of these tags may have default styles assigned to them, which changes the appearance of the text. Operation depends on your browser: the appearance of the same document may vary 12

Structural tags Tag <html> <head> <body> <p> <table>, <tr>, <td> <div> <h1>, <h2>, <h6> Description HTML document HTML document header HTML document content paragraph Table, row, cell Section Chapter 13

Presentation tags Describe the presentation of the document Font, colour, position, size, formatting, etc. Physical tags uniquely define the appearance of the element independently from the browser. Logical tags determine the type of element, leaving the decision on the way of displaying for a web browser. 14

Presentation physical tags <b> BOLD </b> <i> Italic </i> <u> Underline </u> <font color='red' size='6'> Red text </font> <p align='center'> Justified paragraph </p> 15

Presentation logic tags <strong> increased </strong> <em> accolade </em> <cite> citation </cite> <code> source code of the programme </code> <kbd> keyboard input data </kbd> <samp> sample </samp> <var> variable </var> 16

Special characters Code character Character appearance < < > > & & etc. Euro 17

Hypertext tags The transitions between documents are described by a <a> tag. The name attribute indicates the "anchor" in the text, i. e. destination of the jump. <a name= list_of_contents' /> List of contents </a> The href attribute means a link leading to a specific location (an anchor, destination file, attachment) <a href='plik.html#spis_tresci' > Wróć </a> <a href='index.html' > Strona główna </a> <a href='artykul.html#publikacje' > Literatura </a> <a href='artykul.pdf' > Pobierz </a> 18

Graphical annexes (pictures) Graphic images are added to the HTML document as attachments Tag <img> with optional attributes width, height height The image can be an active element in conjunction with the <a>> tag The format of supported graphics files depends on the browser <img src="logo.gif" alt="logo firmy" height="50" width="60"> 19

Other facilities In an HTML document, you can embed any active object that can be played back on a web page, provided that the user has an appropriate browser. <object width="400" height="400" data="witam.swf"> </object> 20

Tables The table is defined by the <table> marker The addition of rows to the table is done using the <tr> row markup declaration Each row of the table consists of a certain number of cells defined using the <td> marker The cell can combine adjacent columns (colspan attribute='...' tag <td>) or rows (rowspan attribute='...' tag <td>) 21

HTML table (example) 22

Comments To disable (browser ignore) a portion of the HTML code, you need to use tags. <!-- You can place any content here, which will not affect the design of the site --> 23

HTML forms Form is an element of the user interface that performs the data input function in order to transfer it to the server. From the HTML point of view, the form is a container for logically related control elements (controls), described in detail below 24

Declaration of the form <form action=" the target URL on the server " method=" the HTTP method of data transmission "> <! controls --> <! buttons [send] --> <! button [reset] --> </form> 25

HTML form components Elements for entering or selecting data <input type= komponent type".> Button [Send] <input type="submit"/> Button [Reset] <input type="reset"/> 26

Component types <input>> Element Text Radio Properties value text field name the name of the all radio group Select Checkbox Button checked whether it is selected (true/false) value the value of selected value field <option> checked whether it is selected (true/false) value text on the button 27

Text component (text text field) Component <input> of the text type provides a value through a value value value property of the string type. 28

Radio component (switch) The components <input> of radio type are used in groups All radio components with identical name attribute value are one group. The name of the group name and the value of the selected component will be transferred to the server. 29

Component Select (developed list) The <select> component is used to select one of many options from the list List elements are declared using the <option>> marker The attribute value value is transferred to the server. 30

Checkbox component (option box) The <input> component of the checkbox type performs a single selection option Option status: whether or not selected (checked) If this option is selected, the attribute id or name of the component and its value are transferred to the server. 31

Component Button (footswitch) The <input> button type ensures the functionality of the button The subtitle is set using the value attribute The submit type button sends the form data back to the server. Reset button cleans the data of the form 32

Transmission of data to a server <form action= /login > Marek <input type= text name= imie /> http://url_serwera/login? name = Marek Send <input type= submit /> 33