Welcome To Website Design, Hosting And Management Prepared By Webdev Solution ip 82.145,223,96.

Slides:



Advertisements
Similar presentations
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
Advertisements

Building a Website: Cascading Style Sheets (CSS) Fall 2013.
กระบวนวิชา 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.
Today’s objectives Site performance Padding, Margins, Borders
Tutorial 4 Formatting Text. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Create a spread heading Indent text Change the line spacing.
CS4370/6370 Web Development Cascading Style Sheets (CSS)
CASCADING STYLE SHEETS CSS. 2 What CSS means?  CSS is an extension to basic HTML that allows you to style your web pages.  It separates the part that.
Text Properties, Line Box, CSS. Text Properties Properties related to the display of text. Text-align : left, right, center I like FSU!
CSE CASCADING STYLE SHEETS CSS Faculty of Computer Science and Engineering.
Lecture CSS: Cascading Style Sheets. What are Styles? Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics.
Selectors thru Borders. CSS – Cascading Style Sheets – is a way to style HTML HTML is the content base of a web page CSS provides the presentation qualities.
Cascading Style Sheets Example
Cascading Style Sheets CS3505. What are CSS? Method for adding style attributes consistently to HML tags Cascading because styles are applied in order.
Cascading Style Sheets Billy Toy Cascading Style Sheets Syntax review How to Implement style sheets Background properties Text properties.
CSS Dvijesh Bhatt.
HTML/CSS Hyper Text Markup Language. CSS Cascading Style Sheets.
Dreamweaver -- CSS. Dreamweaver -- MX New icons are added in MX Most of the features commonly used in web design, and are same as FrontPage. New feature.
1Computer Sciences Department. And use
Cascading Style Sheets, pt 2 ECA 225 Applied Online Programming.
Cascading Style Sheets CSS. CSS - Structure Declaration block Property: identifies what to change Value: how to change it Selector – example h1{ font-size:
New Perspectives on XML, 2nd Edition Tutorial 5 1 TUTORIAL 5 WORKING WITH CASCADING STYLE SHEETS.
XP New Perspectives on XML Tutorial 5 1 TUTORIAL 5 CSS Tutorial – Carey ISBN
WDV 101 Intro to Website Development
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
Doman’s Sections Information in this presentation includes text and images from
HTML. Basic HTML HTML document – HTML headings – to HTML paragraphs – HTML links – HTML images –
What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External.
CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorials 3 & 4: Working With CSS.
Today’s objectives  Assignment 1  Padding, Margins, Borders  Fluid Layout page  Building accessible Table  Element size with padding and border 
Tutorial #4 Formatting Text and Links. Tutorial #3 Review - CSS CSS format Selector { property1: value1; /* Comments */ } Embedded, In-Line, and External.
Introduction to CSS. What is CSS?  Cascading Style Sheets  Used for styling HTML  Also important in javascript and jquery for selectors  External.
CHAPTER 3 CSS & CSS3 อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
MySQL and PHP Review CSS. Cascading Style Sheet (CSS) Style sheets are files or forms that describe the layout and appearance of a document. Cascading.
Lesson 03 // Cascading Style Sheets. CSS Stands for Cascading Style Sheets. We’ll be using a combination of Html and CSS to create websites. CSS is a.
CSS Tutorial 1 Introduction Syntax How to use style specifications. Styles.
 2008 Pearson Education, Inc. All rights reserved Cascading Style Sheets™ (CSS)
INTRODUCTORY Tutorial 4 Exploring Graphic Elements and Images.
>> The “Box” Model. Pre-requisite Create a new project in Netbeans called Week5 Create a new html file and name it box.html Create a new css file and.
 Cascading Style Sheets (CSS) ◦ Used to specify the presentation of elements separately from the structure of the document.  Inline style ◦ declare.
CSS Class 2 -Add margins to elements on a page. -Set width and height of elements. - CSS shorthand properties for box model. -Style links. -Style tables.
Week 8 – Part 2 Page Layout Basics Key Concepts 1.
XP Review 2 New Perspectives on JavaScript, Comprehensive1 Introducing Cascading Style Sheets Formatting Web Pages with CSS.
 2008 Pearson Education, Inc. All rights reserved Cascading Style Sheets™ (CSS)
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
3.2 Cascading Style Sheets. 2 Positioning Elements Normally, elements are laid out on the page in the order that they are defined in the XHTML document.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Cascading Style Sheets.
CSS – Cascading Style Sheets
Web Technologies Beginning Cascading Style Sheets (CSS) 1Copyright © Texas Education Agency, All rights reserved.
1 CSS محمد احمدی نیا 2 Of 21 What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements 
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
ECA 228 Internet/Intranet Design I Cascading Style Sheets.
Tutorial #5 Working with the Box Model. Tutorial #4 Review - CSS Create a homework page Final Project Discussion Exam on Blackboard Styling Lists (List-style-type,
PERSPECTIVES: TUTORIAL 4 CREATING PAGE LAYOUTS WITH CSS.
CS 120: Introduction to Web Programming Lecture 10: Extra Features and Website Design Part 1 Tarik Booker CS 120 California State University, Los Angeles.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 3 Introducing Cascading Style Sheets.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
1 CS428 Web Engineering Lecture 07 Font, Text & Background (CSS - II)
HTML & CSS Contents: the different ways we can use to apply CSS to The HTML documents CSS Colors and Background CSS Fonts CSS Text CSS box model: padding,
Unit 3 - Review. Topics 1. Tag, Attribute, Value 2. CSS Rule Syntax + link 3. Categories of Selectors 4. Inline vs Block Tags 5. CSS Layout 6. CSS Box.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 4 Formatting Text and Links.
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 solve a problem External.
1 Cascading Style Sheets
WebD Introduction to CSS By Manik Rastogi.
CSS.
Semester - Review.
Unit 3 - Review.
UNIT-II CSS.
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Presentation transcript:

Welcome To Website Design, Hosting And Management Prepared By Webdev Solution ip ,223,96

Prepared By Webdev Solution Basic Terms

HTML - hypertext markup language CSS - cascaded stylish sheet PHP - IS a server-side scripting language designed for web development but also used as a general-purpose programming language. Prepared By Webdev Solution

Basic Terms ASPX-Active Server Page Extended file that's designed for Microsoft's ASP.NET framework language. JavaScript -is a high-level, dynamic, untyped, and interpreted programming language. Prepared By Webdev Solution

Introduction General Format:- Prepared By Webdev Solution

Introduction Head - includes a title for the document, scripts, styles, meta information. Note: You can NOT have more than one element in an HTML document. Prepared By Webdev Solution

Introduction The element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc. Prepared By Webdev Solution

Tags in HTML Defines a comment Defines the document type Defines a hyperlink Defines bold text Defines a single line break Prepared By Webdev Solution

Tags in HTML Defines centered text Defines a section in a document Defines an HTML form for user input to Defines HTML headings Prepared By Webdev Solution

Tags in HTML Defines an image Defines an input control such as (button, text, password, submit, radio, checkbox, , number, tel). Defines a paragraph Defines a client- side script Prepared By Webdev Solution

Tags in HTML and Create a drop-down list Defines list of elements Defines an ordered list Defines unordered list Defines a section in a document Prepared By Webdev Solution

Table tags in HTML Defines a table Defines a row in a table Defines a header cell in a table Defines a cell in a table Prepared By Webdev Solution

Tags in HTML Defines a video or movie Defines a multiline input control (text area) Defines sound content Defines navigation links Prepared By Webdev Solution

Tags in HTML Defines the relationship between a document and an external resource (most used to link to style sheets) style Defines style information for a document id Specifies a unique id for an element Prepared By Webdev Solution

Marquee in HTML is a scrolling piece of text displayed either horizontally across or vertically down your webpage depending on the settings. Prepared By Webdev Solution

Marquee in HTML Prepared By Webdev Solution width This specifies the width of the marquee. This can be a value like 10 or 20% etc. height This specifies the height of the marquee. This can be a value like 10 or 20% etc. direction This specifies the direction in which marquee should scroll. This can be a value like up, down, left or right.

Marquee in HTML Prepared By Webdev Solution behavior This specifies the type of scrolling of the marquee. This can have a value like scroll, slide and alternate. scrolldelay This specifies how long to delay between each jump. This will have a value like 10 etc. scrollamount This specifies the speed of marquee text. This can have a value like 10 etc.

Marquee in HTML Prepared By Webdev Solution loop This specifies how many times to loop. The default value is INFINITE, which means that the marquee loops endlessly. bgcolor This specifies background color in terms of color name or color hex value. hspace This specifies horizontal space around the marquee. This can be a value like 10 or 20% etc. vspace This specifies vertical space around the marquee. This can be a value like 10 or 20% etc.

Introduction to css Styling can be added to HTML elements in 3 ways: Inline - using a style attribute in HTML elements Internal - using a element in the HTML section External - using one or more external CSS files Prepared By Webdev Solution

Example of inline css Prepared By Webdev Solution

Example of internal css Prepared By Webdev Solution

Example of external css Prepared By Webdev Solution

CSS font Prepared By Webdev Solution

CSS box model Prepared By Webdev Solution

CSS id Attribute Prepared By Webdev Solution

CSS class Attribute Prepared By Webdev Solution NOTE: we use id to address a single element. Use class to address groups of elements.

HTML Links Prepared By Webdev Solution General syntax

HTML Links Prepared By Webdev Solution The target attribute specifies where to open the linked document. home

HTML target attribute Prepared By Webdev Solution _blank Opens the linked document in a new window or tab _self Opens the linked document in the same frame as it was clicked (this is default) _parent Opens the linked document in the parent frame

Image as a link Prepared By Webdev Solution

HTML Bookmark Prepared By Webdev Solution HTML bookmarks are used to allow readers to jump to specific parts of a Web page.

HTML Bookmark Prepared By Webdev Solution

HTML table Prepared By Webdev Solution

HTML table Prepared By Webdev Solution What to change on a table :  Cell padding  Cell spacing  Border  Apply id CSS style  Alignment of text  border-collapse  Column/rows span of cells

HTML table Prepared By Webdev Solution Assignment

CSS in details Prepared By Webdev Solution Reminder Cascaded stylish sheet describe how html elements will be displayed on the screen

CSS in details Prepared By Webdev Solution CSS can control a number of web pages. They are saved by extension “.css”

CSS background properties Prepared By Webdev Solution background-color background-image background-repeat background-attachment background-position

CSS background-color Prepared By Webdev Solution body { background-color: blue; }

CSS background-image Prepared By Webdev Solution Note: By default image is repeated body { background-image: url(“new.gif”); }

CSS background-repeat Prepared By Webdev Solution body { background-image: url(“new.gif”); background-repeat: repeat-x; } This results to horizontal repeat repeat-y; for vertical repeat no-repeat; for no repeat

CSS background-position Prepared By Webdev Solution You can set property such as right top, right bottom etc. background-position: right top;

CSS background-attachment Prepared By Webdev Solution Defines whether the background image scroll with the text or not background-attachment: fixed;

CSS shorthand property Prepared By Webdev Solution body { background: red url(“new.gif”) no-repeat right top; } This shorten the code by combining the properties

CSS border styles Prepared By Webdev Solution dotted dashed solid double groove ridge inset outset hidden none border-width border-color

CSS margin Prepared By Webdev Solution margin-top margin-right margin-bottom margin-left inherit

CSS padding Prepared By Webdev Solution used to generate space around content padding-top padding-right padding-bottom padding-left inherit

CSS height & width Prepared By Webdev Solution Height and width can be set auto (default). Both do not include [padding, borders or margins] instead sets the height/width of the area inside the (elements in []). Note: max-width property overrides width

CSS text color property Prepared By Webdev Solution Color background-color CSS text-align property center left right justify

CSS text-decoration property Prepared By Webdev Solution none overline line-through underline

CSS text-transform property Prepared By Webdev Solution Defines whether small or capital letters uppercase lowercase capitalize

CSS text-indent property Prepared By Webdev Solution Specifies the indentation of the first line p { text-indent: 50px; }

CSS letter/word-spacing property Prepared By Webdev Solution Specifies the decrease or increase of space between characters h1 { letter-spacing: 3px; } h2{ word-spacing: -3px; }

CSS line-height property Prepared By Webdev Solution Specifies the space between lines h1 { line-height: 0.8; } h2{ line-height: 1.9; }

CSS text direction property Prepared By Webdev Solution Specifies the text direction of an element div { direction: rtl; }

CSS font-style property Prepared By Webdev Solution Mostly used to specify italic text p { font-style: normal; } p{ font-style: italic } p{ font-style: oblique; }

CSS link state property Prepared By Webdev Solution a:link - a normal unvisited link a:visited - a link the user has visited a:hover - a link on mouse over a:active - a link at the moment clicked Note: a:hover MUST come after a:link and a:visited. a:active MUST come after a:hover

CSS list-styles property Prepared By Webdev Solution list-style-type circle square Upper-romanlower-alpha list-style-image ul{ list-style-image: url(‘new.gif’) } list-style-position- specifies whether the list-item marker appear inside or outside the content flow

CSS outline property Prepared By Webdev Solution outline-color p{ border: 1px solid black; outline-color: red; } outline-style Same as those of border e.g. dotted, dashed, solid, double, inset, outset, ridge outline-width e.g. outline-width: 3px;

CSS display property Prepared By Webdev Solution Is the most important property- specifies if/how an element is displayed. display-block-level element always starts on a new line and stretches out left and right as far as it can. display-inline-does not start in a new line and only take up as much width as necessary. display-none- hides and show elements without deleting or recreating them.

CSS float property Prepared By Webdev Solution used to wrap text around images img { float: right; margin: px 10px; }

CSS float property Prepared By Webdev Solution used to wrap text around images img { float: right; margin: px 10px; }

Creating a Navigation bar Prepared By Webdev Solution Navigation Bar Home About Us Contact Us

CSS for Navigation bar Prepared By Webdev Solution body{ background-color: grey; } nav{ background-color: blue; height:42px; margin-top: 0px; }

CSS for Navigation bar Prepared By Webdev Solution nav ul{ list-style: none; } nav ul li a{ padding:0px 20px; float:left; color: white; text-decoration:none; line-height:42px; height:42px; text-align:center; }

CSS for Navigation bar Prepared By Webdev Solution nav ul li a.active{ background-color: red; border-radius:8px; }