Lesson 1 HTML Basics. The Creative Computer Lab. creativecomputerlab.com
|
|
- Blake Richards
- 6 years ago
- Views:
Transcription
1 Lesson 1 HTML Basics The Creative Computer Lab creativecomputerlab.com
2 What we are going to do today Become familiar with web development tools Build our own web page from scratch! Learn where to find online help on web development Learn about the web development work flow Create our own custom multi page web site
3 Required Tools Any text editor. It is recommended to download and install Notepad++ from : Google Chrome or Firefox Browser for viewing work in progress. Online HTML editors: You can experiment with code and get instant results before deciding to add the code to your web page. html_basic
4 Web Development Resources The web is full of tutorials on web design. Here are just a few: W3Schools: HTML Dog: Google: Type in a phrase which describes what you d like to know. Example: How to add an image to a web page This is the first link in the search results:
5 What is HTML? HTML stands for HyperText Markup Language. The HTML language is made up of symbols called tags which give instructions to the browser on how to render content on a web page. HTML is an accepted standard set of rules of which all browsers must follow to assure consistent behaviour. However, different browsers have minor variations on the standard which can lead to inconsistent behaviour in some cases. Therefore, all HTML code which is being developed must be tested in as many different browsers as possible. i.e.: Google Chrome, Firefox, Internet Explorer, etc.
6 Create a Working Folder Create a folder named HTML (or whatever you d like) on your desktop. Right click on the desktop and choose new->folder : You should be able to navigate to your folder easily through the file explorer:
7 Hello World! To create our first web page: Open a new file to edit and type: <!DOCTYPE html> <html> <body> Hello World! </body> </html> Note: you can copy the whole block above and paste it into your file.
8 Hello World! Save the file with an.html extension. For example: helloworld.html : The.html extension tells Notepad++ that this is an HTML file. The syntax coloring and block structure will be recognized: We ll describe syntax coloring in detail later on.
9 Launch Your Page From the File System: 2. Open your web page in the browser: Since it s an html document, you can double click on it and it will display in the browser:
10 View Your Page: The browser will open and display your page: Note that the URL in the address bar indicates the file on your computer which is being displayed.
11 Your First Web Page Explained The document header tells the browser which version of HTML to use. This header means to use HTML 5. The html element is enclosed in opening and closing html tags. This specifies that the content of the document is HTML. The content of the HTML page which is displayed to the user is placed inside the body element. The body element is enclosed in opening and closing body tags. This is where the content to be displayed in the browser is placed. The web page is made up of content, tags and elements. We will define these shortly.
12 Modify and View Your Web Page: Add another sentence to your Hello World! page: Save the file. Refresh the page in the browser: Note: the next sentence did not appear on a new line. That s because we haven t specified the new line break. We ll learn about that next
13 Why is Everything on the Same Line? HTML is a markup language, therefore, we need to specify when to add a new line. This is done with the tag: The tag is one of the few HTML tags that does not need a closing tag. br stands for line break.
14 Web Page Development Work Flow: The most efficient way to develop web pages is to work on them on your computer and to check your work by running them in the browser. Here s an outline of the workflow: 1. Create a.html file and save it. 2. Launch the.html file in the browser to view it. 3. Make a modification to the.html file and save it. 4. Reload the page in the browser to see the modification. Once we have the page up in the browser, we simply reload it every time we make a modification to the.html file (steps 3 and 4). Remember to save the file before reloading!
15 Jargon: Content, Tags, and Elements, Content is what is being displayed on the web page. Content can be words, pictures, sounds, etc. In our example, the sentence Hello World! is the content. Tags are special reserved words which tell the browser how to render the content. For example <body> and <html> are tags. Elements are HTML objects* which have been created by opening and closing tags. For example <body> </body> is an element created by a matched set of opening and closing tags. Read more about tags and elements here: * We ll explain more about objects later when we learn about JavaScript.
16 HTML Element Syntax - Opening and Closing Tags We have already seen an example of syntax in action when creating the body element. Most elements are defined by an opening and closing tag. Example: The body element opening tag: <body> The body element closing tag: </body> The forward slash / symbol designates a closing tag. The syntax rule is that the opening tags must have a corresponding closing tag. This way the browser can determine when the body element begins and when it ends. Opening and closing tags are required by the browser in order to operate in a predictable manner. Most (not all) HTML tags must be used as opening and closing pairs.
17 HTML Syntax What is syntax in a computer programming language? Syntax is the set of rules governing the composition of text and symbols to create a set of instructions which a machine can follow. Syntax must be exact and unambiguous because unlike humans, machines have no reasoning ability. Machine Limitation Example: Try to figure out what the following sentence is saying: Y0u c&n und3r2t&nd th1s bu7 a c0mpu73r c&nn07. Do you think a machine can figure this out?
18 Start With Good Coding Habits As your web page grows in size, it will become more complex and harder to read. Indented paragraph blocks can be used to clearly distinguish HTML elements and minimize confusion. Note how the Hello World! content is indented to be easily seen that is inside the body element. Also note how the body element is contained within the html element: vs.
19 Headings Headings are defined by the <h1> through <h6> tags. Turn your sentences into headings like so: Remember to close your heading tags as shown above. Notice the spacing between the HTML and body elements. Also notice how the <body> element is indented because it is inside the HTML element.
20 Heading Example Copy and paste the following code in your document inside the <body> tags: <h1>this is heading 1</h1> <h2>this is heading 2</h2> <h3>this is heading 3</h3> <h4>this is heading 4</h4> <h5>this is heading 5</h5> <h6>this is heading 6</h6> Save the file and refresh the browser: Read more about headings here: l_headings.asp
21 HTML Paragraphs The <p> tag defines paragraph blocks. Create two paragraphs in your document and see the result: Read more about paragraphs here: html_paragraphs.asp
22 HTML Paragraphs (continued) The code from the previous page looks like this in the browser:
23 Add A Link to Another Page A link element is created using the <a> tag: The a stands for anchor. Add a link to another page: Copy and paste the following code into your.html file: <a href=" the Web </a> Read more about links here:
24 Create Our First Web Page Let s create a page about some of your favorite things. We ll start with a page header plus some sub-headings and a paragraph. Copy and paste the following code into a new file and name it favorites.html : <!DOCTYPE html> <html> <body> <h1>my Favorite Things</h1> <h2> Music</h2> <h3> Spice Girls </h3> <p> The Spice Girls are my favorite band. </p> </html> </body>
25 The Code When you save the file as favorites.html the.html file extension tells the system that this is html code and the text coloring becomes active The HTML code should look like this:
26 Save the File and Load the Page The page should look like this in the browser: By the way, you can choose your favorite band. You don t have to choose the Spice Girls ;) If you d rather think about sports, then choose your favorite team or athlete.
27 Add an Image Place your image in the same folder as your HTML page. The image tag has the following syntax: Here s an example where you can specify the image size: The alt attribute is optional. It specifies the text to display if the image cannot be displayed. Read more about images here:
28 How to Get an Image from the Web You can take any image from the web and use it for your own page. Here s how to do it: 1. On the web page which contains the image you want, right click and select Save Image As :
29 Get an Image from the Web (cont d) 2. Be sure to save the image in the same folder as your.html file! 3. Notice that image file names taken from the web have really long names. Replace this long name with an easy name to type:
30 Add the Image Code Copy and paste the following image code to your.html file. Be sure to change the image name to the name which you gave it when you downloaded it: <img src="spicegirls.jpg" style="width:300px; height:300px">
31 Your Page So Far: Woo Hoo! Be patient, we re about to make this look better. First, lets finish adding the content. We need to add a more descriptive paragraph and a navigation bar to other pages.
32 Add a Descriptive Paragraph You can add text to your page by simply copying and pasting text from another website or any other document. Here s how to copy and paste a paragraph into your own page: 1. Select the text you want to copy. Right click and copy:
33 Add a Descriptive Paragraph 1. Paste it into your.html file. 2. IMPORTANT: Be sure that the text is surrounded by paragraph tags <p> and </p>: 1. Most paragraphs copied from documents will end up being one long line. That s Ok, let it run. Just make sure the paragraph ends with a </p> tag as shown above (as well as starting with a <p> tag).
34 Unordered Lists We will be using an unordered list to create a navigation bar. For now, lets have a look at how they work: An unordered list starts with the <ul> tag. Each list item starts with the <li> tag. The list items will be marked with bullets (small black circles). Read more about unordered lists here:
35 Create a Navigation Bar We re going to create a navigation bar at the top of the page using an unordered list of links. Add this so that it s the very last element in the <body> of your.html document: Copy and paste this code to the bottom : <ul> <li><a href=" Girls</a></li> <li><a href=" Videos </a></li> <li><a href=" the Web</a></li> </ul>
36 Your Page So Far We re done with adding the content. Now its time to apply style to the page:
37 Cascading Style Sheets What are they? We are now going to create a Cascading Style Sheet (CSS) to add style to the web page. Here are some CSS facts: CSS stands for Cascading Style Sheets CSS describes how HTML elements are to be displayed on screen, paper, or in other media CSS saves a lot of work. It can control the layout of multiple web pages all at once External stylesheets are stored in CSS files
38 Enhance your web page using CSS The first thing you need to do is to create a new.css file: 1. Create a new file in the same folder as your.html file and name it style.css 1. You can choose File->New in Notepad++ 2. Or you can create directly in the windows explorer: 3. Be sure that the style.css file ends up in the same folder as your.html file!!
39 Linking to a CSS file You now need to create a way for your.html file to link to the style.css file. Inside your.html file you have to create a <head> section which contains a <link> element. The href attribute of the <link> element specifies the name of the.css file to be linked to the HTML document. In our example the.css file is called style.css : Here s the code if you need to copy and paste it in: <head> </head> <link rel="stylesheet" type="text/css" href="style.css">
40 Style the Document Body The following code operates on the <body> element in the.html page. In this example, we re setting the width, background color, and centering the page: Paste in the following code to your new style.css file: /* Set the style for the page body */ body { width:600px; background-color: LightYellow; margin: 0 auto; }
41 Have a Look Refresh the web page and have a look. If you don t see any effect then check the following: The style.css file is in the same folder as your.html file The <link> element in your.html file correctly specifies the style.css file You typed (or copied) the style code for the body properly and did not forget to include the curly brackets at the beginning and end of the block. You should see this: A yellow background and centered content
42 CSS Syntax How do you write CSS so that the browser understands what to do? Here s the CSS syntax explained: From:
43 CSS Style Selectors We will be using style selectors such as color and width, etc. in our project. To get an idea of all of the possible ways to style HTML elements have a look at the full list of style selectors here:
44 Color the Banner Let s use the text in the <h1> block as the banner: Therefore, we must create a style block for the <h1> element in the style.css file: This should style the banner as shown Note: the text color selector is simply color.
45 Margins and Padding You can add padding to make the banner taller. Also, you can specify the margin so that the banner text is centered if you like: The banner was made thicker with padding. Find out more about margin and padding style selectors by visiting the CSS reference page:
46 Where to Find Color Choices We just used two named colors to style the banner. If you re wondering how many colors are supported in CSS then here are some links to lists of all possible HTML colors: Named colors: Color groups: Color codes: Make your own custom colors: Play around and try out various color combinations for the banner and the background.
47 Style the Fonts Lets jazz up the banner text by choosing a different font. Here is a list of web safe fonts which are natively supported by most operating systems: Go to the page and select a font you like:
48 Select Your Font Each font has style blocks which you can copy and paste into your style.css file. The web page allows you to adjust the size and font type and to be able to preview the result:
49 Your style.css File The style.css file is starting to grow. Here s how it should look after you ve added the font styling from the web: Note: the duplicate h1 blocks are OK because each block handles different style selectors.
50 Your Page So Far Here s the result of applying font styling to the h1, h2, h3, and p tags. The page is starting to look better. There s more styling to do! Don t worry about the list of links at the bottom of the page. We ll style them last.
51 More Font Sources Google provides a large number of fonts: There are plenty of designer fonts available on the web. Here s an example:
52 Set the Image in the Paragraph Go to your.html file and type in the following style code. Before: After: This is called inline style because it is done in the opening.html tag. This is OK for images because each image tends to be unique.
53 Result - Floating The image now floats to the right. Find out more about floating and layout here: html Challenge 1: Adjust the font and image sizes to get a nice layout to your page. Challenge 2: Can you figure out how to create a margin around the image so that it is not crowded up against the text?
54 The Result of Minor Style Adjustments The font sizes have been adjusted and the image has been given a margin. Challenge: Notice how the edges of the text are straight on both the right and left sides. The text alignment has been set to justify. Can you figure out how to set this style attribute? Hint: ask your friend Google
55 Style the Navigation Bar A navigation bar is an essential component of a web page. It allows the user to navigate to other pages. A web page would be useless without a navigation bar. We need to add style to the unordered list and its list items so that they look and feel like a navigation bar. The first step is to set the background color of the unordered list. Create the following style block for the ul tag in style.css : Paste this: ul { } background-color:lightgray; padding:20px; margin: 0 auto;
56 Style the Navigation Bar List Items The next step is to style each list item which are denoted by the li tag so that: 1. They lose the bullet points - set list-style-type to none. 2. They display horizontally instead of vertically set display to inline 3. They have a margin between them set margin-right to 15 pixels Each line in the style block does the above: Paste this: ul li { } list-style-type:none; display:inline; margin-right:15px;
57 Style the Navigation Bar Links Style the links denoted by the a tag so that: 1. They lose the underlining - set text-decoration to none. 2. They have plenty of space around them set padding to 20 pixels 3. The font color isn t pure black set color to #333 which is a dark grey. Each line in the style block does the above: Paste this: ul li a { } text-decoration:none; padding:20px; color: #333;
58 Change Link Color On Mouse Over It is possible to create a link which changes color when the mouse hovers over it. Just add the following style block to your style.css file: Paste this: ul li a:hover { color:blue; background-color:tan; }
59 The Code and Result The Code: The Result:
60 Navigation Bar Challenges The navigation bar is still not quite done. Here are some challenges: 1. Make the links in the navigation bar stand out more by styling the fonts. 2. Center the links across the width of the page. 3. Place the navigation bar at the very top of the page. Result:
61 Rounding Corners You can round corners of HTML elements by applying the border-radius property. The corners of the header, navigation bar and image have been rounded to give a nice effect. Challenge: Look up how to round corners of HTML elements on the web and apply the style to your page.
62 Changing Styles Now that you ve mastered how to apply CSS you can change the style, look and feel of an entire web page/website by just modifying one.css file. Here are some styles applied to the same HTML page:
63 More Styles The content hasn t changed, just the style:
64 Inserting a YouTube Video Right click on a YouTube video and select Copy embed code :
65 Inserting a YouTube Video Paste the code into the desired place in your code: Things to note: 1. The embedded video is wrapped in an iframe element. 2. The width and height can be adjusted to fit your page layout.
66 Inserting Your Own Video HTML5 supports a <video> element to play videos on a page. Example use: Link to More Info on the Video Tag: Things to note: Use a poster of the first frame of the video in case the browser does not support it. Autoplay is not supported on mobile devices.
67 Video Source Code Paste this code into your page. Be sure to include the highzoom.mp4 and high-zoom.jpg files in the same folder: <video width=360px controls poster="high-zoom.jpg"> <source src="high-zoom.mp4" type='video/mp4' > Your browser does not support the video tag. </video>
68 The Bootstrap Grid System Bootstrap is a CSS / JavaScript framework which provides a page layout system which adapts to different device screen sizes. This is known as Responsive Design as the page layout responds to the device screen size and thus looks good on all devices. W3Schools Overview: m.asp Bootstrap Page:
CSS 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 informationGIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST
GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: CREATING AN HTML LIST Most horizontal or vertical navigation bars begin with a simple
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 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 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 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 informationUsing Dreamweaver CS6
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 our web site. Just
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 informationNAVIGATION INSTRUCTIONS
CLASS :: 13 12.01 2014 NAVIGATION INSTRUCTIONS SIMPLE CSS MENU W/ HOVER EFFECTS :: The Nav Element :: Styling the Nav :: UL, LI, and Anchor Elements :: Styling the UL and LI Elements CSS DROP-DOWN MENU
More informationGIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar
GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: You may create your button in GIMP. Mine is 122 pixels by 48 pixels. You can use whatever
More informationLab 1: Introducing HTML5 and CSS3
CS220 Human- Computer Interaction Spring 2015 Lab 1: Introducing HTML5 and CSS3 In this lab we will cover some basic HTML5 and CSS, as well as ways to make your web app look and feel like a native app.
More informationAGENDA :: MULTIMEDIA TOOLS :: (1382) :: CLASS NOTES
CLASS :: 13 12.01 2014 AGENDA SIMPLE CSS MENU W/ HOVER EFFECTS :: The Nav Element :: Styling the Nav :: UL, LI, and Anchor Elements :: Styling the UL and LI Elements TEMPLATE CREATION :: Why Templates?
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 informationProgrammazione Web a.a. 2017/2018 HTML5
Programmazione Web a.a. 2017/2018 HTML5 PhD Ing.Antonino Raucea antonino.raucea@dieei.unict.it 1 Introduzione HTML HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text
More informationHTML & CSS. Rupayan Neogy
HTML & CSS Rupayan Neogy But first My Take on Web Development There is always some tool that makes your life easier. Hypertext Markup Language The language your web browser uses to describe the content
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 informationIntroduction to Cascading Style Sheet (CSS)
Introduction to Cascading Style Sheet (CSS) Digital Media Center 129 Herring Hall http://dmc.rice.edu/ dmc-info@rice.edu (713) 348-3635 Introduction to Cascading Style Sheets 1. Overview Cascading Style
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 informationThe internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data.
Review The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data. It is not the internet! It is a service of the internet.
More informationCSS means Cascading Style Sheets. It is used to style HTML documents.
CSS CSS means Cascading Style Sheets. It is used to style HTML documents. Like we mentioned in the HTML tutorial, CSS can be embedded in the HTML document but it's better, easier and neater if you 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 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 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 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 informationDAY 4. Coding External Style Sheets
DAY 4 Coding External Style Sheets LESSON LEARNING TARGETS I can code and apply an embedded style sheet to a Web page. I can code and apply an external style sheet to multiple Web pages. I can code and
More informationCREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1
CREATING A WEBSITE USING CSS Mrs. Procopio CTEC6 MYP1 HTML VS. CSS HTML Hypertext Markup Language CSS Cascading Style Sheet HTML VS. CSS HTML is used to define the structure and content of a webpage. CSS
More informationGuidelines for doing the short exercises
1 Short exercises for Murach s HTML5 and CSS Guidelines for doing the short exercises Do the exercise steps in sequence. That way, you will work from the most important tasks to the least important. Feel
More informationLab Introduction to Cascading Style Sheets
Lab Introduction to Cascading Style Sheets For this laboratory you will need a basic text editor and a browser. In the labs, winedt or Notepad++ is recommended along with Firefox/Chrome For this activity,
More informationc122jan2714.notebook January 27, 2014
Internet Developer 1 Start here! 2 3 Right click on screen and select View page source if you are in Firefox tells the browser you are using html. Next we have the tag and at the
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 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 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 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 informationWebsite Development (WEB) Lab Exercises
Website Development (WEB) Lab Exercises Select exercises from the lists below to complete your training in Website Development and earn 125 points. You do not need to do all the exercises listed, except
More informationHTML and CSS COURSE SYLLABUS
HTML and CSS COURSE SYLLABUS Overview: HTML and CSS go hand in hand for developing flexible, attractively and user friendly websites. HTML (Hyper Text Markup Language) is used to show content on the page
More informationDownloads: Google Chrome Browser (Free) - Adobe Brackets (Free) -
Week One Tools The Basics: Windows - Notepad Mac - Text Edit Downloads: Google Chrome Browser (Free) - www.google.com/chrome/ Adobe Brackets (Free) - www.brackets.io Our work over the next 6 weeks will
More informationLab 4 CSS CISC1600, Spring 2012
Lab 4 CSS CISC1600, Spring 2012 Part 1 Introduction 1.1 Cascading Style Sheets or CSS files provide a way to control the look and feel of your web page that is more convenient, more flexible and more comprehensive
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 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 information1 Creating a simple HTML page
cis3.5, spring 2009, lab I.3 / prof sklar. 1 Creating a simple HTML page 1.1 Overview For this assignment, you will create an HTML file in a text editor. on a PC, this is Notepad (not Wordpad) on a Mac,
More informationHTML & CSS. Lesson 1: HTML Basics Lesson 2: Adding Tables Lesson 3: Intro to CSS Lesson 4: CSS in more detail Lesson 5: Review
HTML & CSS Lesson 1: HTML Basics Lesson 2: Adding Tables Lesson 3: Intro to CSS Lesson 4: CSS in more detail Lesson 5: Review Lesson 1: HTML Basics 1. Write main tile HTML & CSS 2. Write today s date Match
More informationThree Ways to Use CSS:
Introduction to CSS CSS Defined: Short for "Cascading Style Sheets". Determines how the elements in our XHTML documents are displayed and formatted. Designed to separate the content of a web page from
More informationWeb Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.
What is HTML? Web Design 101 HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language à A markup language is a set of markup tags The tags describe
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 informationAssignments (4) Assessment as per Schedule (2)
Specification (6) Readability (4) Assignments (4) Assessment as per Schedule (2) Oral (4) Total (20) Sign of Faculty Assignment No. 02 Date of Performance:. Title: To apply various CSS properties like
More informationThis document provides a concise, introductory lesson in HTML formatting.
Tip Sheet This document provides a concise, introductory lesson in HTML formatting. Introduction to HTML In their simplest form, web pages contain plain text and formatting tags. The formatting tags are
More informationIt is possible to create webpages without knowing anything about the HTML source behind the page.
What is HTML? HTML is the standard markup language for creating Web pages. HTML is a fairly simple language made up of elements, which can be applied to pieces of text to give them different meaning in
More informationWEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:
WEBSITE PROJECT 2 PURPOSE: The purpose of this project is to begin incorporating color, graphics, and other visual elements in your webpages by implementing the HTML5 and CSS3 code discussed in chapters
More informationStudy Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo
Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo Note: We skipped Study Guide 1. If you d like to review it, I place a copy here: https:// people.rit.edu/~nbbigm/studyguides/sg-1.docx
More informationHTML and CSS: An Introduction
JMC 305 Roschke spring14 1. 2. 3. 4. 5. The Walter Cronkite School... HTML and CSS: An Introduction
More informationHTML + CSS. ScottyLabs WDW. Overview HTML Tags CSS Properties Resources
HTML + CSS ScottyLabs WDW OVERVIEW What are HTML and CSS? How can I use them? WHAT ARE HTML AND CSS? HTML - HyperText Markup Language Specifies webpage content hierarchy Describes rough layout of content
More informationCSS BASICS. selector { property: value; }
GETTING STARTED 1. Download the Juice-o-Rama 11-01 zip file from our course dropbox. 2. Move the file to the desktop. You have learned two ways to do this. 3. Unzip the file by double clicking it. You
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 informationCreate a Web Page with Spry Navigation Bar. March 30, 2010
Create a Web Page with Spry Navigation Bar March 30, 2010 Open a new web page by selecting File on the Menu bar, and pick Open. Select HTML as the page type and none from the layout list. Finally, we press
More informationTHE HITCHHIKERS GUIDE TO HTML
THE HITCHHIKERS GUIDE TO HTML Computer Science I Designing technology solutions Mr. Barrett http://thestrategicblogger.com/ What is HTML HTML is a markup language for describing web pages HTML is used
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 informationCREATING ANNOUNCEMENTS. A guide to submitting announcements in the UAFS Content Management System
CREATING ANNOUNCEMENTS A guide to submitting announcements in the UAFS Content Management System Fall 2017 GETTING STARTED 1 First, go to news.uafs.edu. 2 Next, click Admin at the bottom of the page. NOTE:
More informationIntroduction to HTML & CSS. Instructor: Beck Johnson Week 2
Introduction to HTML & CSS Instructor: Beck Johnson Week 2 today Week One review and questions File organization CSS Box Model: margin and padding Background images and gradients with CSS Make a hero banner!
More informationHTML & CSS Cheat Sheet
1 HTML & CSS Cheat Sheet Fall 2017 HTML & CSS Cheat Sheet from Typographic Web Design 3 by Laura Franz Web safe fonts vs web fonts You can expect these web safe fonts to work across most platforms and
More informationUsing Dreamweaver to Create Page Layouts
Using Dreamweaver to Create Page Layouts with Cascading Style Sheets (CSS) What are Cascading Style Sheets? Each cascading style sheet is a set of rules that provides consistent formatting or a single
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 informationHTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية
HTML Mohammed Alhessi M.Sc. Geomatics Engineering Wednesday, February 18, 2015 Eng. Mohammed Alhessi 1 W3Schools Main Reference: http://www.w3schools.com/ 2 What is HTML? HTML is a markup language for
More information5 Snowdonia. 94 Web Applications with C#.ASP
94 Web Applications with C#.ASP 5 Snowdonia In this and the following three chapters we will explore the use of particular programming techniques, before combining these methods to create two substantial
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 informationHyper Text Markup Language HTML: A Tutorial
Hyper Text Markup Language HTML: A Tutorial Ahmed Othman Eltahawey December 21, 2016 The World Wide Web (WWW) is an information space where documents and other web resources are located. Web is identified
More informationZen Garden. CSS Zen Garden
CSS Patrick Behr CSS HTML = content CSS = display It s important to keep them separated Less code in your HTML Easy maintenance Allows for different mediums Desktop Mobile Print Braille Zen Garden CSS
More informationHTML & CSS for Library Professionals
These slides are online at http://bit.ly/html_lib_slides HTML & CSS for Library Professionals Robin Camille Davis Emerging Technologies & Online Learning Librarian, John Jay College of Criminal Justice
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 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 informationCSS Design and Layout Basic Exercise instructions. Today's exercises. Part 1: Arrange Page into Sections. Part 1, details (screenshot below)
CSS Design and Layout Basic Exercise instructions You may want to bring your textbook to Exercises to look up syntax and examples. Have a question? Ask for help, or look at the book or lecture slides.
More informationBlock & Inline Elements
Block & Inline Elements Every tag in HTML can classified as a block or inline element. > Block elements always start on a new line (Paragraph, List items, Blockquotes, Tables) > Inline elements do not
More informationTitle and Modify Page Properties
Dreamweaver After cropping out all of the pieces from Photoshop we are ready to begin putting the pieces back together in Dreamweaver. If we were to layout all of the pieces on a table we would have graphics
More informationCreating Web Pages with SeaMonkey Composer
1 of 26 6/13/2011 11:26 PM Creating Web Pages with SeaMonkey Composer SeaMonkey Composer lets you create your own web pages and publish them on the web. You don't have to know HTML to use Composer; it
More informationLab: Create JSP Home Page Using NetBeans
Lab: Create JSP Home Page Using NetBeans Table of Contents 1. OVERVIEW... 1 2. LEARNING OBJECTIVES... 1 3. REQUIREMENTS FOR YOUR HOME PAGE (INDEX.JSP)... 2 4. REQUIREMENTS FOR YOUR LABS PAGE (LABS.JSP)...
More informationSession 4. Style Sheets (CSS) Reading & References. A reference containing tables of CSS properties
Session 4 Style Sheets (CSS) 1 Reading Reading & References en.wikipedia.org/wiki/css Style Sheet Tutorials www.htmldog.com/guides/cssbeginner/ A reference containing tables of CSS properties web.simmons.edu/~grabiner/comm244/weekthree/css-basic-properties.html
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 informationWolf. Responsive Website Designer. Mac Edition User Guide
Wolf Responsive Website Designer Mac Edition User Guide Version 2.10.3 Table of Contents What is Wolf Website Designer? Editor overview Save and open website Create responsive layout How to create responsive
More informationGetting Started with Eric Meyer's CSS Sculptor 1.0
Getting Started with Eric Meyer's CSS Sculptor 1.0 Eric Meyer s CSS Sculptor is a flexible, powerful tool for generating highly customized Web standards based CSS layouts. With CSS Sculptor, you can quickly
More information7300 Warden Avenue, Suite 503 Markham, Ontario Canada L3R 9Z6. Phone: Toll Free: Fax:
HTML and CSS 7300 Warden Avenue, Suite 503 Markham, Ontario Canada L3R 9Z6 Phone: 905-479-3780 Toll Free: 877-479-3780 Fax: 905-479-1047 e-mail: info@andarsoftware.com Web: www.andarsoftware.com.com Copyright
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 informationWeb Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh
Web Programming and Design MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Plan for the next 5 weeks: Introduction to HTML tags Recap on HTML and creating our template file Introduction
More informationHypertext Markup Language, or HTML, is a markup
Introduction to HTML Hypertext Markup Language, or HTML, is a markup language that enables you to structure and display content such as text, images, and links in Web pages. HTML is a very fast and efficient
More informationExploring Computer Science Web Final - Website
Exploring Computer Science Web Final - Website Objective: Create a website using rollover menus. You will be graded on the following: Is your CSS in a separate file from your HTML? Are your colors and
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 informationWeb Engineering CSS. By Assistant Prof Malik M Ali
Web Engineering CSS By Assistant Prof Malik M Ali Overview of CSS CSS : Cascading Style Sheet a style is a formatting rule. That rule can be applied to an individual tag element, to all instances of a
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 informationIntroduction, Notepad++, File Structure, 9 Tags, Hyperlinks 1
Introduction, Notepad++, File Structure, 9 Tags, Hyperlinks 1 Introduction to HTML HTML, which stands for Hypertext Markup Language, is the standard markup language used to create web pages. HTML consists
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 informationSEEM4570 System Design and Implementation. Lecture 1 Cordova + HTML + CSS
SEEM4570 System Design and Implementation Lecture 1 Cordova + HTML + CSS Apache Cordova Apache Cordova, or simply Cordova, is a platform for building native mobile apps using HTML, CSS and JavaScript E.g.
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 informationCOMS 359: Interactive Media
COMS 359: Interactive Media Agenda Review CSS Layout Preview Review Introducting CSS What is CSS? CSS Syntax Location of CSS The Cascade Box Model Box Structure Box Properties Review Style is cascading
More informationSkill Area 323: Design and Develop Website. Multimedia and Web Design (MWD)
Skill Area 323: Design and Develop Website Multimedia and Web Design (MWD) 323.4 Use graphics and objects on Web Page (7 hrs) 323.4.1 Insert foreground features 323.4.2 Modify image attributes 323.4.3
More informationWhich is why we ll now be learning how to write in CSS (or cascading sheet style)
STYLE WITH CSS My word is changing things in HTML difficult! Can you imagine if we had to do that for every single thing we wanted to change? It would be a nightmare! Which is why we ll now be learning
More informationADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model)
INTRO TO CSS RECAP HTML WHAT IS CSS ADDING CSS TO YOUR HTML DOCUMENT CSS IN THE DIRECTORY TREE CSS RULES A FEW CSS VALUES (colour, size and the box model) CSS SELECTORS SPECIFICITY WEEK 1 HTML In Week
More informationWhat do we mean by layouts?
What do we mean by layouts? A layout is how you position the elements of your page You can have columns Move paragraphs and sections around And you can do this all without changing the content of your
More informationHTTP & Websites. Web Browsers. Web Servers vs. Web sites. World Wide Web. Internet Explorer. Surfing the World Wide Web. Part 4. The World Wide Web
HTTP & Websites Web Browsers Part 4 Surfing the World Wide Web World Wide Web Web Servers vs. Web sites The World Wide Web massive collection of websites on the Internet they link to each other and form
More informationCSS. M hiwa ahamad aziz Raparin univercity. 1 Web Design: Lecturer ( m hiwa ahmad aziz)
CSS M hiwa ahamad aziz www.raparinweb.fulba.com Raparin univercity 1 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
More informationHow to Edit Your Website
How to Edit Your Website A guide to using your Content Management System Overview 2 Accessing the CMS 2 Choosing Your Language 2 Resetting Your Password 3 Sites 4 Favorites 4 Pages 5 Creating Pages 5 Managing
More informationCSC309 Winter Lecture 2. Larry Zhang
CSC309 Winter 2016 Lecture 2 Larry Zhang 1 Announcements Assignment 1 is out, due Jan 25, 10pm. Start Early! Work in groups of 2, make groups on MarkUs. Make sure you can login to MarkUs, if not let me
More informationCSS Tutorial Part 1: Introduction: A. Adding Style to a Web Page (3 options):
CSS Tutorial Part 1: Introduction: CSS adds style to tags in your html page. With HTML you told the browser what things were (e.g., this is a paragraph). Now you are telling the browser how things look
More information