SlideShare a Scribd company logo
Class 11
Opening a Link in a New Browser WindowThe target attribute on the anchor element opens a link in a new browser window or new browser tab.<a href="http://yahoo.com" target="_blank">Yahoo!</a>2
XHTML Linking to Fragment Identifiers A link to a part of a Web pageAlso called named fragments, fragment idsTwo components:The element that identifies the named fragment of a Web page. This requires the id attribute.<div id=“top”> ….. </div>2. The anchor tag that links to the named fragment of a Web page. This uses the href attribute. <a href=“#top”>Back to Top</a>3Note the use of the # in the anchor tag!
Navigation LayoutUsing ListsNavigation hyperlink areas are semantically “lists" of linksSome web design gurus argue that navigation links should be configured using XHTML list elementsUse the list-style-image property to configure the “bullet" list-style-image:url(arrow.gif).4
CSS & XHTML Navigation ListCSS:div#leftcolumnul { list-style-image:url(arrow.gif);} div#leftcolumn a { text-decoration:none;} XHTML:<div id="leftcolumn"><ul>		<li><a href="home.html">Home</a></li>		<li><a href="spring.html">Spring</a></li>		<li><a href="summer.html">Summer</a></li>		<li><a href="fall.html">Fall</a></li>		<li><a href="winter.html">Winter</a></li>	</ul></div>5twocolumn1.html
Display PropertyConfigures how and if an element is displayed display:none ;The element will not be displayed.display:block ;The element is rendered as a block element – even if it is actually an inline element,such as a hyperlink.display:inline;The element will be rendered as an inline element – even if it is actually a block element – such as a <li>.6
CSS & XHTML Navigation ListCSS:div.navli { display:inline;          list-style-type:none; }div.nav a { padding:5px;	background-color:#e8b9e8;	color:#000066;	text-decoration:none;	font-family:Verdana, Arial, sans-serif;	text-align:center; }div.nava:link {color:#000066;            background-color:#e8b9e8; }div.nava:visited {color:#000000;            background-color:#cc66cc; }div.nava:focus {color:#cccccc;            background-color:#000000}div.nava:hover {color:#ffffff;            background-color:#cc66cc; }div.nava:active {color:#cccccc;            background-color:#cc66cc; }XHTML:<div class="nav“><ul>   <li><a href="page1.html">Home</a></li>    <li><a href="spring.html">Spring</a></li>    <li><a href="summer.html">Summer</a></li>   <li><a href="fall.html">Fall</a></li>    <li><a href="winter.html">Winter</a></li>    </ul>  </div>home0.html
Z-Index PropertyModifies the stacking order of elements on a Web page.default z-index value is “0”Elements with higher z-index values will appear stacked on top of elements with lower z-index values rendered on the same area of the page.8
Three ColumnPage LayoutA common Web page layout consists of a header across the top of the page with three columns below: navigation, content, and sidebar. If you are thinking about this layout as a series of boxes—you’re thinking along the right lines for configuring pages using CSS!9
container sets default background color, text color, and  an minimum widthLeft-column navigationfloat: left;width:150px;Right-column contentfloat: right;width:200px; Center column – uses the remaining screen room available room after the floating columns displaymargin: 0 200px 0 150px; Footer – clears the floatclear:both;Three Column Layout10

More Related Content

PPT
1.3 creating links
PPTX
Hyperlink
PPTX
Anchor tag HTML Presentation
PPTX
Links in Html
PPT
Advanced dreamweaver
PPTX
Anchors!
PPTX
HTML5 introduction
PPTX
Gail Borden Library | HTML/CSS Program
1.3 creating links
Hyperlink
Anchor tag HTML Presentation
Links in Html
Advanced dreamweaver
Anchors!
HTML5 introduction
Gail Borden Library | HTML/CSS Program

What's hot (19)

PPT
ARTDM 171 Week 4: Tags
PPTX
Pres
PPTX
How an html file is structured
PPTX
Html links
PPTX
Adding A Link To A Flick’R Photo
PPT
Xhtml Part1
PPTX
How to create rss feed for your website
PPTX
How to create rss feed
PDF
Frontend bootcamp
PPT
1.2 elements and attributes copy (3)
PPTX
Html5 structure tags
PPT
Fundamentals Of Html
PPT
Html2 Intro
DOCX
Sacramento web design
KEY
AAUW Tools for Websites
PPT
HTML Introduction
PPTX
Html lesson3
PPTX
Markup Documents
ARTDM 171 Week 4: Tags
Pres
How an html file is structured
Html links
Adding A Link To A Flick’R Photo
Xhtml Part1
How to create rss feed for your website
How to create rss feed
Frontend bootcamp
1.2 elements and attributes copy (3)
Html5 structure tags
Fundamentals Of Html
Html2 Intro
Sacramento web design
AAUW Tools for Websites
HTML Introduction
Html lesson3
Markup Documents
Ad

Viewers also liked (9)

PDF
jacando for business
PPTX
Class4
PPTX
Why Embrace "Html5"?
PPTX
Class 21
PPTX
Class22
PPTX
Cultural conflict resolution
PPTX
Class 21
PPTX
Class 17
PPTX
Class 20
jacando for business
Class4
Why Embrace "Html5"?
Class 21
Class22
Cultural conflict resolution
Class 21
Class 17
Class 20
Ad

Similar to Class11 (20)

PPT
1.3 creating links
PPT
Block2 Session2 Presentation
PPT
EPiServer Web Parts
PPT
Wordpress & HTML5 by Rob Larsen
PDF
Front End on Rails
PDF
Microformats HTML to API
PPTX
Real-World AJAX with ASP.NET
PPT
Html Intro2
KEY
HTML5 - techMaine Presentation 5/18/09
PPTX
Using HTML5 and CSS3 today
PPT
Webpages And Dynamic Content
PDF
Basics of Rich Internet Applications
PPTX
Master pages ppt
PPTX
The Django Web Application Framework 2
PPTX
The Django Web Application Framework 2
PPTX
The Django Web Application Framework 2
PPTX
The Django Web Application Framework 2
PPT
WordPress Development Confoo 2010
PPT
Getting More Traffic From Search Advanced Seo For Developers Presentation
1.3 creating links
Block2 Session2 Presentation
EPiServer Web Parts
Wordpress & HTML5 by Rob Larsen
Front End on Rails
Microformats HTML to API
Real-World AJAX with ASP.NET
Html Intro2
HTML5 - techMaine Presentation 5/18/09
Using HTML5 and CSS3 today
Webpages And Dynamic Content
Basics of Rich Internet Applications
Master pages ppt
The Django Web Application Framework 2
The Django Web Application Framework 2
The Django Web Application Framework 2
The Django Web Application Framework 2
WordPress Development Confoo 2010
Getting More Traffic From Search Advanced Seo For Developers Presentation

More from Jiyeon Lee (13)

PPTX
Class19
PPTX
Class18
PPTX
Class14
PPTX
Class15
PPTX
Class 12
PPTX
Class13
PPTX
Class 10
PPTX
Class8
PPTX
Class7
PPTX
Class6
PPTX
Class5
PPTX
Class 3
PPTX
Class2
Class19
Class18
Class14
Class15
Class 12
Class13
Class 10
Class8
Class7
Class6
Class5
Class 3
Class2

Recently uploaded (20)

PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Machine Learning_overview_presentation.pptx
PPT
Teaching material agriculture food technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Encapsulation theory and applications.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Electronic commerce courselecture one. Pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
MYSQL Presentation for SQL database connectivity
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Spectral efficient network and resource selection model in 5G networks
Reach Out and Touch Someone: Haptics and Empathic Computing
Chapter 3 Spatial Domain Image Processing.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
20250228 LYD VKU AI Blended-Learning.pptx
A comparative analysis of optical character recognition models for extracting...
Unlocking AI with Model Context Protocol (MCP)
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Machine Learning_overview_presentation.pptx
Teaching material agriculture food technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Encapsulation theory and applications.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Electronic commerce courselecture one. Pdf
Advanced methodologies resolving dimensionality complications for autism neur...
MYSQL Presentation for SQL database connectivity

Class11

  • 2. Opening a Link in a New Browser WindowThe target attribute on the anchor element opens a link in a new browser window or new browser tab.<a href="http://yahoo.com" target="_blank">Yahoo!</a>2
  • 3. XHTML Linking to Fragment Identifiers A link to a part of a Web pageAlso called named fragments, fragment idsTwo components:The element that identifies the named fragment of a Web page. This requires the id attribute.<div id=“top”> ….. </div>2. The anchor tag that links to the named fragment of a Web page. This uses the href attribute. <a href=“#top”>Back to Top</a>3Note the use of the # in the anchor tag!
  • 4. Navigation LayoutUsing ListsNavigation hyperlink areas are semantically “lists" of linksSome web design gurus argue that navigation links should be configured using XHTML list elementsUse the list-style-image property to configure the “bullet" list-style-image:url(arrow.gif).4
  • 5. CSS & XHTML Navigation ListCSS:div#leftcolumnul { list-style-image:url(arrow.gif);} div#leftcolumn a { text-decoration:none;} XHTML:<div id="leftcolumn"><ul> <li><a href="home.html">Home</a></li> <li><a href="spring.html">Spring</a></li> <li><a href="summer.html">Summer</a></li> <li><a href="fall.html">Fall</a></li> <li><a href="winter.html">Winter</a></li> </ul></div>5twocolumn1.html
  • 6. Display PropertyConfigures how and if an element is displayed display:none ;The element will not be displayed.display:block ;The element is rendered as a block element – even if it is actually an inline element,such as a hyperlink.display:inline;The element will be rendered as an inline element – even if it is actually a block element – such as a <li>.6
  • 7. CSS & XHTML Navigation ListCSS:div.navli { display:inline; list-style-type:none; }div.nav a { padding:5px; background-color:#e8b9e8; color:#000066; text-decoration:none; font-family:Verdana, Arial, sans-serif; text-align:center; }div.nava:link {color:#000066; background-color:#e8b9e8; }div.nava:visited {color:#000000; background-color:#cc66cc; }div.nava:focus {color:#cccccc; background-color:#000000}div.nava:hover {color:#ffffff; background-color:#cc66cc; }div.nava:active {color:#cccccc; background-color:#cc66cc; }XHTML:<div class="nav“><ul> <li><a href="page1.html">Home</a></li> <li><a href="spring.html">Spring</a></li> <li><a href="summer.html">Summer</a></li> <li><a href="fall.html">Fall</a></li> <li><a href="winter.html">Winter</a></li> </ul> </div>home0.html
  • 8. Z-Index PropertyModifies the stacking order of elements on a Web page.default z-index value is “0”Elements with higher z-index values will appear stacked on top of elements with lower z-index values rendered on the same area of the page.8
  • 9. Three ColumnPage LayoutA common Web page layout consists of a header across the top of the page with three columns below: navigation, content, and sidebar. If you are thinking about this layout as a series of boxes—you’re thinking along the right lines for configuring pages using CSS!9
  • 10. container sets default background color, text color, and an minimum widthLeft-column navigationfloat: left;width:150px;Right-column contentfloat: right;width:200px; Center column – uses the remaining screen room available room after the floating columns displaymargin: 0 200px 0 150px; Footer – clears the floatclear:both;Three Column Layout10