Using Browser-Based Web Developer Tools Learn some of the tricks that developers use to work with HTML, CSS styles, and Javascript.

Slides:



Advertisements
Similar presentations
Basic Computer Skills Windows & the Internet.
Advertisements

23-Aug-14 HTML/XHTML Forms. 2 What are forms? is just another kind of XHTML/HTML tag Forms are used to create (rather primitive) GUIs on Web pages Usually.
24-Aug-14 HTML Forms. 2 What are forms? is just another kind of HTML tag HTML forms are used to create (rather primitive) GUIs on Web pages Usually the.
Windows 7 and Office 2010 What’s New. Reasons to Love Windows 7 New taskbar Quick launch Jumplists Quick peeks Gadgets Snap feature Search from Start.
Browser Comparisons Internet Explorer 8 & 9, Chrome 11 and Firefox 4 Security, Privacy, Add-ons & Convenience.
1 Unit & District Tools Phase 1. 2 To access the new Unit and District Tools, you will need to click on the link embedded in the MyScouting Flash page.
Introduction to JavaScript Module 1 Client Side JS Programming M-GO Sponsored By
Windows XP Basics OVERVIEW Next.
Chapter 6 Basic forms 1. Forms and query string 2 form : a group of user input (UI) controls that accepts information from the user and sends the information.
Firefox Addon development tutorial 谢烜
Objectives Moodle is an online learning environment where instructors & their students interact. In this workshop you will learn: 1.Configure system requirements.
XP Exploring the Basics of Microsoft Windows XP1 Exploring the Basics of Windows XP.
Coursework 2: getting started (4) – using PhoneGap to build mobile applications (optional) Chris Greenhalgh G54UBI /
Website Development with PHP and MySQL Introduction.
There is a certain way that an HTML file should be set up. The HTML section declares a beginning and an ending. Within the HTML, there should be a HEAD.
Exploring the Basics of Windows XP
Learning About Technology Chapter 2. 2 Learning New Tools How do you learn to use new tools?  Read the instruction manual Programming a VCR Cooling my.
 What I hate about you things people often do that hurt their Web site’s chances with search engines.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. Browser.
