The document summarizes Philip Matuskiewicz's first lecture on web development for novice computer users. It introduces Philip's background in web development and hosting servers. It then outlines the focuses and structure of the upcoming lecture series, including introductions to browsers, HTML, CSS, design, PHP, and MySQL. Key topics to be covered are web languages like XHTML, how browsers communicate with servers, and using tools like Filezilla to transfer and edit files on remote servers.
Vskills certified HTML designer Notes covers the following concepts.
1. HTML and XHTML
1.1 Introduction
1.2 History
1.3 HTML Versions
1.4 Elements, Tags and Attributes
1.5 Head and body tags
1.6 HTML Editor
1.7 Create a web page
1.8 Viewing the Source
1.9 White Space and Flow
1.10 HTML Comments
1.11 HTML Meta Tags
1.12 HTML Attributes
1.13 XHTML First Line
1.14 DTD (Document Type Declaration)
1.15 Special Characters
1.16 Capitalization
1.17 Quotations
1.18 Nesting
1.19 Spacing and Breaks
Get complete e-book on HTML Designer.
http://www.vskills.in/certification/Web-Development/Certified-html-designer
The document provides an overview of HTML and XHTML tags for formatting text and structuring web pages. It discusses basic HTML syntax and tags for headings, paragraphs, lists, breaks, and other text formatting. It also explains the differences between HTML and XHTML, with XHTML being a stricter combination of HTML and XML syntax.
This document provides an introduction to HTML and covers many basic HTML topics including: the anatomy of HTML documents with tags; adding headings, fonts, links, images and tables; naming and saving HTML files; and learning HTML by examining other web pages' source code. It offers quick points on various HTML tags and attributes for text formatting, alignment, links, and images.
The document discusses web design and markup languages like HTML and XML. It provides an introduction to web design and why it is important, covering topics like first impressions, professionalism, and competition. The document then covers HTML and XML in more detail, including their structures and tags. It provides examples of basic HTML and XML code.
The document provides an overview of three modules that cover topics in web technologies including the Internet, World Wide Web, HTML, JavaScript, CSS, DOM, CGI/Perl, Java Applets and more. Key concepts covered include how the Internet and WWW work, protocols, building websites using HTML, JavaScript programming fundamentals, external and internal CSS stylesheets, the HTML and XML DOM models, introducing CGI and Perl scripting, and writing Java applets. References for additional reading on related topics are also provided.
The document provides an overview of HTML (Hypertext Markup Language), which is the standard markup language used to create web pages and web applications. It describes HTML as a language used to describe the structure of a web page using markup tags, and that HTML documents contain plain text content along with these tags. It also provides examples of common HTML tags like <h1> for headings, <p> for paragraphs, and <img> for images, and how they are used to structure and layout the visible content of a web page.
The document provides an introduction to understanding internet basics for Visual Basic programmers. It discusses that Visual Basic allows programmers to easily produce functional web applications regardless of their experience level with internet technology. It describes internet technology as another area for development, noting how incorporating HTML and security features is similar to traditional Visual Basic development. The document also explains how applying internet technology enables extending development skills in new ways, such as reducing costs and maintenance through web deployment.
- HTML was created by Tim Berners-Lee in the late 1980s and early 1990s to allow information sharing through hypertext links on the then-emerging World Wide Web. It uses tags to define the structure and layout of webpages and allows multimedia content.
- The basic structure of an HTML document involves tags like <html> to open and close the HTML document, <head> to contain metadata, <title> to define the title, and <body> to contain the visible page content.
- Common text formatting is done using tags like <h1> for main headings, <p> for paragraphs, and <font> to specify font attributes. Lists are created with <ul> for unordered
The document discusses HTML (Hypertext Markup Language) and how to write HTML code using Notepad. It provides examples of basic HTML tags like <html>, <head>, <title>, <body>, <h1>, <p>, and <br>. It explains that HTML tags come in pairs, with a start and end tag. The document also discusses how to save an HTML file and introduces container tags and empty tags.
The document discusses HTML5 support in various web browsers. It provides test scores out of 555 for different browsers like Chrome, Firefox, Internet Explorer, Opera and Safari to indicate how well each browser supports HTML5 specifications. It then details support for various HTML5 features in each browser, such as sections elements, microdata, geolocation, video playback, WebGL, WebRTC and more. The test results and feature support details allow users to compare HTML5 compatibility across browsers.
This document provides an introduction to various web technologies including HTML, CSS, JavaScript, and PHP. It discusses the basic structures and components of HTML documents, how CSS can be used to style HTML content, and how JavaScript and PHP can add interactivity and run server-side code. The document also gives examples of common tags and syntax used in these languages. It concludes by noting that most web pages combine these core technologies and that learning them now provides a foundation for newer technologies.
HTML is the standard markup language used to create web pages. It uses tags to define elements like headings, paragraphs, links, and images. Tags are keywords surrounded by angle brackets and normally come in pairs with an opening and closing tag. HTML documents are made up of nested HTML elements that can contain other elements. Attributes provide additional information about elements and are specified in the element's start tag.
Web Designing Training in Ambala ! BATRA COMPUTER CENTRE
Are you in search of Web Designing training in Ambala?
Now your search ends here... Batra Computer Centre provides you the best training in Ambala Cantt. We provide training in Basics of Computers, training in Programming Languages C, C++, HTML, PHP,Web Designing,WebDevelopment,Seo,Smo and training many other courses also provided here.
This document provides information about a Web Technology subject for 6th semester students. It includes:
1. An overview of the topics to be covered in the subject, including creation of web pages using HTML, JavaScript, AJAX, PHP and ASP.
2. A list of 20 practical exercises focused on these topics, such as creating lists in HTML, using JavaScript to print dates and perform calculations, and connecting to databases using PHP.
3. Learning objectives and sample code for several of the practical exercises, providing examples of how to implement the various web technologies.
Drupal is an open source content management system (CMS) written in PHP and uses a MySQL database. It allows users to build dynamic websites and provides features like content authoring, taxonomy, views, and customizable modules. The document discusses Drupal fundamentals like nodes, modules, blocks, menus, and user permissions. It also provides an overview of using HTML, CSS, PHP, and MySQL to develop websites with Drupal.
The document provides information on the history and versions of HTML. It discusses:
- HTML was created by Tim Berners-Lee in 1991 and the first standard was HTML 2.0 in 1995.
- HTML 4.01, published in 1999, was a major version. The current version is HTML5, published in 2012.
- It describes the basic structure of an HTML document, including the <DOCTYPE>, <html>, <head>, and <body> tags. It also discusses common tags like <h1>-<h6> for headings, <p> for paragraphs, and <br> for line breaks.
The document is an excerpt from an e-book about HTML web design. It contains introductory lessons on starting with HTML, formatting text, paragraphs and images, links and lists, and tables. The document teaches basic HTML tags and syntax for building web pages, with examples and exercises at the end of each lesson.
This document provides an introduction to HTML5 and discusses transitioning from older standards like HTML 4.01 and XHTML to HTML5. It begins with recapping key aspects of HTML 4.01 like document structure and valid doctype declarations. It then explains what XHTML is and how it differs slightly from HTML 4.01 in terms of proper nesting and closing of elements. The document introduces HTML5 and lists some of its new semantic elements for organizing page content. It notes that HTML5 is an ongoing evolution of standards rather than a complete replacement. The document encourages testing pages in multiple browsers and on different devices to ensure compatibility. It concludes with exercises, like updating a sample page to HTML5 standards and validating the code.
Vskills certified HTML designer Notes covers the following concepts.
1. HTML and XHTML
1.1 Introduction
1.2 History
1.3 HTML Versions
1.4 Elements, Tags and Attributes
1.5 Head and body tags
1.6 HTML Editor
1.7 Create a web page
1.8 Viewing the Source
1.9 White Space and Flow
1.10 HTML Comments
1.11 HTML Meta Tags
1.12 HTML Attributes
1.13 XHTML First Line
1.14 DTD (Document Type Declaration)
1.15 Special Characters
1.16 Capitalization
1.17 Quotations
1.18 Nesting
1.19 Spacing and Breaks
Get complete e-book on HTML Designer.
http://www.vskills.in/certification/Web-Development/Certified-html-designer
The document provides an overview of HTML and XHTML tags for formatting text and structuring web pages. It discusses basic HTML syntax and tags for headings, paragraphs, lists, breaks, and other text formatting. It also explains the differences between HTML and XHTML, with XHTML being a stricter combination of HTML and XML syntax.
This document provides an introduction to HTML and covers many basic HTML topics including: the anatomy of HTML documents with tags; adding headings, fonts, links, images and tables; naming and saving HTML files; and learning HTML by examining other web pages' source code. It offers quick points on various HTML tags and attributes for text formatting, alignment, links, and images.
The document discusses web design and markup languages like HTML and XML. It provides an introduction to web design and why it is important, covering topics like first impressions, professionalism, and competition. The document then covers HTML and XML in more detail, including their structures and tags. It provides examples of basic HTML and XML code.
The document provides an overview of three modules that cover topics in web technologies including the Internet, World Wide Web, HTML, JavaScript, CSS, DOM, CGI/Perl, Java Applets and more. Key concepts covered include how the Internet and WWW work, protocols, building websites using HTML, JavaScript programming fundamentals, external and internal CSS stylesheets, the HTML and XML DOM models, introducing CGI and Perl scripting, and writing Java applets. References for additional reading on related topics are also provided.
The document provides an overview of HTML (Hypertext Markup Language), which is the standard markup language used to create web pages and web applications. It describes HTML as a language used to describe the structure of a web page using markup tags, and that HTML documents contain plain text content along with these tags. It also provides examples of common HTML tags like <h1> for headings, <p> for paragraphs, and <img> for images, and how they are used to structure and layout the visible content of a web page.
The document provides an introduction to understanding internet basics for Visual Basic programmers. It discusses that Visual Basic allows programmers to easily produce functional web applications regardless of their experience level with internet technology. It describes internet technology as another area for development, noting how incorporating HTML and security features is similar to traditional Visual Basic development. The document also explains how applying internet technology enables extending development skills in new ways, such as reducing costs and maintenance through web deployment.
- HTML was created by Tim Berners-Lee in the late 1980s and early 1990s to allow information sharing through hypertext links on the then-emerging World Wide Web. It uses tags to define the structure and layout of webpages and allows multimedia content.
- The basic structure of an HTML document involves tags like <html> to open and close the HTML document, <head> to contain metadata, <title> to define the title, and <body> to contain the visible page content.
- Common text formatting is done using tags like <h1> for main headings, <p> for paragraphs, and <font> to specify font attributes. Lists are created with <ul> for unordered
The document discusses HTML (Hypertext Markup Language) and how to write HTML code using Notepad. It provides examples of basic HTML tags like <html>, <head>, <title>, <body>, <h1>, <p>, and <br>. It explains that HTML tags come in pairs, with a start and end tag. The document also discusses how to save an HTML file and introduces container tags and empty tags.
The document discusses HTML5 support in various web browsers. It provides test scores out of 555 for different browsers like Chrome, Firefox, Internet Explorer, Opera and Safari to indicate how well each browser supports HTML5 specifications. It then details support for various HTML5 features in each browser, such as sections elements, microdata, geolocation, video playback, WebGL, WebRTC and more. The test results and feature support details allow users to compare HTML5 compatibility across browsers.
This document provides an introduction to various web technologies including HTML, CSS, JavaScript, and PHP. It discusses the basic structures and components of HTML documents, how CSS can be used to style HTML content, and how JavaScript and PHP can add interactivity and run server-side code. The document also gives examples of common tags and syntax used in these languages. It concludes by noting that most web pages combine these core technologies and that learning them now provides a foundation for newer technologies.
HTML is the standard markup language used to create web pages. It uses tags to define elements like headings, paragraphs, links, and images. Tags are keywords surrounded by angle brackets and normally come in pairs with an opening and closing tag. HTML documents are made up of nested HTML elements that can contain other elements. Attributes provide additional information about elements and are specified in the element's start tag.
Web Designing Training in Ambala ! BATRA COMPUTER CENTREjatin batra
Are you in search of Web Designing training in Ambala?
Now your search ends here... Batra Computer Centre provides you the best training in Ambala Cantt. We provide training in Basics of Computers, training in Programming Languages C, C++, HTML, PHP,Web Designing,WebDevelopment,Seo,Smo and training many other courses also provided here.
This document provides information about a Web Technology subject for 6th semester students. It includes:
1. An overview of the topics to be covered in the subject, including creation of web pages using HTML, JavaScript, AJAX, PHP and ASP.
2. A list of 20 practical exercises focused on these topics, such as creating lists in HTML, using JavaScript to print dates and perform calculations, and connecting to databases using PHP.
3. Learning objectives and sample code for several of the practical exercises, providing examples of how to implement the various web technologies.
Drupal is an open source content management system (CMS) written in PHP and uses a MySQL database. It allows users to build dynamic websites and provides features like content authoring, taxonomy, views, and customizable modules. The document discusses Drupal fundamentals like nodes, modules, blocks, menus, and user permissions. It also provides an overview of using HTML, CSS, PHP, and MySQL to develop websites with Drupal.
The document provides information on HTML (Hypertext Markup Language) including common tags, commands, and elements used to structure and style web pages. It describes HTML tags like <head>, <body>, <p>, <b>, <i>, and <img> and how they are used to specify document structure and format text and images. It also covers how to add links, lists, tables, and frames to HTML pages.
Hello Friends..Welcome again.
Today Igot for you amazing topic for the learning that is, HTML vs XHTML. People generally get confuse with these two Web Development Languages.
I hope this presentation will help you in understanding the difference between both the languages.
PHP is an open-source, server-side scripting language used for web development. It was created in 1994 and allows embedding code into HTML documents. PHP is a popular choice due to its performance, open-source availability, ease of use, and support for dynamic content and databases. It has a large community for learning and support.
HTML element is everything between the start tag and the end tagssuser6478a8
HTML (Hypertext Markup Language) is used to structure and format web page content. It uses tags to define elements like headings, paragraphs, and lists. Developers use HTML to build the skeleton of websites and web apps. A web browser reads HTML tags and displays the structured content.
The document provides an introduction to markup languages like HTML, XML, and XHTML. It discusses the purpose and key differences between these languages. It also covers important XHTML tags and elements for structuring web pages, including the DOCTYPE, head, body, headings, paragraphs, lists, links, and special characters. The last section emphasizes writing valid XHTML and using validation tools to check for syntax errors.
This document is a group assignment submitted by 6 students from Assosa University in Ethiopia on May 26, 2013. It provides information on HTML, XHTML, XML, and summarizes key differences between these markup languages. HTML is for creating web pages, XHTML is a stricter version of HTML, and XML is a generic markup language that allows users to define their own tags for transporting and storing data.
The document summarizes the application layer of the OSI model. It discusses the World Wide Web and how browsers work to fetch and display web pages. It describes the client-server model of the web including how browsers resolve URLs and make requests to web servers. It also covers HTML, URLs, DNS, and how static and dynamic web pages are generated both on the client-side using JavaScript and on the server-side using languages like PHP.
This document provides summaries of key topics in web technologies and introduction to databases:
- HTML is the standard markup language used to describe web page structure and elements like headings, paragraphs, and tables. XML is a similar markup language used to store and transport data.
- CSS is used to define styles and layouts for web pages, and can control the appearance of multiple pages from one external stylesheet.
- Programming languages can be high-level, like Python and Java, or low-level like assembly, and make interacting with computers easier.
- Databases organize collections of data and database management systems provide functionality to define, query, and administer databases. Popular systems include MySQL, Microsoft Access, and drug
The document discusses the history and evolution of HTML and web design. It explains that HTML was created to define web page content but has evolved to include tags for formatting. This led to complex, labor-intensive web development. XHTML and CSS were developed to separate content from presentation for easier maintenance and accessibility. The document provides an overview of XHTML syntax and recommends using the Strict doctype for standards-compliant coding.
PHP is a server-side scripting language commonly used for web development. It is free, open source, and can interface with many databases. PHP code is executed on the server and plain HTML is sent to the browser. Variables, comments, and basic syntax follow standard rules. The php.ini configuration file controls PHP behavior and settings.
Girl Develop It Cincinnati: Intro to HTML/CSS Class 1Erin M. Kidwell
Here is some basic HTML code with <html>, <body>, <h1>, <h2>, and <p> tags:
<!DOCTYPE html>
<html>
<head>
<title>My First Webpage</title>
</head>
<body>
<h1>This is a Main Heading</h1>
<h2>This is a Subheading</h2>
<p>This is a paragraph of text.</p>
</body>
</html>
Keep domain names simple and related to the website theme. Ask others for opinions on potential domain names. When choosing a web host, consider speed, reliability, price, storage, technical support and features. Promote the website by spreading the word and optimizing the site for search engines.
This document provides an overview of the basic structure and elements of an HTML5 template. It begins with a barebones template containing the doctype, html, head and body elements. The doctype has been simplified in HTML5 to just <!doctype html>. Several elements in the head like the character encoding and stylesheet link have also been simplified. The template includes an HTML5 shiv to provide support for new HTML5 elements in older browsers. The document explains each part of the template.
The document provides information on HTML and XHTML. It begins with an overview of how web pages are requested and delivered from web servers to browsers. It then covers the basics of HTML, including that it is a markup language used to structure and present content on the web. It also discusses the different versions of HTML and XHTML including features of each.
The general direction in which something tends to move.
A general tendency or inclination. Current style. The Internet is a global revolution in communication – as long as You use letters from the Western alphabet.
People want their own domains in their own languages.
PHP is a widely used scripting language for web development. It was created in 1994 and has evolved through several versions, adding features like object oriented programming. PHP code is embedded into HTML and processed by the server before pages are sent to the browser. It is free, easy to use, cross-platform, and supports many databases, making it a popular choice for building dynamic web applications and sites.
The document provides an introduction and overview of PHP including a brief history, getting started instructions, examples of using PHP for templates and page counters, and additional resources. It discusses how PHP was created in 1994 and evolved through versions 2-5, how to embed PHP code in HTML pages using tags, demonstrates conditional statements and includes, and provides a step-by-step example of implementing a simple page counter using PHP.
Similar to Web Development From the Ground Up, a Series for Novice ... (20)
1) File uploads in PHP require configuring php.ini settings like enabling file uploads and setting temporary storage directories with correct permissions.
2) Forms for file uploads need to use POST with multipart/form-data encoding and include file input fields and hidden fields.
3) PHP stores uploaded files in the $_FILES array, including the temporary filename, size, type, and original name, which can then be processed and moved to a permanent location.
Running and Developing Tests with the Apache::Test Frameworkwebhostingguy
The Apache::Test framework allows running and developing tests for Apache modules and products. Key features include:
- Running existing tests through the t/TEST program
- Setting up a new testing environment by installing Apache::Test and generating a Makefile
- Developing new tests by writing Perl scripts that use Apache::Test functions and assert results
- Options for running tests individually, repeatedly without restarts, or in parallel on different ports
This document provides instructions on installing and configuring memcached to improve the performance and scalability of MySQL. Memcached is installed using package managers or by compiling from source. It is configured to listen on ports and interfaces, allocate memory, and set thread counts. The typical usage involves applications loading data from MySQL into memcached for faster retrieval, with MySQL as the backing store if data is not found in the cache.
The document discusses Novell iChain, a solution for securing web applications and servers. It provides single sign-on, encrypts data as it passes through proxies, and removes direct access to web servers. It authenticates users through LDAP or certificates and authorizes access through rules stored in eDirectory. This simplifies management and security across multiple web server platforms and applications.
Load-balancing web servers Load-balancing web serverswebhostingguy
The document discusses different approaches to load balancing web servers to address issues like scaling performance, tolerating failures, and rolling upgrades. It describes three common solutions: redirecting requests through a front-end server; using round-robin DNS to distribute requests; and employing an intelligent load balancer switch that can distribute requests based on server load and detect failures. Each approach has advantages and disadvantages related to ease of implementation, visibility to users, and ability to handle session state. The document also discusses network designs and protocols involved in load balancing, including TCP connection setup and teardown.
The document compares three methods for consolidating SQL Server databases: 1) multiple databases on a single SQL Server instance, 2) a single database on multiple SQL Server instances, and 3) hypervisor-based virtualization. It finds that consolidating multiple databases onto a single instance has the lowest direct costs but reduces security and manageability. Using multiple instances improves security but has higher resource needs. Hypervisor-based virtualization maintains security while enabling features like high availability, but has higher licensing costs. The document aims to help decide which approach best balances these technical and business factors for a given environment.
Mod_perl brings together the Apache web server and Perl programming language. It allows Apache to be configured and extended using Perl, and significantly accelerates dynamic Perl content. Mod_perl supports Apache versions 1.3 and 2.x and integrates Perl at every stage of the request process to provide great flexibility and control over Apache functionality. The mod_perl community provides extensive documentation and quick support responses.
Mod_perl brings together the Apache web server and Perl programming language. It allows Apache to be configured and extended using Perl, and significantly accelerates dynamic Perl content. Mod_perl supports Apache versions 1.3 and 2.x and integrates Perl at every stage of the request process to provide great flexibility and control over Apache functionality. The mod_perl community provides extensive documentation and quick support responses.
The document discusses various aspects of designing an effective website, including analyzing content and target audiences, organizing site structure and navigation, and implementing design elements. The key steps outlined are to analyze content and audience needs, organize the site structure into main sections and subsections, and implement an intuitive navigation system to help users easily find relevant information. Maintaining and optimizing the site over time are also emphasized.
This white paper provides an architectural overview and configuration guidelines for deploying Microsoft SQL Server 2005 with Microsoft Windows Server 2008 on Dell PowerEdge servers and Dell storage systems. It documents best practices for implementing SQL Server 2005 solutions using Dell hardware and software components that have been tested and validated to help ensure successful deployment and optimal performance. The white paper covers storage configuration, network configuration, operating system configuration, and SQL Server configuration recommendations.
1. The document discusses the evolution of business models for IT infrastructure from proprietary systems within individual companies to more open standards and shared infrastructure leveraging the internet.
2. It describes new service models like client-server computing, web services, and on-demand/utility computing which allow flexible provisioning of computing resources on a needs basis.
3. Managing diverse IT infrastructures requires considerations around outsourcing non-core functions, developing service level agreements, managing legacy systems, and aligning infrastructure capabilities to business strategy through appropriate investment.
The document discusses different types of websites that can be created for business purposes including traditional, blog-based, and group/network sites. It provides information on setting up each type of site for free or at low cost using online tools or designers, and how to add features like domains, payment systems, and linking domains to sites. Options for free and cheap site creation using tools like Google Sites are demonstrated.
This document outlines Saint Louis University's strategy for improving power management of IT equipment to reduce costs and environmental impact. Key points include:
1) SLU aims to standardize power-optimized default settings on all managed PCs and laptops through automated software and establish policies around exceptions and existing devices.
2) Potential savings are estimated from generational improvements in computer hardware and adopting lower-power modes like sleep versus screensavers.
3) The strategy also involves consolidating servers, enabling energy-efficient settings on printers and other electronics, and establishing institutional goals around student computer energy use.
Excel and SQL Quick Tricks for Merchandiserswebhostingguy
This document provides instructions for using Microsoft SQL and Excel to extract data from a SmartSite SQL database, manipulate it in Excel using functions, and update the SQL tables with the modified data to streamline content work. It covers connecting to and querying SQL databases, common Excel functions for editing data, and steps for importing an Excel file into a SQL table to update information. Examples of specific SQL queries and Excel functions are provided along with a scenario walking through the full process.
The document discusses various topics related to virtualization including drivers for virtualization, practical applications, definitions of terms like virtualization and paravirtualization, and tools like Xen, VMWare, and Microsoft virtualization products. It provides information on installing and configuring Xen on SuSE Linux, discusses security and auditing considerations for Xen, and demonstrates Xen functionality.
The document discusses strategies for converting low-value hosting clients into high-value customers by marketing additional services. It recommends continuously marketing to clients through email, forums, blogs and surveys to promote add-on services like collaboration tools, applications, and infrastructure-as-a-service offerings which can significantly increase revenue per client. Measuring marketing campaigns and conversions is key to optimizing efforts to up-sell existing clients.
Microsoft PowerPoint presentation 2.175 Mbwebhostingguy
The document discusses WebMapping Solutions and their products and services. It summarizes their middleware and mapping tools like MapBroker, Generic GUI Builder, and MapOrganiser. MapBroker powers many of their applications. Their products allow users to build custom web mapping applications and manage both geographic and non-geographic data in a single view. Their services include publishing data online, application development, and strategic consulting. Some examples of government and organization clients are listed.
This document provides an overview and guide for using HSPcomplete, a hosting automation solution that allows hosting service providers to manage infrastructure, billing, sales channels, and e-commerce through a single system. It describes HSPcomplete's advantages like integrated billing and credit card processing, virtual private server management, and domain registration. Hardware, software, and user requirements for HSPcomplete deployment are also outlined.
Web Development From the Ground Up, a Series for Novice ...
1. Web Development From the Ground Up, a Series for Novice Computer Users Lecturer: Philip Matuskiewicz Thursday: October 15, 2009 Email: [email_address] or [email_address] Lecture Website (created during 1 st lecture): http://famousphil.com/09web
2. My Background I’ve been a website developer for 7 years Have developed in PHP / MySQL extensively for the past 3 years I program most pages in XHTML Strict or Transitional Computer Science Grad Student 4 th year of the BS/MS combined degree program I’ve developed for both professional and personal websites I currently host 10 websites professionally on a private system. I maintain 4 servers 1 Exchange 2007/Windows Server 2003 server 2 CentOS (Redhat) Linux Servers running Cpanel (the hosting industry standard control panel) 1 Ubuntu server responsible for handling all external mail and forwarding it onto the internal servers appropriately These servers (except Windows) average 200 days of uptime with minimal problems.
3. Why am I doing this Lecture? I enjoy sharing my knowledge with others I learn from this also! Preparing the slides forces me to look up terms that I usually assume “just work” I need experience in communicating my knowledge effectively If you don’t understand me, chances are no one else does, don’t hesitate to stop me I need feedback on how I’m doing! This lecture series is my way of gaining experience to become a better presenter and teaching assistant!
4. What is a Browser A browser is any application that displays websites from a remote server through the internet There are multiple browsers out there to choose from: Firefox (Most popular) Chrome Safari Opera Internet Explorer (Microsoft’s Browser)
5. Why do we need a browser? Browsers speak HTTP (HyperText Transfer Protocol) which is the language that web servers speak A web server will return a file with text in it (among other types of files; eg. Image files) The main file returned is plain text and is written in HTML(HyperText Markup Language) which is the standard that all browsers should be able to understand All files have extensions… common extensions for HTML are .html, and .htm. If the server is modifying the html of a page prior to sending it to the browser, the extension may be .php for PHP, .cgi for CGI, and .asp for ASP (these will be discussed in later lectures)
6. How does the browser communicate with the server? The internet is a huge computer network that stretches world wide When your browser requests a page, it uses the internet to find then connect to the server responsible for that page This is basically done through a combination of DNS (Domain Name Service) lookups and routers that connect every computer together some way. These can be compared to how the post office routes your mail through its system, they generally look at the to address and route your mail towards the large sorting facility which knows more about your location. Once it figures out what the sorting destination is (DNS), it will route the message there via planes and trucks (routers).
7. Focuses of this Lecture Series - XHTML Web Development in XHTML Transitional/Strict XHTML is Extensible HyperText Markup Language, it is just an improved HTML Most of my examples and pages are XHTML Strict compliant but it is easier to declare Transitional to make that one difficult part of the webpage line up correctly. This is why many of the pages I develop are declared Transitional The strict specification will make your XHTML look cleaner and guarantee that it will work better on most browsers as where transitional is generally easier to validate.
8. Sidetrack to focuses on XHTML All too often, when developing websites, all browsers will show your webpage differently. This is because they follow the same specifications but interpret them differently, or they may not follow the specifications at all. Internet Explorers 6/7 are a huge problem because they didn’t really follow the specifications. IE 8 has gotten a lot better! This is why on the IEEE website, I have separate code for CSS in IE vs Firefox and other browsers. Chrome follows the standards almost exactly as does Internet Explorer 8 (Thank you Microsoft!). This is why sites may look fine in Firefox (which sometimes will loosely follow the standards and fill in the gaps) where IE8 / Chrome will make your page look ugly. Before standards were widely followed, browsers were really good at detecting errors and figuring out what they meant. This is why poorly coded WebPages still would look fine to all browsers that they were tested in.
9. Focuses on CSS CSS is “Cascading Style Sheet” This is a plain text file that will be requested from the server if in the HTML header. This file has formatting information on where to place text and how to make text look among a lot of other visibility features of a webpage. The common file extension for CSS is .css
10. Focus on Design All WebPages nowadays look nice to the eye and generally are designed with several images I will use Adobe Photoshop CS4 at some point in the series (Tentatively Lecture 3) to display a template that serves one of the websites I develop for. At this point, I plan on slightly modifying the template and then carry it to a website. I plan to do this live as a demonstration, explaining the tools that I use in Photoshop as I go along.
11. Focus on PHP / MySQL development The last 3-4 lectures of this series will focus heavily on PHP and MySQL development. PHP stands for Hypertext Preprocessor I’ve also seen it as: Pre Hypertext Processor MySQL stands for My Structured Query language PHP and MySQL are combined to generate HTML pages with constantly changing content. I’m currently working on integrating MySQL into the IEEE website to make the site easier to modify without my assistance.
12. Enough generalized information… What does XHTML look like? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-us" xml:lang="en-us"> <head> <!-- This is a comment tag, it will NOT be interpreted by HTML-> <!-- title, meta, and other non-content tags go in the head -> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Web Dev Lecture Series :: Home</title> </head> <body> <!– any page content will go inside the body tags -> <p> Hello World! This lecture series is on its way!!!<br /> <a href="http://famousphil.com/09web/lecture1.pdf">Lecture 1 Slides</a> </p> </body> </html>
13. HTML Tags <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-us" xml:lang="en-us"> </html> Looking at the image, in all html documents, we have an opening tag, a closing tag, and a list of attributes. Attributes will always show up as name=“value” in proper html and xhtml. Attributes vary depending on what tag they are inside of Some tags are self closing, for example, the <br /> tag has a /> at the end which self closes it br means Break Line or goto the next line
14. Header of a Strict HTML Document <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> !DOCTYPE tells the browser what language we are using html will almost always follow this declaration! PUBLIC specifies this specification is accessible by anyone The owner (W3C) is specified next DTD is the Document Type Definition XHTML 1.0 Strict is the language used followed by //EN specifying English Finally in another set of quotes (“”) we place the URL (Universal Resource Locator) address of the page containing the specification requirements W3C is the organization that specifies HTML Standards
15. Continuing on the header: <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-us" xml:lang="en-us"> The xmlns attribute specifies the extended markup language namespace or standard. XML is a more simplified version of HTML where you can specify your own tags and attributes. This is especially useful for defining databases and holding onto data in files without mixing data up. dir is the direction the text flows (ltr is Left to Right) Lang specifies the language – United States English xml:lang specifies the language of the tags being used
16. Continuing into the head tag <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>IEEE-UB :: Home</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> Between the <head></head> tags is where page information is contained The first meta defines most importantly what the document language is and what character set it is using (to prevent encoding errors) A title is specified between the <title></title> tags The <link… tag is specifying where to get the style sheet for this page, we will come back to this in a later lecture
17. Body <body> <p>Hello World! I made my first webpage!!!<br /> <a href="http://famousphil.com/09web/lecture1.pdf">Lecture 1 Slides</a> </p> </body> Between the <body></body> tags is where you should put all the content that will show up on your webpage. All text should be surrounded by another tag. In my examples for today, I will use the <p> tag which is the paragraph tag.
18. The <a></a> Anchor Tag The href attribute defines the link URL or address. This address can be relative to where the page is , or it can be a full path link including http:// For example, if were are at http://famousphil.com/09web/index.html and we specify href=“lecture1.pdf”, it will link to http://famousphil.com/09web/lecture1.pdf because we are in the same directory
19. Now that we’ve seen some XHTML… Lets discuss XHTML editors Dreamweaver – Not Free! WYSIWYG (what you see is what you get) I never use WYSIWYG editors because they put unnecessary code on your page. Frontpage 2003 is a huge example, Dreamweaver CS4 is much better! PHP Designer 2008 Text only – recommended, not free! (Student discounts available) Scite- Free (not as nice as PHP Designer) http://www.ebswift.com/Common/ASPCommon/Download/file_download.aspx?File=/OpenSource/SciTEInstaller/scite-win32-2.01.msi Notepad- included with windows Pico / Nano / Vim – Included with Linux – discussed later Vim will highlight your code
20. Before Transferring Files… Be aware that Windows text editors (especially wordpad) will add unnecessary space characters to the end of each of your lines. This can make your html files show up on a webpage the wrong way. If you are finding your editor does this, switch editors! PHP Designer has a handy function “remove empty lines” on its tools menu which I use frequently when copying files back and forth from a Linux web server.
21. With our HTML file created, lets get it on a server Filezilla is perhaps the easiest method Use FTP (File Transfer Protocol) or sftp (Secure file transfer protocol) http://filezilla-project.org/download.php Host is the server address, then Username/Password Live demo with filezilla – Making this presentation and the website available at the lecture series website: http://famousphil.com/09web Note the www. is optional (exception: UB CSE department) Using FTP Using SFTP (uses SSH discussed later)
22. Editing files live on the server Using a program like sftp drive which maps a remote Linux drive to a Windows drive. This is possible but not free quick demo using sftpdrive its now expandrive at http://www.expandrive.com/windows Live demo Using pico, nano, vim via putty and ssh SSH command list (I made it for CSE116) available at: Slideshow (if we have time) http://www.cse.buffalo.edu/~pjm35/ta/116/linuxhelpV2.pdf Summary of Commands (Word / PDF) http://www.cse.buffalo.edu/~pjm35/ta/116/CSE116UnixCheatsheet.doc http://www.cse.buffalo.edu/~pjm35/ta/116/CSE116UnixCheatsheet.pdf