TNPW1 Ing. Jiří Štěpánek.  Tags  Marks for elements ▪ Pair ▪ Start and end tag ( Paragraph text ) ▪ Single ▪ Only start tag, according to XHTML 1.0.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
HTML popo.
Learning HTML. > Title of page This is my first homepage. Tells Browser This is an HTML page Basic Tags Tells Browser End of HTML page Header information.
COS 125 Internet Fundamentals and Web Page Design Day 3.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Technologies for web publishing Ing. Vaclav Freylich Lecture 1.
Tutorial 1: Developing a Basic Web site
In this lecture, you will learn: ❑ How to link between pages of your site ❑ How to link to other sites ❑ How to structure the folders on your web site.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
IPUB 100 Lesson 2 Instructor Mark Lamontagne Homework Review.
Headings, Paragraphs, Formatting, Links, Head, CSS, Images
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.
HTML (HyperText Markup Language)
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Agenda Links External and Internet Links Anchor Tag Text Hyperlinks Image Hyperlinks Images Image Attributes: src, alt, width, height, align, border.
CSCE Chapter 5 (Links, Images, & Multimedia) CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
HTML Introduction to HTML Tags. HTML Document My first HTML document Hello world!
Images in HTML PowerPoint How images are used in HTML.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
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.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
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.
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.
HTML: Hyptertext Markup Language Doman’s Sections.
XHTML TAGS I Basic Tags. North Lake College 2 by Sean Griffin Sample XHTML Code.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
HTML – Organizing Page Content. HTML Images img tag Required attribute: src
HTML – Organizing Page Content. HTML Images img tag Required attribute: src
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
REEM ALMOTIRI Information Technology Department Majmaah University.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
01 – HTML (1) Informatics Department Parahyangan Catholic University.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Basics.
HTML basics
Creating and Linking Web Pages
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Images in HTML PowerPoint How images are used in HTML
HTML.
Uppingham Community College
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
COMPUTING FUNDAMENTALS
WEBSITE DESIGN Chp 1
HTML Intro.
3.02D HTML Overview 3.02 Develop webpages.
Basic HTML and Embed Codes
HTML Introduction Lecture 8.
Pertemuan 1b
Introduction to HTML.
CS3220 Web and Internet Programming HTML and XML Basics
Pertemuan 1 Desain web Pertemuan 1
Images in HTML PowerPoint How images are used in HTML
Lesson 2: HTML5 Coding.
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
Images in HTML PowerPoint How images are used in HTML
Presentation transcript:

TNPW1 Ing. Jiří Štěpánek

 Tags  Marks for elements ▪ Pair ▪ Start and end tag ( Paragraph text ) ▪ Single ▪ Only start tag, according to XHTML 1.0 strict ended by slash (,  Each element can have attributes (i.e. for img – src, alt)  Each element has its own set of attributes, some are common for all elements (id, class, title…) Some are specific. Some attributes are required.  (

 Represented by tag  Including metadata = info about page  Charset (coding), Author name, page name, keywords and so on Page name

<meta http-equiv="content-type" content="text/html; charset=utf-8" /> Page name Paragraph text

 Head  Title, charset, other metadata  Written inside element  Body  Body tag  Visual elements that can visitor see – images, paragraphs, hyperlinks….

 Headings –  Paragraph  Subscript, Superscript  Preformatted text  Text shown exactly how it is written

Phrase elements  Indicate the meaning of the text. They can only contain text or other line elements.  Looks different than normal text   emphasize – italic font formatting by default   Another emphasize – bold font formatting by default  Another elements:  computer / program code  sample code  definition

 Cite Shakespeare.  For cited source – person / organization names  Elements, – for cites  Cited text  Inline element for short cites  Cited text  Block element for longer cites  Can contain another block elements

 Link text  Element in XHTML document.  Instead of text can contain i.e. picture  After clicking redirected to URL defined in href attribute

  Only one per page  Main heading for concrete page ▪ Very imporatnt for SEO ▪ Contains unique name of page ▪ Text the same or similar to

  Can figure multiple times on page  Must not be skipped (i.e. page cannot contain h1 and h3 if there is no h2)  Semantics is very important factor for search engines

 absolute x relative  absolute  Contact  Leads to URL in href no matter where is HTML document placed  relative  Contact  Looking for file in current folder ▪ „data/contact.htm“ (look into „data“) ▪ „/data/contact.htm“ (goes to root folder, then the same as previous ) ▪ „../data/contact.htm“ (goes one level higher, then look for data folder, in data folder look for contact.htm)

 Hyperlinks can point to random document types (.zip,.jpg,.pdf,.avi and so on…)  The good practice is to tell the file size  As a part of hyperlink ▪ Presentation 1 – Introduction (pps 99 KiB)  When pointing to image, the thumbnail shoul be used.

 Anchor – position on page  Anchor definition ▪ Heading  Link to anchor on the same page ▪ Go to my anchor 1  Link to anchor on different page ▪ Go to index and anchor  Using anchors  Should not be used as web navigation  Should be used for skipping some parts of page or for returning to top of page from end and so on…

 Single element (image)   alt attribute is required (alternative text shown in case image cannot be loaded)  title attribute is optional (text in title attribute shown when mouse cursor is placed on the image)  width and height determines dimensions of image – attributes must correspond with actual size of image!  Considering the image format (gif, jpg, png)  For resizing the image must be used appropriate software, not the browser