WorkPad 4 Quick Start WorkPad 4 Quick Start  Business Optix brings the rigor and discipline of business modelling and design into.
Browser Comparisons - Convenience Internet Explorer 8 & 9, Chrome 11 and Firefox 4 Searching, Convenience & Add-ons.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 2: Working with Webpage Files.
DHTML. What is DHTML?  DHTML is the combination of several built-in browser features in fourth generation browsers that enable a web page to be more.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
Web Browser Security Prepared By Mohammed EL-Batta Mohammed Soubih Supervised By Eng. Eman alajrami Explain Date 10. may University of Palestine.
| | Tel: | | Computer Training & Personal Development Outlook Express Complete.
Tutorial 1: Browser Basics.
Moodle (Course Management Systems). Forums, Chats, and Messaging.
#5 Useful Reports Training Record Report February
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
1 Microsoft Windows 2000 Robert H. Smith School of Business University of Maryland – College Park Essentials of Windows.
An Introduction to JavaScript Summarized from Chapter 6 of “Web Programming: Building Internet Applications”, 3 rd Edition.
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
Microsite Training. Today: Presentation (slides will be sent to the group) Examples with LRADGs microsite Troubleshooting Questions.
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
WEP Presentation for non-IT Steps and roles in software development 2. Skills developed in 1 st year 3. What can do a student in 1 st internship.
CMPF124: Basics Skills for Knowledge Workers Manipulating Windows GUI.
Table of Contents TopicSlide Administrator Login 2 Administrator Navigations 3 Managing AlternativeDr.com Blogs 4 Managing Dr. Lloyd May Blogs 5 Managing.
® IBM Software Group © 2006 IBM Corporation Web JSF Overview – RBD Tooling – for Web Development This unit introduces you to the aspects of the RBD tooling.
Updated on: September 4, 2010 CIS67 Foundations for Creating Web Pages Professor Al Fichera.
1 Double Click to Edit. Installing Evernote 22 First, download the installation software. Open your favorite web browser and visit the Evernote Web site.
Creating Shortcuts On the Desktop. Creating Shortcuts to programs Many programs create their own desktop shortcuts when installed. A desktop icon with.
1 CSC160 Chapter 7: Events and Event Handlers. 2 Outline Event and event handlers onClick event handler onMouseOver event handler onMouseOut event handler.
PART 2 INTRODUCTION TO DYNAMIC WEB CONTENT AND PHP.
Javascript JavaScript is what is called a client-side scripting language:  a programming language that runs inside an Internet browser (a browser is also.
HTML Forms. A form is simply an area that can contain form fields. Form fields are objects that allow the visitor to enter information - for example text.
CMPF124 Personal Productivity With Information Technology Chapter 1 – Part 2 Introduction to Windows Operating Systems Manipulating Windows GUI CMPF 124.
CHAPTER 7 Exploring Microsoft Windows 7. Learning Objectives Identify the parts of the Windows 7 desktop Use common Windows elements Navigate Windows.
Lesson 6: Working with Word Basics. 2 Learning Objectives After studying this lesson, you will be able to:  Use and customize the Ribbon  Use the Quick.
CMS 101 John McClimans – Web Manager Janel Ludwig – Web Content Specialist.
Microsoft Office 2008 for Mac – Illustrated Unit D: Getting Started with Safari.
Learning Aim C.  Creating web pages involves many considerations.  In this section we will look at the different software tools you can use and how.
Creating a Web Site Creating a new Web site Defining and using folders Creating and editing Web pages Viewing pages in a Web browser.
IN THIS LESSON WE WILL REVIEW THE STRUCTURE OF THE INTERNET AND HOW BROWSERS ASSEMBLE WEBSITES BASED ON INSTRUCTIONS THEY RECEIVE FROM SERVERS. Internet.
Basic Computer Skills Windows & the Internet vfu.bg/en/e-Learning/
Open the Mozilla Firefox browser, then press "Ctrl-T.” The browser will open a new tab that can be used for separate surfing within the browser window.
Blue Ridge Unified School District.  How will this help me? My Family Link  Where do I get started? Personal Profile Page  How do I manage my webpage?
DHTML.
Essential tools for implementing and testing websites
Weebly Elements, Continued
What is Cookie? Cookie is small information stored in text file on user’s hard drive by web server. This information is later used by web browser to retrieve.
Cookies Cookie :- A cookie is often used to identify a user. A cookie is often used to identify a user. A cookie is a small file that the server embeds.
Siebel Open UI Features & Updates
Internet Explorer Compatibility View Settings
Web Page Design CIS 300.
Download from Zotero Home Page
Dongwhan Kim Annie Zhao Steven Lawrance
Business Zone - Clearing your Cache
Cognos Analytics v For Report Viewers
Presentation transcript:

Using Browser-Based Web Developer Tools Learn some of the tricks that developers use to work with HTML, CSS styles, and Javascript

Desktop Programs When you install a desktop program, you can’t “look inside” it to see how it works. You see the user interface—the windows, buttons, checkboxes, and other controls—for the program, and you might be able to inspect data files related to the program, but the logic of the program is hidden from view.

Desktop application example: GedSite, my unreleased GEDCOM to HTML program: Some GEDCOM data: 0 INDI 1 REFN 2 1 NAME George /Bezanson/ 2 GIVN George 2 SURN Bezanson 1 NAME John George // 2 GIVN John George 2 _SDATE 27 AUG SEX M 1 CHAN 2 DATE 11 JAN BIRT 2 DATE 16 MAY _SDATE 16 MAY SOUR 3 PAGE 2, 5

Web sites are different Some simple web pages are just content. Some web pages include some scripts to provide functionality as well as content. Some web pages include complex scripts to provide full-featured “web applications”. In all cases, a lot of the behind-the-scenes data is available to anyone who can access the page.

A simple page Here is a portion of an overview page for Steve Morse’s Ellis Island search pages. This is one user interface presented on his site. Unlike the user interface for a desktop application, you can see how the user interface for the page is built if you want to take a look.

The HTML Source Here’s a portion of the HTML for Steve Morse’s Ellis Island overview page. I’ve highlighted some of the items that are visible in the previous screenshot. <input value="Gold Form" onclick="window.location=GoldURL();" type="button"> <input value="White Form" onclick="window.location=GoldURL();" type="button">

How did I access the HTML for the page? All the major web browsers (Firefox, Chrome, and Internet Explorer) include a “view source” function that provides access to the HTML for a page. View Page Source is on the right- click menu in Firefox. Chrome and IE have similar commands on the right-click menu.

The way of the web Web sites don’t provide access to the HTML source of the page as a favor to people browsing the site. They do it because HTML is the language of the web, and web sites have to send the browser HTML, they have no choice.

Why look at the source? Reading the HTML source of someone else’s page is a great way to learn how HTML works. If you are trying to achieve something in an application that creates HTML for you, and not getting the results you want, reviewing the HTML source can help you determine why. Curiosity. Curiosity may have killed the cat, but it won’t break any web pages.

“View source” is pretty limited View source is read-only, you can’t change anything. Some pages block easy access to the source by intercepting the right- click menu. It’s tedious and/or inconvenient to view anything except the HTML, like the CSS styles or the Javascript.

Beyond “View Source”: Developer Tools All major browsers include “developer tools” that are accessed via the [F12] key. The details vary, but all the developer tools suites include the ability to view and edit HTML, CSS styles, and Javascript. For the average person, the developer tools can simply be a better version of “view source”. For people who are creating HTML pages, they can be much more than that.

How to access the developer tools You can press [F12] to open the developer tools panel. [F12] opens the developer tools panel focused on the current page. You can right-click and select “Inspect Element” (Firefox and IE) or “Inspect” (Chrome). Inspect element opens the developer tools panel focused on the HTML element under the cursor, i.e., it’s more specific.

Use “Inspect element” as a shortcut for viewing the HTML source of a particular part of a page

Developer tools typically open as a panel in the current browser window

Make the panel wide enough so you can see all the icons at the top

Developer tools reveal which CSS styles apply to an element. Current element HTML for page CSS for current element

You can disable CSS parameters The current element:Some of the CSS for that element:

Disabling background-color The current element, before and after: Background-color unchecked:

Changing background-color The current element, before and after: Background-color changed to yellow:

All styles that apply