Lecture 3 Sarsenova Zhibek.

Slides:



Advertisements
Similar presentations
Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
Advertisements

Internet Programming Practicum Credits : 4 Information System Study Program 1Internet Programming Practicum Lecturers : Kurniawan, S.Kom., M.M. Module.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
CSS The basics { }. CSS Cascading Style Sheets - language used to – describe html appearance & formatting Style Sheet - file that describes – how html.
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.
CSS cont. October 5, Unit 4. Padding We can add borders around the elements of our pages To increase the space between the content and the border, use.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Need to define two things: › The destination › Something to click on to get there  Tag is click here  Can be text, special character or image (next.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
External Site Links by Awnya Boam. Links are found… …almost everywhere on the internet. They allow users to travel from one site to another.
Ch. 5 Web Page Design – Templates and Style Sheets Mr. Ursone.
Design, Formatting, CSS, & Colors 27 February, 2011.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Link and Table in HTML. Statistics HTML review The two faces of a HTML file In a notepad program. In a internet browser program. The function of HTML.
HTML Links and Anchors.
Cascading Style Sheets (CSS) Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
CSS Dvijesh Bhatt.
Links in HTML. Hyperlinks or links Millions of linked web pages make up the World Wide Web Used to connect a web page to another web page on the same.
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
Adding Hyperlinks To a Web Page. Hyperlink and Its Add-Ons Main way to connect web pages and move throughout a web site. Uses the Anchor Tag which is.
Web Design (5) Navigation (1). Creating a new website called ‘Navigation’ In Windows Explorer, open the folder “CU3A Web Design Group”; and then the sub-folder.
Lists, Images, Tables and Links. Lists Unordered List The first item The second item The third item The fourth item Ordered List 1.The first item 2.The.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 6: Links.
How to get there from here. Lesson 5 – Unit E. Library.
Cascading Style Sheets Part 1. CSS vs HTML HTML: Originally intended to markup structure of a document (,...,,,,,...) CSS Developing technology, CSS1,
CO1552 – Web Application Development Linking Pages - The Basis of the Web.
CSS Tutorial 1 Introduction Syntax How to use style specifications. Styles.
 Good navigation is consistent, clearly labeled, and reflects the needs of the site’s audience.  Navigation labels are short, clear, and user-friendly.
ECA225 Applied Interactive Programming Cascading Style Sheets, pt 1 ECA 225 Applied Online Programming.
The Web Wizard’s Guide To DHTML and CSS Chapter 1 A Review of CSS1.
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
Tutorial 3 Adding and Formatting Text with CSS Styles.
INTRODUCTORY Tutorial 5 Using CSS for Layout and Printing.
Are You Smarter Than a 5 th Grader? 1,000,000 5th Grade HTML 5th Grade Syntax 4th Grade HTML 4th Grade Syntax 3rd Grade HTML 3rd Grade Syntax 2nd Grade.
Links in HTML What you need to know….. Hyperlinks or links Millions of linked web pages make up the World Wide Web Used to connect a web page to another.
HTML Links HTML uses a hyperlink to another document on the Web.
Images. Intro What is it? Getting your image Inserting Moving Resizing Cropping.
HTML Comprehensive Concepts and Techniques Second Edition Project 2 Creating a Web Site with Links.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
Chapter 5 BIE2313 | Web design. ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of.
CHAPTER TWO HTML TAGS. 1.Basic HTML Tags 1.1 HTML: Hypertext Markup Language  HTML stands for Hypertext Markup Language.  It is the markup language.
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
Company LOGO In the Name of Allah,The Most Gracious, The Most Merciful King Khalid University College of Computer and Information System Web pages Development.
ECA 228 Internet/Intranet Design I Cascading Style Sheets.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links.
1 Cascading Style Sheets
Cascading Style Sheets
Chapter 5 Images.
Cascading Style Sheets contd: Embedded Styles
Link Label Text Label… Click Here… Image Image Lorem Ipsum Lorem Ipsum
Cascading Style Sheets
Intro to CSS CS 1150 Fall 2016.
Links. Links Links Need to define two things: The destination Something to click on to get there Tag is click here Can be text, special.
Introduction to web design discussing which languages is used for website designing
Unit F Inserting and Working with Links.
IS333: MULTI-TIER APPLICATION DEVELOPMENT
WEBSITE DESIGN Chp 1
Cascading Style Sheets - Building a stylesheet
Intro to CSS CS 1150 Spring 2017.
Hyperlinks, Images and Tables
The Website Foundation
Links.
Inserting and Working with Links
The Website Foundation
Links.
Hyperlinks, Images and Tables
HTML LINKS
IDT Links in HTML What you need to know….
Presentation transcript:

Lecture 3 Sarsenova Zhibek

HTML Links In HTML, links are defines with the <a> tag: < a href = “url”> link text </a> The target Attributes __blank - Opens the linked document in a new window or tab _self - Opens the linked document in the same window/tab as it was clicked (this is default) _parent - Opens the linked document in the parent frame _top - Opens the linked document in the full body of the window framename - Opens the linked document in a named frame

HTML Links-Image as Link

Changing Link Colors and Underlining When you move the mouse over a link, two things will normally happen: The mouse arrow will turn into a little hand The color of the link element will change By default, a link will appear like this (in all browsers): An unvisited link is underlined and blue A visited link is underlined and purple An active link is underlined and red

Example <style> a:link    {color:green; background-color:transparent; text-decoration:none} It applies for links that have not yet been visited by the user and asks for their styling. a:visited {color:pink; background-color:transparent; text-decoration:none} Used for already visited links

a:hover   {color:red; background-color:transparent; text-decoration:underline} determines the status of links when it focused on a mouse cursor a:active  {color:yellow; background-color:transparent; text-decoration:underline} Specifies the style for normal unvisited links. </style>

Create a Bookmark HTML bookmarks are used to allow readers to jump to specific parts of a Web page. Bookmarks can be useful if your webpage is very long. To make a bookmark, you must first create the bookmark, and then add a link to it. When the link is clicked, the page will scroll to the location with the bookmark.

First, create a bookmark with the id attribute: <h2 id="tips">Useful Tips Section</h2> Then, add a link to the bookmark ("Useful Tips Section"), from within the same page: <a href="#tips">Visit the Useful Tips Section</a> Or, add a link to the bookmark ("Useful Tips Section"), from another page: <a href="html_tips.html#tips">Visit the Useful Tips Section</a>

Example

HTML Tabindex Determines the sequence of the transition between the links by clicking on the Tab button.

Div element block element and is designed to isolate a fragment of a document in order to change the content of the form. Typically, the form block is controlled via styles. To describe each time the style within the tag, you can select the style in an external style sheet, and add an attribute to the tag class or id to the selector name. The <div> tag defines a division or a section in an HTML document. The <div> tag is used to group block-elements to format them with CSS.

Attributes of div

The class Attribute The HTML class attribute makes it possible to define equal styles for elements with the same class name. Here we have three <div> elements that points to the same class name:

Example

Result

Nav <Nav> tag defines the site's navigation. If some link units page in the <nav> is usually placed priority links. It is also permissible to use multiple tags <nav> in the document. It is forbidden to put <nav> inside <address>.

Thank you!