logging in or signing up HTML XHTML and XML 3e Tutorial 1 sanjeevitech82 Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINT lite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 11 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: February 06, 2012 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript PowerPoint Presentation: Developing a Basic Web PageExploring the History of the World Wide Web: Exploring the History of the World Wide Web A network is a structure linking computers together for the purpose of sharing information and services Users typically access a network through a computer called a host or node A node that provides information or a service is called a server 2Exploring the History of the World Wide Web: Exploring the History of the World Wide Web A computer or other device that requests services from a server is called a client One of the most commonly used designs is the client-server network If the computers that make up a network are close together (within a single department or building), then the network is referred to as a local area network (LAN) 3Exploring the History of the World Wide Web: Exploring the History of the World Wide Web A network that covers a wide area, such as several buildings or cities, is called a wide area network (WAN) The largest WAN in existence is the Internet In its early days, the Internet was called ARPANET and consisted of two network nodes located at UCLA and Stanford, connected by a phone line 4Exploring the History of the World Wide Web: Exploring the History of the World Wide Web Today the Internet has grown to include an uncountable number of nodes involving computers, cell phones, PDAs, gaming systems, and television stations The physical structure of the Internet uses fiber-optic cables, satellites, phone lines, wireless access points, and other telecommunications media 5Structure of the Internet: Structure of the Internet 6Exploring the History of the World Wide Web: Exploring the History of the World Wide Web Timothy Berners-Lee and other researchers at the CERN nuclear research facility near Geneva, Switzerland laid the foundations for the World Wide Web , or the Web , in 1989 They developed a system of interconnected hypertext documents that allowed their users to easily navigate from one topic to another Hypertext is a method of organizing information that gives the reader control over the order in which the information is presented 7Hypertext Documents: Hypertext Documents When you read a book, you follow a linear progression, reading one page after another With hypertext, you progress through pages in whatever way is best suited to you and your objectives Hypertext lets you skip from one topic to another 8Hypertext Documents: Hypertext Documents The key to hypertext is the use of links , which are the elements in a hypertext document that allow you to jump from one topic or document to another A link may point to another section of the same document, or to another document entirely A link can open a document on your computer, or through the Internet, a document on a computer anywhere in the world 9Web Pages and Web Servers: Web Pages and Web Servers Each document on the World Wide Web is referred to as a Web page Web pages are stored on Web servers, which are computers that make Web pages available to any device connected to the Internet A Web browser retrieves the page from the Web server and renders it on the user’s computer or other device The earliest browsers, known as text-based browsers , were incapable of displaying images 10Web Pages and Web Servers: Web Pages and Web Servers 11Introducing HTML: Introducing HTML A Web page is a text file written in a language called Hypertext Markup Language A markup language is a language that describes a document’s content and structure HTML is not a programming language or a formatting language Styles are format descriptions written in a separate language from HTML that tell browsers how to render each element for particular devices 12The History of HTML: The History of HTML The first version of HTML was created using the Standard Generalized Markup Language (SGML) In the early years of HTML, Web developers were free to define and modify HTML in whatever ways they thought best Competing browsers introduced some differences in the language The changes were called extensions 13The History of HTML: The History of HTML A group of Web developers, programmers, and authors called the World Wide Web Consortium , or the W3C , created a set of standards or specifications that all browser manufacturers were to follow The W3C has no enforcement power The recommendations of the W3C are usually followed since a uniform approach to Web page creation is beneficial to everyone 14History of HTML and XHTML: History of HTML and XHTML 15The History of HTML: The History of HTML Older features of HTML are often deprecated , or phased out, by the W3C That does not mean you can’t continue to use them—you may need to use them if you are supporting older browsers Current Web developers are increasingly using XML (Extensible Markup Language) XML (Extensible Markup Language) is a metalanguage like SGML, but without SGML’s complexity and overhead 16The History of HTML: The History of HTML XHTML (Extensible Hypertext Markup Language) is a stricter version of HTML and is designed to confront some of the problems associated with the different and competing versions of HTML XHTML is also designed to better integrate HTML with other markup languages such as XML HTML will not become obsolete anytime soon 17The History of HTML: The History of HTML XHTML 2.0 is still in the draft stage, and is not backward-compatible with earlier versions of HTML and XHTML HTML 5 is being developed under the XML specifications as XHTML 5.0 18Creating an HTML Document: Creating an HTML Document 19Creating an HTML Document: Creating an HTML Document In planning, identify a document’s various elements An element is a distinct object in the document, like a paragraph, a heading, or a page’s title Formatting features such as boldfaced font, and italicized text may be used 20Marking Elements with Tags: Marking Elements with Tags The core building block of HTML is the tag , which marks the presence of an element A two-sided tag is a tag that contains some document content General syntax for a two-sided tag: <element>content</element> 21Marking Elements with Tags: Marking Elements with Tags A two-sided tag’s opening tag (<p>) and closing tag (</p>) should completely enclose its content Elements can contain other elements Tags cannot overlap <p>Welcome to <b>Dave’s Devil Sticks</b></p> 22The Structure of an HTML File: The Structure of an HTML File The opening <html> tag marks the start of an HTML document, and the closing </html> tag tells a browser when it has reached the end of that HTML document <html> marks the root element Anything between these two tags makes up the document content, including all other elements, text, and comments 23The Structure of an HTML File: The Structure of an HTML File An HTML document is divided into two main sections: the head and the body The head element contains information about the document, for example the document title or the keywords The content of the head element is not displayed within the Web page 24The Structure of an HTML File: The Structure of an HTML File The body element contains all of the content to appear on the Web page The body element can contain code that tells the browser how to render the content The title element contains the page’s title A document’s title is usually displayed in the browser’s title bar 25Adding Comments: Adding Comments 26Displaying an HTML File: Displaying an HTML File As you continue modifying the HTML code, you should occasionally view it with your Web browser to verify that you have not introduced any errors You may want to view the results using different browsers to check for compatibility 27Displaying an HTML File: Displaying an HTML File 28Working with Block-Level Elements: Working with Block-Level Elements Block-level elements are elements that contain content that is viewed as a distinct block within the Web page Heading elements are block-level elements that contain the text of main headings on the Web page < h n > content <h n > n is an integer between 1 and 6 < h1> is the largest heading <h6> is the smallest heading 29Marking Block-Level Elements: Marking Block-Level Elements To mark a heading, enter <h n>content </h n > where n is an integer from 1 to 6 and content is the text of heading To mark a paragraph, enter <p> content </ p > To mark a block quote, enter <blockquote> content </blockquote> To mark a generic block-level element, enter <div> content </div> 30Adding <h1> and <h2> Markup Tags: Adding <h1> and <h2> Markup Tags 31Marking Paragraph Elements: Marking Paragraph Elements 32White Space and HTML: White Space and HTML HTML file documents are composed of text characters and white space White space is the blank space, tabs, and line breaks within the file HTML treats each occurrence of white space as a single blank space You can use white space to make your document more readable 33Marking a Block Quote: Marking a Block Quote The syntax for making an extended quote is <blockquote>content</blockquote> 34Marking a List: Marking a List HTML supports three kinds of lists: ordered, unordered, and definition You use an ordered list for items that must appear in a numerical order You use an unordered list for items that do not need to occur in any special order One list can contain another list This is called a nested list 35Marking a List: Marking a List 36Creating a Definition List: Creating a Definition List The definition list contains a list of terms, each followed by the term’s description Web browsers typically display the definition description below the definition term and slightly indented: Basic Stick Easiest stick to learn 37Using Other Block-Level Elements: Using Other Block-Level Elements HTML supports the address element to indicate contact information Most browsers display an address element in an italicized font, and some right-justify or indent addresses 38Using Other Block-Level Elements: Using Other Block-Level Elements 39Working with Inline Elements: Working with Inline Elements An inline element marks a section of text within a block-level element Often used to format characters and words Also referred to as character formatting elements 40Working with Inline Elements: Working with Inline Elements 41Logical Elements vs Physical Elements: Logical Elements vs Physical Elements A logical element describes the nature of the enclosed content, but not necessarily how that content should appear A physical element describes how content should appear, but doesn’t indicate the content’s nature You should use a logical element that accurately describes the enclosed content whenever possible, and use physical elements only for general content 42Using Element Attributes: Using Element Attributes Many tags contain attributes that control the use, behavior, and in some cases the appearance, of elements in the document Attributes are inserted within the tag brackets <element attribute1=“value1” attribute2=“value2” …>content</element> 43The Style Attribute: The Style Attribute Use the style attribute to control the appearance of an element, such as text alignment The text-align style tells the browser how to horizontally align the contents of an element The color style tells the browser to render the text in a certain color Presentational attributes specify exactly how the browser should render an element 44The Style Attribute: The Style Attribute 45The Style Attribute: The Style Attribute 46 You do not have the permission to view this presentation. In order to view it, please contact the author of the presentation.
HTML XHTML and XML 3e Tutorial 1 sanjeevitech82 Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINT lite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 11 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: February 06, 2012 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript PowerPoint Presentation: Developing a Basic Web PageExploring the History of the World Wide Web: Exploring the History of the World Wide Web A network is a structure linking computers together for the purpose of sharing information and services Users typically access a network through a computer called a host or node A node that provides information or a service is called a server 2Exploring the History of the World Wide Web: Exploring the History of the World Wide Web A computer or other device that requests services from a server is called a client One of the most commonly used designs is the client-server network If the computers that make up a network are close together (within a single department or building), then the network is referred to as a local area network (LAN) 3Exploring the History of the World Wide Web: Exploring the History of the World Wide Web A network that covers a wide area, such as several buildings or cities, is called a wide area network (WAN) The largest WAN in existence is the Internet In its early days, the Internet was called ARPANET and consisted of two network nodes located at UCLA and Stanford, connected by a phone line 4Exploring the History of the World Wide Web: Exploring the History of the World Wide Web Today the Internet has grown to include an uncountable number of nodes involving computers, cell phones, PDAs, gaming systems, and television stations The physical structure of the Internet uses fiber-optic cables, satellites, phone lines, wireless access points, and other telecommunications media 5Structure of the Internet: Structure of the Internet 6Exploring the History of the World Wide Web: Exploring the History of the World Wide Web Timothy Berners-Lee and other researchers at the CERN nuclear research facility near Geneva, Switzerland laid the foundations for the World Wide Web , or the Web , in 1989 They developed a system of interconnected hypertext documents that allowed their users to easily navigate from one topic to another Hypertext is a method of organizing information that gives the reader control over the order in which the information is presented 7Hypertext Documents: Hypertext Documents When you read a book, you follow a linear progression, reading one page after another With hypertext, you progress through pages in whatever way is best suited to you and your objectives Hypertext lets you skip from one topic to another 8Hypertext Documents: Hypertext Documents The key to hypertext is the use of links , which are the elements in a hypertext document that allow you to jump from one topic or document to another A link may point to another section of the same document, or to another document entirely A link can open a document on your computer, or through the Internet, a document on a computer anywhere in the world 9Web Pages and Web Servers: Web Pages and Web Servers Each document on the World Wide Web is referred to as a Web page Web pages are stored on Web servers, which are computers that make Web pages available to any device connected to the Internet A Web browser retrieves the page from the Web server and renders it on the user’s computer or other device The earliest browsers, known as text-based browsers , were incapable of displaying images 10Web Pages and Web Servers: Web Pages and Web Servers 11Introducing HTML: Introducing HTML A Web page is a text file written in a language called Hypertext Markup Language A markup language is a language that describes a document’s content and structure HTML is not a programming language or a formatting language Styles are format descriptions written in a separate language from HTML that tell browsers how to render each element for particular devices 12The History of HTML: The History of HTML The first version of HTML was created using the Standard Generalized Markup Language (SGML) In the early years of HTML, Web developers were free to define and modify HTML in whatever ways they thought best Competing browsers introduced some differences in the language The changes were called extensions 13The History of HTML: The History of HTML A group of Web developers, programmers, and authors called the World Wide Web Consortium , or the W3C , created a set of standards or specifications that all browser manufacturers were to follow The W3C has no enforcement power The recommendations of the W3C are usually followed since a uniform approach to Web page creation is beneficial to everyone 14History of HTML and XHTML: History of HTML and XHTML 15The History of HTML: The History of HTML Older features of HTML are often deprecated , or phased out, by the W3C That does not mean you can’t continue to use them—you may need to use them if you are supporting older browsers Current Web developers are increasingly using XML (Extensible Markup Language) XML (Extensible Markup Language) is a metalanguage like SGML, but without SGML’s complexity and overhead 16The History of HTML: The History of HTML XHTML (Extensible Hypertext Markup Language) is a stricter version of HTML and is designed to confront some of the problems associated with the different and competing versions of HTML XHTML is also designed to better integrate HTML with other markup languages such as XML HTML will not become obsolete anytime soon 17The History of HTML: The History of HTML XHTML 2.0 is still in the draft stage, and is not backward-compatible with earlier versions of HTML and XHTML HTML 5 is being developed under the XML specifications as XHTML 5.0 18Creating an HTML Document: Creating an HTML Document 19Creating an HTML Document: Creating an HTML Document In planning, identify a document’s various elements An element is a distinct object in the document, like a paragraph, a heading, or a page’s title Formatting features such as boldfaced font, and italicized text may be used 20Marking Elements with Tags: Marking Elements with Tags The core building block of HTML is the tag , which marks the presence of an element A two-sided tag is a tag that contains some document content General syntax for a two-sided tag: <element>content</element> 21Marking Elements with Tags: Marking Elements with Tags A two-sided tag’s opening tag (<p>) and closing tag (</p>) should completely enclose its content Elements can contain other elements Tags cannot overlap <p>Welcome to <b>Dave’s Devil Sticks</b></p> 22The Structure of an HTML File: The Structure of an HTML File The opening <html> tag marks the start of an HTML document, and the closing </html> tag tells a browser when it has reached the end of that HTML document <html> marks the root element Anything between these two tags makes up the document content, including all other elements, text, and comments 23The Structure of an HTML File: The Structure of an HTML File An HTML document is divided into two main sections: the head and the body The head element contains information about the document, for example the document title or the keywords The content of the head element is not displayed within the Web page 24The Structure of an HTML File: The Structure of an HTML File The body element contains all of the content to appear on the Web page The body element can contain code that tells the browser how to render the content The title element contains the page’s title A document’s title is usually displayed in the browser’s title bar 25Adding Comments: Adding Comments 26Displaying an HTML File: Displaying an HTML File As you continue modifying the HTML code, you should occasionally view it with your Web browser to verify that you have not introduced any errors You may want to view the results using different browsers to check for compatibility 27Displaying an HTML File: Displaying an HTML File 28Working with Block-Level Elements: Working with Block-Level Elements Block-level elements are elements that contain content that is viewed as a distinct block within the Web page Heading elements are block-level elements that contain the text of main headings on the Web page < h n > content <h n > n is an integer between 1 and 6 < h1> is the largest heading <h6> is the smallest heading 29Marking Block-Level Elements: Marking Block-Level Elements To mark a heading, enter <h n>content </h n > where n is an integer from 1 to 6 and content is the text of heading To mark a paragraph, enter <p> content </ p > To mark a block quote, enter <blockquote> content </blockquote> To mark a generic block-level element, enter <div> content </div> 30Adding <h1> and <h2> Markup Tags: Adding <h1> and <h2> Markup Tags 31Marking Paragraph Elements: Marking Paragraph Elements 32White Space and HTML: White Space and HTML HTML file documents are composed of text characters and white space White space is the blank space, tabs, and line breaks within the file HTML treats each occurrence of white space as a single blank space You can use white space to make your document more readable 33Marking a Block Quote: Marking a Block Quote The syntax for making an extended quote is <blockquote>content</blockquote> 34Marking a List: Marking a List HTML supports three kinds of lists: ordered, unordered, and definition You use an ordered list for items that must appear in a numerical order You use an unordered list for items that do not need to occur in any special order One list can contain another list This is called a nested list 35Marking a List: Marking a List 36Creating a Definition List: Creating a Definition List The definition list contains a list of terms, each followed by the term’s description Web browsers typically display the definition description below the definition term and slightly indented: Basic Stick Easiest stick to learn 37Using Other Block-Level Elements: Using Other Block-Level Elements HTML supports the address element to indicate contact information Most browsers display an address element in an italicized font, and some right-justify or indent addresses 38Using Other Block-Level Elements: Using Other Block-Level Elements 39Working with Inline Elements: Working with Inline Elements An inline element marks a section of text within a block-level element Often used to format characters and words Also referred to as character formatting elements 40Working with Inline Elements: Working with Inline Elements 41Logical Elements vs Physical Elements: Logical Elements vs Physical Elements A logical element describes the nature of the enclosed content, but not necessarily how that content should appear A physical element describes how content should appear, but doesn’t indicate the content’s nature You should use a logical element that accurately describes the enclosed content whenever possible, and use physical elements only for general content 42Using Element Attributes: Using Element Attributes Many tags contain attributes that control the use, behavior, and in some cases the appearance, of elements in the document Attributes are inserted within the tag brackets <element attribute1=“value1” attribute2=“value2” …>content</element> 43The Style Attribute: The Style Attribute Use the style attribute to control the appearance of an element, such as text alignment The text-align style tells the browser how to horizontally align the contents of an element The color style tells the browser to render the text in a certain color Presentational attributes specify exactly how the browser should render an element 44The Style Attribute: The Style Attribute 45The Style Attribute: The Style Attribute 46