Teach Yourself HTML5 & CSS 3: Week 3 Task 11 - Anchors Part 1
|
|
- Anis James
- 5 years ago
- Views:
Transcription
1 Teach Yourself HTML5 & CSS 3: Week 3 Task 11 - Anchors Part 1 This week you will continue working with your brave-tin-soldier.html webpage investigating how you can alter the layering of elements in it. Next you will have a quick look at the title attribute and then start on an introduction to website anchors. Using Notepad++, open up your brave-tin-soldier.html webpage that you worked on last week. Refamiliarise yourself with how the three blocks were positonned and styled using absolute positioning, setting a width, borders and background colours, and adding some padding. Element Stacking Order While working through last weeks lesson you will recall that, on occasion, when using positioning, some of your data overlaps other data as shown on the right. The normal stacking order of webpage elements are determined by the order that they occur in your webpage code. Elements further down in your HTML code always sit on top of elements nearer the top of your code. Layering Elements When using positioning you can override the natural stacking order of elements in your webpages when they overlap using the z-index property in your CSS code. Follow this property with a number: positive or negative including zero. The higher the z-index number of a positioned element the further up in the layering it is over elements with lower z-index numbers. Only those elements that have CSS positioning properties applied to them can have a z-index number. If a positioned element is not given a z-index number then its default value is 0. Save a copy of your brave-tin-soldier.html file naming it as task11a.html Open task11a.html in Notepad++. Alter the <title> </title> text to Task 11a Alter your CSS division code property values so that: blk2 has a 50 pixel top value and a 200 pixels left value. blk3 has a 300 pixel top value and a 300 pixels left value. Save the changes to your code. C:\Users\Kruyer\Documents\TAFE\websiteDevelopment\HTML5\learning-tasks\level-2\tasks\task11\TYHTML11.docx Page 1
2 Refresh and then view task11a.html in a browser. It should look like that shown on the right: Notice that the blue blk1 is below the red blk2 and these are both below the green blk3. This occurs because blk1 comes first in the HTML5 code followed by blk2 and blk3 last in your HTML5 code. Let s reverse the stacking order. Add z-index properties to your CSS code as follows: blk1: z-index: 3; blk2: z-index: 2; blk3: z-index: 1; Save the changes to your code. Refresh and then view task11a.html in a browser. It should look like that shown on the right: Notice that the blue blk1 is now above the red blk2 and these are both above the green blk3. This occurs because blk1 has a higher z-index of 3 and so is on top of blk2 which has a z-index of 2 and blk3 has the lowest z-index of 1. Titles Occasionally when you move your cursor over a webpage element you see a text label floating near your cursor describing that element. To do this you use the title = " " attribute within the tag s HTML5 code. The title = " " attribute is not CSS code it is an attribute included inside a tag. You do not use it in internal style sheet code nor in your in-line style sheet code (or even in external style sheet code which we have not covered yet). For example, suppose we wanted the text label "Ernie and Bert" to appear when a user moves their cursor over a paragraph about my dogs Ernie and Bert; the code would be: <p title = "About Ernie and Bert">Bert and Enrie are both 5 years old.</p> Include the title attribute in one of your paragraph tags. Save your document. Refresh and then view task11a.html in a browser. Move your cursor over the paragraph that includes the title attribute and let go of your mouse for a few seconds. Your title text should appear but notice what happens to your text after a few more seconds. If the title text does not appear then try a different browser. Are you using the latest version of your favourite browser? If not you should update it immediately so that you have the benefits of all the latest HTML5 and CSS 3 technologies. C:\Users\Kruyer\Documents\TAFE\websiteDevelopment\HTML5\learning-tasks\level-2\tasks\task11\TYHTML11.docx Page 2
3 Important Notes: 1. Always supply alt, width and height attributes in image code. 2. The title attribute is not necessary but a nice touch. For SEO purposes always use it with images, succinctly describe what your image is about! 3. Using well-focused title attributes can assist your website ranking in some search engines. For SEO purposes you should always include the title attribute in image code. Question 1/ Why should you always supply alt, width and height attributes in image code? You can add the title = " " attribute to almost any webpage tag and the title text will appear when the cursor is moved over it. For example you could have different titles appearing when you move your mouse over different parts of your webpages including any paragraphs, divisions, any of the six size heading tags and most other tags (even horizontal lines). Include the title attribute within all three <div> tags as shown in the example below: <div class = "blk1" title = "Something about the first block"> </div> Save your addition. Refresh and then view task11a.html using a browser. Move your cursor over each of your divisions and wait for your title text to appear. Notice how, in the block where you have also included a title attribute inside the paragraph tag, that you get the paragraph title text when your cursor is over the paragraph element and you get the division title text when the cursor is just off the paragraph element but still inside the division element space. Include a title attribute with your image. Save, refresh and view in a browser and make sure your image title appears when your cursor moves over it. Your result should be similar to that shown on the right: Question 2/ Why should you keep your title text short? Anchors An anchor in a webpage is a marked spot where you can attach something in much the same way as an anchor is used to attach a boat to a spot in the sea or a lake. Anchors in webpages have two main uses: 1/ They mark spots where you want to place links to other webpages or to other types of documents. 2/ They mark a spot where you want a user to jump to when your user clicks on a link placed elsewhere in that webpage or even from links in other webpages or other websites. In the rest of this week s task you will investigate how to create and use anchors to link your webpages together using HTML5 code. C:\Users\Kruyer\Documents\TAFE\websiteDevelopment\HTML5\learning-tasks\level-2\tasks\task11\TYHTML11.docx Page 3
4 Creating Anchors To create an anchor you firstly need to have a spot in your webpage where you want to place your anchor. This spot can be a bit of text, an image or anything else. If you are using that spot as a link, then the text or image should be something sensible that your webpage user would automatically know was a link (more about this later!) To mark your anchor spot you use the following anchor tag: <a> </a> where the three dots are replaced with either text or image code. The a is short for anchor. Hypertext Links A hypertext link (or hyperlink or link) is an anchor that you can click on with your mouse pointer. When you click on a hyperlink, you are taken to another webpage anywhere on the World Wide Web or even to another spot on your current webpage, or it might download a file that the link is connected to. This file might be a text, sound, graphic, video, animation file or even an evil virus! When you click on a link you are web surfing or just surfing. A hyperlink is sometimes called a Hotspot and there are four basic types: 1 Text 2 Graphic Usually underlined with a blue font colour but this can be changed using CSS. It may change colour/style and even shape using advanced CSS 3 code when clicked on. Outlined in a frame or in a button shape. When you run your cursor over a graphic link, the URL appears in the status bar at the bottom of the browser window. 3 Image Map A graphic or image with multiple links depending on which part of the graphic or image is clicked. 4 Animated, Highlighted, Pop-Down Menus, Scrolling Menus, Animated Buttons etc. These are normally written in a website programming language called JavaScript. (You may be interested in taking a JavaScript coding course at SPAN sometime in the future if enough people want to enrol in it.) Quite often, a hyperlink is a link to another one of your webpages that is also located in the same directory or folder as the current page that you are looking at and in this case the grouping of webpages is called a Website. The first page is called the Homepage and it contains links to the rest of the site. Some servers require you to name your homepage with their default file name of index.htm or index.html however this is not always the case. Many servers require you to name your homepage with their default file name of index.php. PHP is a server-side website programming language that runs on a web server. It produces HTML5/CSS 3 webpage code from PHP code and then sends that code from the web server over the internet to user s computers. If your server requires you to have a homepage with a.php extension then all you have to do is change your homepage file extension from.html to.php just before you upload it to your server. C:\Users\Kruyer\Documents\TAFE\websiteDevelopment\HTML5\learning-tasks\level-2\tasks\task11\TYHTML11.docx Page 4
5 If your homepage code is only in HTML5 or CSS 3 code then the PHP processor does not need to make any changes to it. If this is the case then the PHP processing server will automatically change the.php extension back to.html when someone around the world downloads your homepage to their computer. Consult with your ISP if you are not sure about what type of file extension you should use with your homepage. (You may be interested in taking a PHP website coding course at SPAN sometime in the future if enough people are interested in enrolling in it. You would have to complete the Levels 3 and 4 Web Development courses first.) Nowadays when you surf to the homepage of a website, you do not see the index.html part of the URL (or website address) in your browser s address bar because the host server automatically opens up the default file in the URL which is usually index.html Question 3/ What is a URL? Give details. This week and over the next couple of weeks you will be creating a website made up of four webpages: a homepage with links to three webpages: i. Your brave-tin-soldier.html webpage. ii. Your webpage containing some text from one of the following authors: L. Frank Baum, Edgar Rice Burroughs, Lewis Carroll, Jack London, Herman Melville, Jules Verne or H. G. Wells. iii. Your emily-dickinson.html poetry webpage. Before we can continue, make sure that you have all three webpages in your SPAN student drive space. If your are missing any one of these files then let Mr Kruyer know. First you will create the skeleton of the homepage. The following is a layout diagram of what your homepage could end up looking like: Navigation section Properties: position: absolute top: 1em left: 10% width: 80% Transparent background, no borders, links spaced out evenly Main section Properties: position: absolute top: 5em left: 10% width: 80% Transparent background, no borders, centered heading, left-justified text horizontal lines centered and 80% of available block space Open up your folder from the SPAN student drive and locate your template.html file. Using Notepad++ open up template.html C:\Users\Kruyer\Documents\TAFE\websiteDevelopment\HTML5\learning-tasks\level-2\tasks\task11\TYHTML11.docx Page 5
6 Save this in your SPAN student drive folder as index.html Alter the <title> </title> section to: Classic Texts & Poetry Include the following internal style sheet. To help with your layout borders are showing in each section: <style type = "text/css"> body background-color: rgba(135,234,0,0.3); div.navigation position: absolute; top: 1em; left: 10%; width: 80%; border: 1px solid orange; background-color: transparent; padding: 1em; div.main position: absolute; top: 5em; left: 10%; width: 80%; height: 2em; border: 1px solid blue; background-color: transparent; h1 p hr </style> font-size: 1.4em Tahoma, Arial, sans-serif; text-align: center; color: #D8005F; color: brown; font: 1em "Courier New", "Times New Roman", serif; color: cyan; width: 80%; height: 2px; C:\Users\Kruyer\Documents\TAFE\websiteDevelopment\HTML5\learning-tasks\level-2\tasks\task11\TYHTML11.docx Page 6
7 Also include the following in the <body> </body> section: <body> <div class = "navigation"> <p>navigation section</p> </div> <div class = "main"> <p>main section</p> </div> </body> Save the additions to index.html The code above contains two divisions each given a class name. Each of these divisions is positioned to produce two blocks as shown in the previous layout diagram using the techniques you learnt in last week s lesson. View index.html in a browser to make sure that it is set out correctly. If there are any layout problems or other bugs then fixed these and resave your webpage. Before you insert any links in the navigation section I want you to add some text in the main section. Within the main division add the following: A heading something along the lines of Classic Authors but I am sure you can come up with something more original. A centered horizontal line underneath the heading A paragraph or more about why you enjoy the three authors featured in your website. Next, just so that you have sufficient text so that you are forced to use the scroll-bar to read it all, I want you to add paragraphs of Lorem Ipsum dummy latin text to fill more that one maximised browser window. (You may need to paste the same text over and over a few times.) Another horizontal line at the end of the webpage. Save your additions. View index.html in a browser to make sure that your text and horizontal lines have shown up. You will be using the same layout as index.html for all four of your webpages. The navigation section will be the exactly same for all four webpages. This means that the navigation section will contain four links rather than three because one link will be a link to index.html. This link is usually placed first in a list of links. To insert a link in a page, the page that it will link to must already have been created. This is why I got you to check that all three webpages that you had previously created are still there in your SPAN student drive space. To use an anchor as a link you include a href = " " attribute in the anchor tag as shown: <a href = " "> </a> href is short for hypertext reference and the code placed between the double-quotes is the URL of the webpage that you want to jump to when you click on the link. This can be either an absolute webpage address or a relative webpage address: C:\Users\Kruyer\Documents\TAFE\websiteDevelopment\HTML5\learning-tasks\level-2\tasks\task11\TYHTML11.docx Page 7
8 An absolute webpage address is a full web address starting with For example the SPAN homepage web address is: and so a link from your index.html to the SPAN homepage would look like this: <a href = " </a> with the three dots between opening and closing tags replaced with text or image code. When linking to a homepage on a server using absolute addressing, you usually do not have to include the index.php or the index.html part of the URL. This is why I have not included it in the SPAN website address. You could use and this would work too. A relative webpage address is an address to a file that is saved on the same server or computer drive space as the current webpage. For example, if you have a webpage stored somewhere in your computer s drive then you can link to it from any other webpage or other types of files that are saved in your computer. These files do not necessarily have to be in the same folder as the current webpage. A link from index.html to another file called brave-tin-soldier.html which are both stored in the same folder would look like this: <a href = "brave-tin-soldier.html"> </a> with the three dots between opening and closing tags replaced with text or image code. When you click on a link to go to another webpage and then hit the BACK button on your browser s tool bar, you are returned back to your original anchor point in your original webpage. The three dots between the opening and closing anchor tags are replaced with either text that the user will see on their screen and can click on, or with the code for an image or an animation. Look at the following three examples: Eg 1. <a href = "brave-tin-soldier.html">hans Christian Andersen</a> This uses relative addressing and will produce a text hyperlink to a document called brave-tinsoldier.html The hyperlink will be blue in colour and will be underlined. The text for the hyperlink is Hans Christian Andersen. When you click on this link and before letting go of your mouse button, it may turn red before going to brave-tin-soldier.html. An active link is the terminology used whilst pressing down on a link. When you click on your browser s back button and surf back to your original webpage you will probably find that your original link is now purple indicating that this link is now a link that you have clicked on before. This is called a visited link. C:\Users\Kruyer\Documents\TAFE\websiteDevelopment\HTML5\learning-tasks\level-2\tasks\task11\TYHTML11.docx Page 8
9 Eg 2. <a href = " & Ernie s webpage</a> This uses absolute addressing and will produce a text hyperlink to a document on the World Wide Web called bert-and-ernie.html. When using this type of link, you must include the part before the www part of the website address or else the link will not work! The linked page is stored on an Australian web server called some_isp. You know the webpage belongs to a company because the website address includes.com in it. You know it is an Australian website because the website address includes.au in it. As before, the hyperlink will be underlined, blue before clicking on it and red while clicking on it and purple when you return to that webpage. The text for the hyperlink is Bert & Ernie s webpage. Eg 3. <a href = "about-bert.html"> <img src = "images/bert.png"> </a> This link code uses relative addressing. Since there is image code rather than text between the opening and closing anchor tags, it will result in a graphic hyperlink to a document called about-bert.html. The hyperlink graphic also uses relative addressing. The graphic is stored in an images folder and is called bert.png. This means that the images folder, the linking webpage (called about-bert.html) and the original webpage containing the link are all stored in the same place. There will be a blue border around the image to indicate that it is a link. You can remove or change the border by using CSS code as demonstrated in the following code which uses in-line CSS: <a href = "about-bert.html"> <img src = "bert.png" style = "border-style: none;"> </a> The image code above should include two extra attributes: width and height. You would not include an alt attribute because it is treated as link code rather than image code. Adding an alt attribute could lead to confusion for a vision impaired person. Question 4/ Explain the difference between links that use absolute addressing and links that use relative addressing? When you move your cursor over a link, your cursor will change from an arrow to a hand. Next we add our links. The first will be a link to index.html If you have closed index.html open it up using Notepad++ Insert a text hyperlink in the <div class = "navigation"> section of this document using the method shown in Eg 1 above as follows: 1. Remove the navigation section text but leave the opening and closing paragraph tags there. 2. Between the opening and closing paragraph tags type your anchor code and include a hypertext reference attribute: 3. Add the path to index.html as follows: <p><a href = ""></a></p> <p><a href = "index.html"></a></p> C:\Users\Kruyer\Documents\TAFE\websiteDevelopment\HTML5\learning-tasks\level-2\tasks\task11\TYHTML11.docx Page 9
10 4. Add sensible link text such as Home as follows: Save your addition to index.html <p><a href = "index.html">home</a></p> View index.html in a browser. Before you click on your link note its text colour. It should be blue. It should also be underlined indicating that it is a link. Click on your link. You may think that nothing has happened because the link takes you to the index.html page however now it should be purple indicating that it is a visited link. It should still be underlined. Next you will add a link to brave-tin-soldier.html 5. Immediately after the link to your homepage and before the closing paragraph tag add a space to separate the links and then type your anchor code and include a hypertext reference attribute: <p><a href = "index.html">home</a> <a href = ""></a></p> 6. Add the path to brave-tin-soldier.html as follows: <p><a href = "index.html">home</a> <a href = "brave-tin-soldier.html"></a></p> 7. Add sensible link text such as Hans Christian Andersen as follows: <p><a href = "index.html">home</a> <a href = "brave-tin-soldier.html">hans Christian Andersen</a></p> Save your addition to index.html View index.html in a browser and make sure that your Hans Christian Andersen link works by clicking on it. It should take you to your brave-tin-soldier.html webpage. Click on your browser s back button. You should be back at index.html Repeat steps 5, 6 and 7 above for a link to your emily-dickinson.html webpage. Save your addition to index.html View index.html in a browser and make sure that your Emily Dickinson link works by clicking on it. Repeat steps 5, 6 and 7 above for a link to your webpage about one of L. Frank Baum, Edgar Rice Burroughs, Lewis Carroll, Jack London, Herman Melville, Jules Verne or H. G. Wells. Save your addition to index.html View index.html in a browser and make sure that your link works by clicking on it. At the moment the only way to get back to your homepage is by clicking your browser s back button. If your website was left like this it would be considered quite amateurish. To overcome this you need to have a navigation section at the top of each of your four webpages and you will find out how to do this and more next week. Question 5/ Explain the difference between a webpage and a website. C:\Users\Kruyer\Documents\TAFE\websiteDevelopment\HTML5\learning-tasks\level-2\tasks\task11\TYHTML11.docx Page 10
11 Back up everything that you have done in this class to your USB stick. You should do this at the end of every class that you take here at SPAN so that you have a backup of your files and so that you can revise what you have covered at home over the coming week. Have you been saving your work to the SPAN student drive every 10 minutes? Have you backed up all of your work at the end of this lesson to your USB thumb drive including your images folder? Show your webpage to Mr Kruyer for assessment. Also hand in the answers to the questions next week. Due Dates: All questions from this task and your four page website should be completed by Thursday 25 th September C:\Users\Kruyer\Documents\TAFE\websiteDevelopment\HTML5\learning-tasks\level-2\tasks\task11\TYHTML11.docx Page 11
Teach Yourself HTML5 & CSS 3: Week 5 Task 13 - Anchors Part 3
http://www.gerrykruyer.com Teach Yourself HTML5 & CSS 3: Week 5 Task 13 - Anchors Part 3 In this task you will continue working on the website you have been working on for the last two weeks. This week
More informationCSS worksheet. JMC 105 Drake University
CSS worksheet JMC 105 Drake University 1. Download the css-site.zip file from the class blog and expand the files. You ll notice that you have an images folder with three images inside and an index.html
More informationTeach Yourself HTML5 & CSS 3: Level 2 - Week 1 Task 9 Foreground Images
http://www.gerrykruyer.com Teach Yourself HTML5 & CSS 3: Level 2 - Week 1 Task 9 Foreground Images In the Level 1 course in weeks 3 and 4 of TYHTML5 & CSS3 you looked at inserting images in the background
More informationHTML and CSS a further introduction
HTML and CSS a further introduction By now you should be familiar with HTML and CSS and what they are, HTML dictates the structure of a page, CSS dictates how it looks. This tutorial will teach you a few
More informationORB Education Quality Teaching Resources
These basic resources aim to keep things simple and avoid HTML and CSS completely, whilst helping familiarise students with what can be a daunting interface. The final websites will not demonstrate best
More informationUnit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4
Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML 4.01 Version: 4.01 Transitional Hypertext Markup Language is the coding behind web publishing. In this tutorial, basic knowledge of HTML will be covered
More informationCSS Cascading Style Sheets
CSS Cascading Style Sheets site root index.html about.html services.html stylesheet.css images boris.jpg Types of CSS External Internal Inline External CSS An external style sheet is a text document with
More informationThe default style for an unordered (bulleted) list is the bullet, or dot. You can change the style to either a square or a circle as follows:
CSS Tutorial Part 2: Lists: The default style for an unordered (bulleted) list is the bullet, or dot. You can change the style to either a square or a circle as follows: ul { list-style-type: circle; or
More informationTeach Yourself Microsoft Word Topic 10 - Margins, Indents and Tabs
http://www.gerrykruyer.com Teach Yourself Microsoft Word Topic 10 - Margins, Indents and Tabs In the previous Level 2 MS Word course: Topic 8 you covered columns, text boxes and tables as well as look
More informationTaking Fireworks Template and Applying it to Dreamweaver
Taking Fireworks Template and Applying it to Dreamweaver Part 1: Define a New Site in Dreamweaver The first step to creating a site in Dreamweaver CS4 is to Define a New Site. The object is to recreate
More informationHTML/CSS Lesson Plans
HTML/CSS Lesson Plans Course Outline 8 lessons x 1 hour Class size: 15-25 students Age: 10-12 years Requirements Computer for each student (or pair) and a classroom projector Pencil and paper Internet
More informationIn this project, you ll learn how to create your own webpage to tell a story, joke or poem. Think about the story you want to tell.
Tell a Story Introduction In this project, you ll learn how to create your own webpage to tell a story, joke or poem. Step 1: Decide on a story Before you get coding, you ll need to decide on a story to
More informationIntroduction to WEB PROGRAMMING
Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks
More informationTeach Yourself Microsoft Word Topic 7 Lists and Columns
http://www.gerrykruyer.com Teach Yourself Microsoft Word Topic 7 Lists and Columns In this lesson, you will spend some time revising and testing your knowledge of the material covered in the previous lesson,
More information<body bgcolor=" " fgcolor=" " link=" " vlink=" " alink=" "> These body attributes have now been deprecated, and should not be used in XHTML.
CSS Formatting Background When HTML became popular among users who were not scientists, the limited formatting offered by the built-in tags was not enough for users who wanted a more artistic layout. Netscape,
More informationWanted! Introduction. Step 1: Styling your poster. Activity Checklist. In this project, you ll learn how to make your own poster.
Wanted! Introduction In this project, you ll learn how to make your own poster. Step 1: Styling your poster Let s start by editing the CSS code for the poster. Activity Checklist Open this trinket: jumpto.cc/web-wanted.
More informationUNIT 2. Creating Web Pages with Links, Images, and Formatted Text
UNIT 2 Creating Web Pages with Links, Images, and Formatted Text DAY 1 Types of Links! LESSON LEARNING TARGETS I can describe hyperlink elements and their associated terms. I can describe the different
More informationTeach Yourself Microsoft PowerPoint Topic 3: Photo Albums, Slide Sections & Action Buttons
Teach Yourself Microsoft PowerPoint Topic 3: Photo Albums, Slide Sections & Action Buttons http://www.gerrykruyer.com Last week you were introduced to Microsoft PowerPoint slide animation and printing
More informationIn the early days of the Web, designers just had the original 91 HTML tags to work with.
Web Design Lesson 4 Cascading Style Sheets In the early days of the Web, designers just had the original 91 HTML tags to work with. Using HTML, they could make headings, paragraphs, and basic text formatting,
More informationStyles, Style Sheets, the Box Model and Liquid Layout
Styles, Style Sheets, the Box Model and Liquid Layout This session will guide you through examples of how styles and Cascading Style Sheets (CSS) may be used in your Web pages to simplify maintenance of
More informationFRONTPAGE STEP BY STEP GUIDE
IGCSE ICT SECTION 15 WEB AUTHORING FRONTPAGE STEP BY STEP GUIDE Mark Nicholls ICT lounge P a g e 1 Contents Introduction to this unit.... Page 4 How to open FrontPage..... Page 4 The FrontPage Menu Bar...Page
More informationBefore you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website.
9 Now it s time to challenge the serious web developers among you. In this section we will create a website that will bring together skills learned in all of the previous exercises. In many sections, rather
More informationReading 2.2 Cascading Style Sheets
Reading 2.2 Cascading Style Sheets By Multiple authors, see citation after each section What is Cascading Style Sheets (CSS)? Cascading Style Sheets (CSS) is a style sheet language used for describing
More informationCSS Selectors. element selectors. .class selectors. #id selectors
CSS Selectors Patterns used to select elements to style. CSS selectors refer either to a class, an id, an HTML element, or some combination thereof, followed by a list of styling declarations. Selectors
More informationADOBE DREAMWEAVER CS4 BASICS
ADOBE DREAMWEAVER CS4 BASICS Dreamweaver CS4 2 This tutorial focuses on the basic steps involved in creating an attractive, functional website. In using this tutorial you will learn to design a site layout,
More information! " # $%& Html.htm Note: Files under html.htm are created in the previous lab exercises. (Just link it up)
! " # $%& # &'()*+ At the end of this lab exercise, students should be able to: Invoke the main components in Macromedia Dreamweaver MX 2004 Edit and format text using Macromedia Dreamweaver MX 2004 Create
More informationUsing Advanced Cascading Style Sheets
HTML 7 Using Advanced Cascading Style Sheets Objectives You will have mastered the material in this chapter when you can: Add an embedded style sheet to a Web page Change the body and link styles using
More informationTeach Yourself Microsoft Office Excel Topic 17: Revision, Importing and Grouping Data
www.gerrykruyer.com Teach Yourself Microsoft Office Excel Topic 17: Revision, Importing and Grouping Data In this topic we will revise several basics mainly through discussion and a few example tasks and
More informationTeach Yourself Microsoft PowerPoint Topic 4: Slide Master, Comments and Save Options
Teach Yourself Microsoft PowerPoint Topic 4: Slide Master, Comments and Save Options http://www.gerrykruyer.com This week you will work with slide masters, add comments, find out how to save your presentations
More informationREADSPEAKER ENTERPRISE HIGHLIGHTING 2.5
READSPEAKER ENTERPRISE HIGHLIGHTING 2.5 Advanced Skinning Guide Introduction The graphical user interface of ReadSpeaker Enterprise Highlighting is built with standard web technologies, Hypertext Markup
More informationWelcome Please sit on alternating rows. powered by lucid & no.dots.nl/student
Welcome Please sit on alternating rows powered by lucid & no.dots.nl/student HTML && CSS Workshop Day Day two, November January 276 powered by lucid & no.dots.nl/student About the Workshop Day two: CSS
More informationUnit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 4 The Box Model
Unit 20 - Client Side Customisation of Web Pages Week 2 Lesson 4 The Box Model So far Looked at what CSS is Looked at why we will use it Used CSS In-line Embedded (internal style-sheet) External
More informationCSC 121 Computers and Scientific Thinking
CSC 121 Computers and Scientific Thinking Fall 2005 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language
More informationGIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image
GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR DYNAMIC BACKGROUND IMAGE Before you begin this tutorial, you will need
More informationTeach Yourself Microsoft Word Topic 12 - Multipage Document Features Part 1
http://www.gerrykruyer.com Teach Yourself Microsoft Word Topic 12 - Multipage Document Features Part 1 In this class and the next few you will find out how to use MS Word features that make it easier to
More informationUnit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 4 The Box Model
Unit 20 - Client Side Customisation of Web Pages Week 2 Lesson 4 The Box Model Last Time Looked at what CSS is Looked at why we will use it Used CSS In-line Embedded (internal style-sheet) External
More informationDreamweaver Basics Outline
Dreamweaver Basics Outline The Interface Toolbar Status Bar Property Inspector Insert Toolbar Right Palette Modify Page Properties File Structure Define Site Building Our Webpage Working with Tables Working
More informationAGENDA :: MULTIMEDIA TOOLS :: CLASS NOTES
CLASS :: 14 04.28 2017 3 Hours AGENDA CREATE A WORKS PAGE [ HTML ] :: Open index.html :: Save As works.html :: Edit works.html to modify header, 3 divisions for works, then add your content :: Edit index.html
More informationTable Basics. The structure of an table
TABLE -FRAMESET Table Basics A table is a grid of rows and columns that intersect to form cells. Two different types of cells exist: Table cell that contains data, is created with the A cell that
More informationrecall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)
HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML specifies formatting within a page using tags in its
More informationHow to lay out a web page with CSS
Activity 2.6 guide How to lay out a web page with CSS You can use table design features in Adobe Dreamweaver CS4 to create a simple page layout. However, a more powerful technique is to use Cascading Style
More informationUsing Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles
Using Dreamweaver CC 6 So far we have used CSS to arrange the elements on our web page. We have also used CSS for some limited formatting. In this section we will take full advantage of using CSS to format
More informationAdding CSS to your HTML
Adding CSS to your HTML Lecture 3 CGS 3066 Fall 2016 September 27, 2016 Making your document pretty CSS is used to add presentation to the HTML document. We have seen 3 ways of adding CSS. In this lecture,
More informationTeach Yourself Microsoft Excel Topic 5: Revision, Headers & Footers, Metadata
Teach Yourself Microsoft Excel Topic 5: Revision, Headers & Footers, Metadata http://www.gerrykruyer.com In this first lesson of this level 2 course you will cover basic Microsoft Excel concepts as well
More informationCSS: formatting webpages
CSS: formatting webpages Why CSS? separate content from formatting (style) style can be changed easily without rewriting webpages keep formatting consistent across website allows more advanced formatting
More informationUsing Dreamweaver CS6
Using Dreamweaver CS6 4 Creating a Template Now that the main page of our website is complete, we need to create the rest of the pages. Each of them will have a layout that follows the plan shown below.
More informationUsing Dreamweaver CS6
Using Dreamweaver CS6 7 Dynamic HTML Dynamic HTML (DHTML) is a term that refers to website that use a combination of HTML, scripting such as JavaScript, CSS and the Document Object Model (DOM). HTML and
More informationInteractive Tourist Map
Adobe Edge Animate Tutorial Mouse Events Interactive Tourist Map Lesson 1 Set up your project This lesson aims to teach you how to: Import images Set up the stage Place and size images Draw shapes Make
More informationDreamweaver MX Overview. Maintaining a Web Site
Dreamweaver MX Overview Maintaining a Web Site... 1 The Process... 1 Filenames... 1 Starting Dreamweaver... 2 Uploading and Downloading Files... 6 Check In and Check Out Files... 6 Editing Pages in Dreamweaver...
More informationChapter 7 BMIS335 Web Design & Development
Chapter 7 BMIS335 Web Design & Development Site Organization Use relative links to navigate between folders within your own site o Sometimes dividing your site into folders makes maintenance and updating
More informationTeach Yourself Microsoft Word Topic 5 - Revision, Font and Paragraph Tips
http://www.gerrykruyer.com Teach Yourself Microsoft Word Topic 5 - Revision, Font and Paragraph Tips In this introduction to Level 2 Microsoft Word you will revise basic concepts from the Level 1 course,
More informationMake a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1
Make a Website A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Overview Course outcome: You'll build four simple websites using web
More informationHTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.
HTML Summary Structure All of the following are containers. Structure Contains the entire web page. Contains information
More informationThe Importance of the CSS Box Model
The Importance of the CSS Box Model Block Element, Border, Padding and Margin Margin is on the outside of block elements and padding is on the inside. Use margin to separate the block from things outside
More informationHow to lay out a web page with CSS
How to lay out a web page with CSS You can use table design features in Adobe Dreamweaver CS3 to create a simple page layout. However, a more powerful technique is to use Cascading Style Sheets (CSS).
More informationFigure 1 Properties panel, HTML mode
How to add text Adding text to a document To add text to a Dreamweaver document, you can type text directly in the Document window, or you can cut and paste text. You modify text by using the Properties
More informationAttributes & Images 1 Create a new webpage
Attributes & Images 1 Create a new webpage Open your test page. Use the Save as instructions from the last activity to save your test page as 4Attributes.html and make the following changes:
More informationA Balanced Introduction to Computer Science, 3/E
A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN 978-0-13-216675-1 Chapter 2 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is
More information<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***
Chapter 7 Using Advanced Cascading Style Sheets HTML is limited in its ability to define the appearance, or style, across one or mare Web pages. We use Cascading style sheets to accomplish this. Remember
More informationLesson 5 Introduction to Cascading Style Sheets
Introduction to Cascading Style Sheets HTML and JavaScript BASICS, 4 th Edition 1 Objectives Create a Cascading Style Sheet. Control hyperlink behavior with CSS. Create style classes. Share style classes
More informationCreating a CSS driven menu system Part 1
Creating a CSS driven menu system Part 1 How many times do we see in forum pages the cry; I ve tried using Suckerfish, I ve started with Suckerfish and made some minor changes but can t get it to work.
More informationIndex. 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
Index Numbers & Symbols (angle brackets), in HTML, 47 : (colon), in CSS, 96 {} (curly brackets), in CSS, 75, 96. (dot), in CSS, 89, 102 # (hash mark), in CSS, 87 88, 99 % (percent) font size, in CSS,
More informationJoomla! 2.5.x Training Manual
Joomla! 2.5.x Training Manual 1 Joomla is an online content management system that keeps track of all content on your website including text, images, links, and documents. This manual includes several
More informationThis Tutorial is for Word 2007 but 2003 instructions are included in [brackets] after of each step.
This Tutorial is for Word 2007 but 2003 instructions are included in [brackets] after of each step. Table of Contents Get Organized... 1 Create the Home Page... 1 Save the Home Page as a Word Document...
More informationTeach Yourself Microsoft Word Topic 11 - Document Views and Review
http://www.gerrykruyer.com Teach Yourself Microsoft Word Topic 11 - Document Views and Review In this class you will find out how to view your documents in different ways and then look at document review
More informationDreamweaver CS3 Lab 2
Dreamweaver CS3 Lab 2 Using an External Style Sheet in Dreamweaver Creating the site definition First, we'll set up the site and define it so that Dreamweaver understands the site structure for your project.
More informationThe Newsletter will contain a Title for the newsletter, a regular border, columns, Page numbers, Header and Footer and two images.
Creating the Newsletter Overview: You will be creating a cover page and a newsletter. The Cover page will include Your Name, Your Teacher's Name, the Title of the Newsletter, the Date, Period Number, an
More informationCSC 101: PreLab Reading for Lab #4 More HTML (some of this reading on Tables and Images are based on previous writings of Prof William Turkett)
CSC 101: PreLab Reading for Lab #4 More HTML (some of this reading on Tables and Images are based on previous writings of Prof William Turkett) Purpose: The purpose of this pre-lab is to provide you with
More informationIntroduction to using HTML to design webpages
Introduction to using HTML to design webpages #HTML is the script that web pages are written in. It describes the content and structure of a web page so that a browser is able to interpret and render the
More informationCSS: The Basics CISC 282 September 20, 2014
CSS: The Basics CISC 282 September 20, 2014 Style Sheets System for defining a document's style Used in many contexts Desktop publishing Markup languages Cascading Style Sheets (CSS) Style sheets for HTML
More informationCreating Forms. Starting the Page. another way of applying a template to a page.
Creating Forms Chapter 9 Forms allow information to be obtained from users of a web site. The ability for someone to purchase items over the internet or receive information from internet users has become
More informationCSCB20 Week 7. Introduction to Database and Web Application Programming. Anna Bretscher Winter 2017
CSCB20 Week 7 Introduction to Database and Web Application Programming Anna Bretscher Winter 2017 Cascading Style Sheets (CSS) Examples of CSS CSS provides a powerful and stillevolving toolkit of style
More informationDesigning the Home Page and Creating Additional Pages
Designing the Home Page and Creating Additional Pages Creating a Webpage Template In Notepad++, create a basic HTML webpage with html documentation, head, title, and body starting and ending tags. From
More informationAuthoring World Wide Web Pages with Dreamweaver
Authoring World Wide Web Pages with Dreamweaver Overview: Now that you have read a little bit about HTML in the textbook, we turn our attention to creating basic web pages using HTML and a WYSIWYG Web
More informationCSS Cascading Style Sheets
CSS Cascading Style Sheets site root index.html about.html services.html stylesheet.css charlie.jpg Linking to your HTML You need to link to your css in the of your HTML file.
More informationCS 1100: Web Development: Client Side Coding / Fall 2016 Lab 2: More HTML and CSS
Goals CS 1100: Web Development: Client Side Coding / Fall 2016 Lab 2: More HTML and CSS Practice writing HTML Add links and images to your web pages Apply basic styles to your HTML This lab is based on
More informationTeach Yourself Microsoft Word Topic 11 - Document Views and Review
http://www.gerrykruyer.com Teach Yourself Microsoft Word Topic 11 - Document Views and Review In this class you will find out how to view your documents in different ways and then look at document review
More informationStyle Sheet Reference Guide
Version 8 Style Sheet Reference Guide For Password Center Portals 2301 Armstrong St, Suite 2111, Livermore CA, 94551 Tel: 925.371.3000 Fax: 925.371.3001 http://www.imanami.com This publication applies
More information.hedgehog { background-image: url(backyard.jpg); color: #ffff99; height: 6in; width: 12in; } .tube {
.hedgehog { background-image: url(backyard.jpg); color: #ffff99; height: 6in; width: 12in;.tube { color: #996600; height: 3in; width: 12in; position: fixed; What is CSS? Cascading Style Sheets CSS is responsible
More informationIntroduction to Web Design CSS Reference
Inline Style Syntax: Introduction to Web Design CSS Reference Example: text Internal Style Sheet Syntax: selector {property: value; Example:
More informationIntroduction to Web Design CSS Reference
Inline Style Syntax: Introduction to Web Design CSS Reference Example: text Internal Style Sheet Syntax: selector {property: value; Example:
More informationIntroduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100
Introduction to Multimedia MMP100 Spring 2016 profehagan@gmail.com thiserichagan.com/mmp100 Troubleshooting Check your tags! Do you have a start AND end tags? Does everything match? Check your syntax!
More informationHandout created by Cheryl Tice, Instructional Support for Technology, GST BOCES
Handout created by Cheryl Tice, Instructional Support for Technology, GST BOCES Intro to FrontPage OVERVIEW: This handout provides a general overview of Microsoft FrontPage. AUDIENCE: All Instructional
More informationHow to lay out a web page with CSS
How to lay out a web page with CSS A CSS page layout uses the Cascading Style Sheets format, rather than traditional HTML tables or frames, to organize the content on a web page. The basic building block
More informationThis Tutorial is for Word 2007 but 2003 instructions are included in [brackets] after of each step.
This Tutorial is for Word 2007 but 2003 instructions are included in [brackets] after of each step. Table of Contents Just so you know: Things You Can t Do with Word... 1 Get Organized... 1 Create the
More information1 of 7 11/12/2009 9:29 AM
1 of 7 11/12/2009 9:29 AM Home Beginner Tutorials First Website Guide HTML Tutorial CSS Tutorial XML Tutorial Web Host Guide SQL Tutorial Advanced Tutorials Javascript Tutorial PHP Tutorial MySQL Tutorial
More informationHtml basics Course Outline
Html basics Course Outline Description Learn the essential skills you will need to create your web pages with HTML. Topics include: adding text any hyperlinks, images and backgrounds, lists, tables, and
More informationCascading Style Sheets (CSS)
Cascading Style Sheets (CSS) Mendel Rosenblum 1 Driving problem behind CSS What font type and size does introduction generate? Answer: Some default from the browser (HTML tells what browser how)
More informationCS Multimedia and Communications. Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3)
CS 1033 Multimedia and Communications Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3) REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! Table Properties Reference Guide The Property
More informationTeach Yourself Microsoft Word. Topic 4 Images, Document Properties and Manipulating Text
Teach Yourself Microsoft Word http://www.gerrykruyer.com Topic 4 Images, Document Properties and Manipulating Text In this lesson, you will revise last week s work, insert and manipulate images in a document
More informationDear Candidate, Thank you, Adobe Education
Dear Candidate, In preparation for the Web Communication certification exam, we ve put together a set of practice materials and example exam items for you to review. What you ll find in this packet are:
More information3.1 Introduction. 3.2 Levels of Style Sheets. - The CSS1 specification was developed in There are three levels of style sheets
3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS2.1 reflects browser implementations - CSS3 is partially finished and parts are implemented in current browsers
More information- The CSS1 specification was developed in CSS2 was released in CSS2.1 reflects browser implementations
3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS2.1 reflects browser implementations - CSS3 is partially finished and parts are implemented in current browsers
More informationMicrosoft FrontPage Practical Session
Ministry of manpower Higher college of technology Department of Information Technology QA Umbrella Workshop 30 th August- 3 rd September 2008 IT Skills Microsoft FrontPage Practical Session Copyright of
More informationFinal Exam Study Guide
Final Exam Study Guide 1. What does HTML stand for? 2. Which file extension is used with standard web pages? a..doc b..xhtml c..txt d..html 3. Which is not part of an XHTML element? a. Anchor b. Start
More informationICT IGCSE Practical Revision Presentation Web Authoring
21.1 Web Development Layers 21.2 Create a Web Page Chapter 21: 21.3 Use Stylesheets 21.4 Test and Publish a Website Web Development Layers Presentation Layer Content layer: Behaviour layer Chapter 21:
More informationMicrosoft Expression Web Quickstart Guide
Microsoft Expression Web Quickstart Guide MS-Expression Web Quickstart Guide Page 1 of 24 Expression Web Quickstart Guide (20-Minute Training) Welcome to Expression Web. When you first launch the program,
More informationAppendix D CSS Properties and Values
HTML Appendix D CSS Properties and Values This appendix provides a brief review of Cascading Style Sheets (CSS) concepts and terminology, and lists CSS level 1 and 2 properties and values supported by
More informationHands On: Dreamweaver CS3 NEW SPRY Widgets
What is a Spry Widget? Spry widgets provide access to dynamic and interactive elements you might like to have on your Web page. These Spry elements include: Menu Bars Tabbed Panels Accordion Effects Collapsible
More information