CHETTINAD COLLEGE OF ENGINEERNG AND TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT I XHTML

Size: px
Start display at page:

Download "CHETTINAD COLLEGE OF ENGINEERNG AND TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT I XHTML"

Transcription

1 CHETTINAD COLLEGE OF ENGINEERNG AND TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT I XHTML 1. What is XHTML? XHTML stands for extensable HyperText Markup Language and is a cross between HTML and XML. XHTML was created for two main reasons: a. To create a stricter standard for making web pages, reducing compatibilities between browsers b. To create a standard that can be used on a variety of different devices without changes. 2. What are the main changes in XHTML from HTML? 1. All tags must be in lower case 2. All documents must have a doctype 3. All documents must be properly formed 4. All tags must be closed 5. All attributes must be added properly 6. The name attribute has changed 7. Attributes cannot be shortened 8. All tags must be properly nested 3. What are the difference between XHTML and HTML XHTML requires that all Webpages contain the <html>,, and elements, as well as the DOCTYPE declaration, where as in HTML they are not required. XHTML insists on having closing tags for every element, even empty ones, where as HTML often lets you omit them. HTML requires that all attributes be enclosed by quotation marks, where as HTML lets you omit quotation marks, but only around attribute values which consist of only letters, numbers and these characters: - (dash),. (period), _ (underscore) and : (colon). 1

2 XHTML is case sensitive, where as HTML is not case sensitive. Furthermore XHTML requires that all enumerated attribute values be lower case. 4. Why use XHTML? XHTML's more strict syntax rules has many benefits. By adhering to a more consistent, well structured format, your webpages can be easily parsed and processed by software applications. It also makes your website more easy to maintain, edit, convert and format in the long run. Alternate ways of accessing the Internet are constantly being introduced. The XHTML family is designed with general user agent interoperability in mind, such as mobile devices, new Web browser software, etc. 5. Write the General format for the XHTML Structure <html xmlns=" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " /xhtml1- transitional.dtd"> <?xml version="1.0" encoding="utf-8"?>. (Insert the page's head information here...) (Insert the page's body content here...) All XHTML pages begin with a DOCTYPE declaration to specify what version of XHTML you are using. 2

3 The DOCTYPE (document type) tells browsers what type of information to expect in the page, which in turn, tells it how to render the page. The DOCTYPE information is also used byxhtml validators to configure the process by which it verifies the syntax of your Web pages. Creating the XHTML element Immediately after the opening <html> element, type the tag. Insert the contents of the section - we'll discuss this shortly. Type to close the element. Creating the XHTML element Under the closing tag, open the element. Insert the contents of the Type to close the body tag. 6. List out the Important XHTML rules. 7. How to implement the Comments line in XHTML? 3

4 8. Explain the Headers. The XHTML provides six headers, called header elements, for specifying the relative importance of information. Header element h1 is considered the most significant header and it typically rendered in a larger font than the other five headers. Each successive header element is typically rendered in a progressively smaller font. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " <title>heading Tag</title> <h1>department of CSE</h1> <h2>department of CSE</h2> <h3>department of CSE</h3> <h4>department of CSE</h4> <h5>department of CSE</h5> <h6>department of CSE</h6> Output: 4

5 9. Explain the Linking in XHTML. An important feature for the XHTML is the Hyper Link, which references to the other resources, such as XHTML documents and images. In XHTML, both text and images can act as hyperlinks. Web browsers typically underline text hyperlinks and color their text blue by default, so that users can distinguish hyperlinks from plain text. Text HyperLinks <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " <title>this is the Text Hyper Link</title> <h1>here are my favorite sites</h1> <p><strong>click a name to go to that page.</strong></p> <a href="file:///c:/documents and settings/sakthiccet08/desktop/xhtml.html">xhtml</a> Output: 5

6 Image HyperLinks <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " <title>redirecting a Request to Another Site</title> <h1>here are my favorite sites</h1> <p><strong>click a Image to go to that page.</strong></p> <a href="file:///c:/documents and settings/sakthiccet08/desktop/xhtml.html"> <img src="file:///c:/documents and settings/sakthiccet08/desktop/22.gif"></a> 6

7 10. Explain the <img> tag in XHTML In most Web pages contain both text and images. In fact, images are an equal, if not essential, part of Web page design. The three most popular image formats used by web developers are Graphics Interchange Format (GIF), Joint Photographic Experts Group (JPEG) and Portable Network Graphics (PNG). Users can create images using specialize pieces of software, such as Adobe Photoshop Elements and Macromedia Fireworks. Images may also be acquired from various Web sites, Such as the Yahoo! Picture Gallery. In the Web page use an img element to insert an image in the document. The image files s location is specified with the img element s src attribute. In his case, the image is located in the same directory as this XHTML document, so only the image s file name is required. Optional attributes width and height specify the image s width and height, respectively. The document author can scale an image by increasing or decreasing the values of the image width and height attributes. If these attributes are omitted, 7

8 the browser uses the image s actual width and height. Images are measures in pixels, which represent dots of color on the screen. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " <title>image Element in XHTML</title> <h1>this is the Images</h1> <img src="file:///c:/documents and settings/sakthiccet08/desktop/22.gif" height=300 width=300 hspace=100 vspace=100 alt="image not Displayed"> Output: 8

9 11. Explain the Unordered list and Nested Ordered list forms. List may be nested to represent hierarchical relationships, as in an outline format. The ordered list element ol creates a list in which each item begins with a number. A web browser indents each nested list to indicate a hierarchical relationship. Items in an ordered list are enumerated one, two, and three and so on. Nested ordered lists are enumerated in the same manner. The items in the outermost unordered list are preceded by discs. List items nested inside the unordered list are preceded by circles. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " <title>unordered List and Ordered List</title> <h1>this is the Unordered and Ordered List in the Forms</h1> <ul> <li>xhtml <ol type="a"> <li>headers</li> <li>linking</li> <li>images</li> </ol> </li> <li>servlet <ol type="i"> <li>intrduction</li> <li>servlet Architecture</li> <li>servlet Life Cycle</li> </ol> </li> 9

10 </ul> Output: 12. Explain the XHTML Tables and formatting Tables are frequently used to organize data into rows and columns. Table are defined with the table element. The table element that has several attributes. The border attribute specifies the table s border width in pixels. To create a table without a border, set border to 0. A table has three distinct sections head, body and foot. The head section is defined with a thead element, which contains header information such as column names. Each tr element defines an individual table row. The column in the head section is defined with th elements. Most browsers center text formatted by th elements and display them in bold. Table header elements are nested inside table row elements. The foot section is defined with a tfoot element. The text placed in the footer commonly includes calculation results and footnotes. Like other 10

11 sections, the foot section can contain table rows, and each row can contain columns. The body section, or table body, contains the table s primary data. The table body is defined in a tbody element. In the body, each tr element specifies one row. Data cells contain individual pieces of data and are defined with td(table data) elements within each row. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " <title>a simple XHTML table</title> <table border = "1" width = "40%"> <caption><strong>price of Fruit</strong></caption> <thead> <tr> <th>fruit</th> <th>price</th> </tr> </thead> <tfoot> <tr> <th>total</th> <th>$3.75</th> </tr> </tfoot> <tbody> <tr> <td>apple</td> <td>$0.25</td> 11

12 </tr> <tr> </tbody> </table> <tr> </tr> </tr> <tr> </tr> <td>orange</td> <td>$0.50</td> <td>banana</td> <td>$1.00</td> <td>pineapple</td> <td>$2.00</td> Output 12

13 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " <title>internet and WWW How to Program - Tables</title> <h1>table Example Page</h1> <table border = "1"> <caption>here is a more complex sample table.</caption> <colgroup> <col align = "right" span = "1" /> </colgroup> <thead> <tr> <th rowspan = "2"> <img src = "file:///c:/documents and settings/sakthiccet08/desktop/22.gif" width = "205" height = "167" alt = "Picture of a camel" /> </th> <th colspan = "4" valign = "top"> <h1>camelid comparison</h1><br /> <p>approximate as of 9/2002</p> </th> </tr> <tr valign = "bottom"> <th># of Humps</th> <th>indigenous region</th> <th>spits?</th> <th>produces Wool?</th> </tr> </thead> 13

14 <tbody> <tr> </tr> <tr> </tr> </tbody> </table> <th>camels (bactrian)</th> <td>2</td> <td>africa/asia</td> <td>yes</td> <td>yes</td> <th>llamas</th> <td>1</td> <td>andes Mountains</td> <td>yes</td> <td>yes</td> Output: 14

15 13. What is a forms in XHTML? When browsing Web sites, users often need to provide such information as search keywords, addresses and Zip codes. XHTML provides a mechanism, called a form, for collecting such data from a user. 14. Explain the forms in XHTML Data that users enter on a Web page normally is sent to a Web server that provides access to a site s resources. These resources are located either on the same machine as the Web server or on a machine that the Web server can access through the network. When a browser requests a Web page or a file that is located on a server, the server processes the request and returns the requested resource. A request contains the name and path of the desired resource and the method of communication. Sends the form data to the Web server, which passes the form data to a CGI script written in Perl, C or some other language. The script processes the data received from the Web server and typically returns information to the Web browser. If the form is submitted (by clicking Submit your Entries) an error occurs because we have not yet configures the required server side functionality. Forms can contain visual and nonvisual components. Visual components include clickable buttons and other graphical user interface components with which users interact. Non Visual components, called hidden inputs, store any data that the document author specifies, such as address and XHTML document file names that act as links. Attribute method specifies how the form s data is sent to the Web server. <? xml version = "1.0"?> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " <title>creating Registration Form using XHTML Forms</title> 15

16 <center><font face="arial black" size="30">registration Form</font></center> <pre> <form name="f1" action="" method="get"> Enter the First Name <input type="text" name="t1" value=""> Enter the Last Name <input type="text" name="t2" value=""> Select the Desgination <select name="s1"> <option>lecture</option> <option>senior Lecturer</option> <option>assitant Professor</option> <option>associate Professor</option> <option>professor</option> </select> Gender <input type="radio" name="r1" value="">male <input type="radio" name="r1" value="">female Address <textarea name="ta"> </textarea> Hoppies <input type="checkbox" name="c1" value="">cricket <input type="checkbox" name="c2" value="">football <input type="checkbox" name="c3" value="">hockey <input type="checkbox" name="c4' value="">volleyball if, any other Details <textarea name="ta1"> </textarea> <input type="submit" name="s22" value="submit"> <input type="reset" name="r22" value="reset"> 16

17 15. Explain the Nested frameset in XHTML All of the Web pages, ability to link to other pages, but can display only one page at a time. Frames allow a Web developer to display more than one XHTML document in the browser simultaneously. A document that defines a frameset normally consists of an html element that contains a head element and a frameset element, the <frameset> tag informs the browser that the page contains frames. Attribute cols specifies the frameset s columns layout. The value of cols gives the width of each frame, either in pixels or as a percentage of the browser width, <? xml version = "1.0"?> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " <html> <title>frames Created</title> 17

18 <frameset rows = "35%,*"> <frame src="file:///z:/sakthiccet08/sakthi Detailsss/Subject Oriented/Internet Programming/java_script/JS_13.html" marginheight="100" marginwidth="100" scorolling="no"> <frameset cols = "50%,50%"> <frameset rows = "50%,50%"> <frame src="file:///z:/sakthiccet08/sakthi Detailsss/Subject Oriented/Internet Programming/java_script/JS_10.html" marginheight="100" marginwidth="100" scorolling="no"> <frame src="file:///z:/sakthiccet08/sakthi Detailsss/Subject Oriented/Internet Programming/java_script/JS_11.html" marginheight="100" marginwidth="100" scorolling="no"> </frameset> <frame src="file:///z:/sakthiccet08/sakthi Detailsss/Subject Oriented/Internet Programming/java_script/JS_12.html" marginheight="100" marginwidth="100" scorolling="no"> </frameset> </frameset> Output: 18

19 16. What is Cascading Style Sheet? Style Sheets are powerful mechanism for adding styles(e.g. fonts, colors, spacing) to Web documents. They enforce standards and uniformity throughout a web site and provide numerous attributes to create dynamic effects. With Style Sheets, text and image formatting properties can be predefined in a single list. Html elements on a web page can then be bound to the style sheet. 17. What are the advantages of Cascading Style Sheet? The advantages of a Style Sheet include the ability to make global changes to all documents from a single location. Style Sheets are said to Cascade when they combine to specify the appearance of a page. 18. How to implement the Cascading Style Sheet in Html? The Style assignment process is accomplished with the <style>...</style> tags. The syntax for making the assignment is simple. The <style> </style> tags are written within the... tags. Syntax: <style type= text/css > tag {attribute:value;attribute:value;attribute:value;} </style> 19. Explain the font attribute in CSS with suitable example. Attributes Values font-family A comma-delimited sequence of font family names (serif, sans serif, cursive) font-style Normal, italic, or oblique font-weight Normal, bold, bolder, lighter, or one of the nine numerical values (100, 200, 300, 400, 500, 600, 700, 800, 900) font-size A term that denotes absolute size (xx-small, x-small, small, medium, large, x- large, xx-large), relative size (larger, smaller), a number(of pixels), percentage (of the parent element s size) 19

20 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " <style type="text/css"> h1 {font-family:arial black;font-style:normal;fontweight:900;font-size:xx-large} h2 {font-family:times new roman;font-style:italic;fontweight:500;font-size:x-small} </style> <h1>welcome to Chettinad College of Engineering and Technology</h1> <h2>department of Computer Science and Engineering</h2> Output: 20

21 20. Explain the Color and Background Attributes with suitable example. Attributes Values color Sets an element s text-color background-color Specifies the color in an element s background background-image Sets the background image background-repeat With a background image specified, sets up how the image repeats throughout the page. Repeat-x (repeats horizontally), repeat-y (repeats vertically), repeat (both), no-repeat <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " <style type="text/css"> body {color:#ff00ff;background-color:#00ff00;backgroundimage:url("file:///c:/documents and settings/administrator/desktop/22.gif");background-repeat:repeat-y} h1 {color:red;background-color:blue:backgroundimage:url("file:///c:/documents and settings/administrator/desktop/22.gif");background-repeat:repeat-x} h2 {color:rgb(0,0,255);backgroundcolor:rgb(aa,bb,cc);background-image:url("file:///c:/documents and settings/administrator/desktop/22.gif");background-repeat:repeat} </style> <h1>welcome to Chettinad College of Engineering and Technology</h1> <h2>department of Computer Science and Engineering</h2> <h3>association of Computer Science and Engineering</h3> 21

22 21. Explain the Text Attributes with suitable examples Attributes Values text-decoration Adds decoration to an element s text None, underline, overline, line-through, blink vertical-align Determines an element s vertical position Baseline, sub, super, top, text-top, middle, bottom, text-bottom, also percentages of the element s height text-transform Applies a transformation to the text Capitalize(puts the text into initial caps), uppercase, lowercase or none text-align Aligns text within an element Left, right, center, or justify text-indent Indents the first line of text A percentage of the element s width, or a length <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " 22

23 <style type="text/css"> h1 h2 h3 {text-decoration:line-through;texttransform:capitalize;text-indent:400} {text-decoration:underline;text-transform:uppercase;textalign:center} {text-decoration:overline;text-transform:lowercase:textalign:right} size {font-size:xx-large} super {vertical-align:super;text-align:center} sub {vertical-align:sub;text-align:center} </style> <h1>welcome to Chettinad College of Engineering and Technology</h1> <h2>department of Computer Science and Engineering</h2> <h3>association of computer science and engineering</h3> <size>(x+y)<super>2</super> = X<super>2</super> + Y<super>2</super> + 2XY</size><br> <size>h<sub>2</sub> + O<sub>2</sub> = 2H<sub>2</sub>O</size> 23

24 Output: 22. Explain the Border Attributes in CSS with suitable example. Attributes Values border-style Solid, double, groove, ridge, inset, outset border-color A color name or color code border-width Thin, medium, think, or length border-top-width Thin, medium, think, or length border-bottom-width Thin, medium, think, or length border-left-width Thin, medium, think, or length border-right-width Thin, medium, think, or length border-top Specifies width, color and style border-bottom Specifies width, color and style border-left Specifies width, color and style border-right Specifies width, color and style border Sets all the properties at once <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " 24

25 <style type="text/css"> img {border-top-width:thin;border-style:double} image1 {border-style:solid} image2 {border-style:double} image3 {border-style:groove} image4 {border-style:ridge} image5 {border-style:inset} image6 {border-style:outset} </style> <img src="file:///c:/documents and settings/administrator/desktop/22.gif"> <image1><img src="file:///c:/documents and settings/administrator/desktop/22.gif"></image1> <image2><img src="file:///c:/documents and settings/administrator/desktop/22.gif"></image2> <image3><img src="file:///c:/documents and settings/administrator/desktop/22.gif"></image3> <image4><img src="file:///c:/documents and settings/administrator/desktop/22.gif"></image4> <image5><img src="file:///c:/documents and settings/administrator/desktop/22.gif"></image5> <image6><img src="file:///c:/documents and settings/administrator/desktop/22.gif"></image6> 25

26 Output: 23. Explain the Margin Attributes with suitable examples Attributes Values margin-top Percent, length or auto margin-bottom Percent, length or auto margin-left Percent, length or auto margin-right Percent, length or auto margin Percent, length or auto <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " <style type="text/css"> body {margin-top:25%;margin-bottom:25%;marginleft:25%;margin-right:25%} </style> 26

27 Welcome to Chettinad College of Engineering and Technology Implementing Normal Attribute Output for the after Implementing Margin Attribute 27

28 24. Explain the List attribute for CSS with suitable example. Attributes Values list-style Disc, circle, square, decimal, lower-roman, upper-roman, lower-alpha, upper-alpha, none <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " <style type="text/css"> ul {list-style:square} ol {list-style:lower-roman} </style> <ul> <li>xhtml <ol> <li>header</li> <li>linking</li> <li>image</li> <li>table</li> </ol> </li> <li>servlets <ol> <li>introduction</li> <li>architecture</li> <li>life Cycle</li> <li>doget() and dopost()</li> </ol> </li> 28

29 <ul> Output: 25. Explain the Cascading style sheet with Class and <span> </span> Tag. The control over page design that style sheet gives is exciting, but can be heavy handed. Its great to be able to change every paragraph, but what if only one paragraph, or a few paragraphs need to be changed? A particular paragraph may need to look different from other paragraphs. It s probably because the content of the paragraph is in some way different from other paragraphs on the page. Think of a question and answer page. Questions in bold, while the answers are in plain text. The appearance of a paragraph is a function of the content of the paragraph. Style sheets support classes or sets of style changes for a document. A class can be defined to change the style in a specific way for any element it is applied to, and classes can be used to identify logical sets of style changes that might be different for different HTML elements. The style changes can be applied directly to each HTML element or applied to part of a document with 29

30 the <span> </span> tags. If any element is made a member of a class by inserting Class = ClassName into its opening tab, it conforms to that class s specification. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " <style type="text/css"> p {font-family:arial black}.question {font-size:x-large}.answer {font-size:medium;font-style:italic}.big {font-size:xx-large;font-weight:900} </style> <p class="question">what is a Computer</p> <p class="answer">computer is a <span class="big">electronic Machine</span></p> Output: 30

31 26. List out the different types of Cascading Style Sheet(CSS). 1. Inline Style Sheet 2. Internal Style Sheet or Embedded Style 3. Multiple Style Sheet 4. External Style Sheet 5. User Style Sheet 27. Explain the External Style Sheets with suitable example. External Style Sheets are composed of standard text, which consists of a series of entries each composed of a selector and a declaration. The selector indicates the HTML element(s) affected by the properties in the declaration. These external style sheets are then saves as a file with extension.css, which can be linked, to a web page via the <link> tag. <link rel = stylesheet href = stylesheet file name > Code for mystyle.css h1 {text-decoration:underline;texttransform:uppercase;text-align:center} h2 {text-decoration:overline;text-transform:lowercase:textalign:right} h3 {text-decoration:line-through;texttransform:capitalize;text-indent:400} size {font-size:xx-large} super {vertical-align:super;text-align:center} sub {vertical-align:sub;text-align:center} Code for the HTML page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " <link rel = stylesheet href = mystyle.css > 31

32 <h1>welcome to Chettinad College of Engineering and Technology</h1> <h2>department of Computer Science and Engineering</h2> <h3>association of computer science and engineering</h3> <size>(x+y)<super>2</super> = X<super>2</super> + Y<super>2</super> + 2XY</size><br> <size>h<sub>2</sub> + O<sub>2</sub> = 2H<sub>2</sub>O</size> Output: 28. Explain the Internal Style Sheet or Embedded Style Sheet with suitable example. The Style assignment process is accomplished with the <style> </style> tags. The syntax for making the assignment is simple. Between the <style> </style> written within the tags. This is called Internal Style Sheet or Embedded Style Sheet. <style typ = text/css > tag {attribute:value;attribute:value;... } 32

33 ... </style> Example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " <style type="text/css"> h1 {font-family:arial black;font-style:normal;fontweight:900;font-size:xx-large} h2 {font-family:times new roman;font-style:italic;fontweight:500;font-size:x-small} </style> <h1>welcome to Chettinad College of Engineering and Technology</h1> <h2>department of Computer Science and Engineering</h2> Output: 33

34 29. Explain the Inline Style Sheet with suitable example. The Style information directly through a HTML tags. This is called Inline Style Sheet. Example: <h1 style = text-align:center>inline Style Sheet</h1> Example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " <title>inline Style Sheets</title> <h1 style=font-family:arial black;font-style:normal;fontweight:900;font-size:xx-large>welcome to Chettinad College of Engineering and Technology</h1> <h2 style=font-family:times new roman;font-style:italic;fontweight:500;font-size:x-small>department of Computer Science and Engineering</h2> Output: 34

35 Code for the HTML page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " <!--External Style Sheet is Imported --> <link rel = stylesheet href = mystyle.css > 30. Explain the Multiple Style Sheet with suitable example Combination of Internal Style Sheet or Embedded Style Sheet, Inline Style Sheet, External Style Sheet and User Style Sheet are the single HTML file. This is called Multiple Style Sheet. Code for mystyle.css <!--This is External Style Sheet--> h1 {text-decoration:underline;texttransform:uppercase;text-align:center} <!--This is Internal Style Sheet or Embedded Style Sheet --> <style type="text/css"> h2 {text-decoration:overline;text-transform:lowercase:textalign:right} <!--This is User Style Sheet --> super {vertical-align:super;text-align:center} sub {vertical-align:sub;text-align:center} </style> <h1>welcome to Chettinad College of Engineering and Technology</h1> <h2>department of Computer Science and Engineering</h2> 35

36 <! -- This is Inline Style Sheet --> <h3 style=text-decoration: line-through; texttransform: capitalize;text-indent:400>association of computer science and engineering</h3> <!--This is the User Style Sheet --> <size>(x+y)<super>2</super> = X<super>2</super> + Y<super>2</super> + 2XY</size><br> <size>h<sub>2</sub> + O<sub>2</sub> = 2H<sub>2</sub>O</size> Output: 31. Explain the User Style Sheet with suitable example Users can define their own user style sheets to format pages bases on their preferences. For example, people with visual impairments may want to increase the page s text size. Webpage authors need to be careful not to inadvertently override user preferences with defined styles. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" " 36

37 <style type="text/css"> <!--This is the User Style Sheet --> super {vertical-align:super;text-align:center} sub {vertical-align:sub;text-align:center} </style> <!--This is the User Style Sheet --> (X+Y)<super>2</super> = X<super>2</super> + Y<super>2</super> + 2XY<br> H<sub>2</sub> + O<sub>2</sub> = 2H<sub>2</sub>O Output: 37

IT350 Web and Internet Programming. XHTML Tables and Forms (from Chapter 4 of the text 4 th edition Chapter 2 of the text 5 th edition)

IT350 Web and Internet Programming. XHTML Tables and Forms (from Chapter 4 of the text 4 th edition Chapter 2 of the text 5 th edition) IT350 Web and Internet Programming XHTML Tables and Forms (from Chapter 4 of the text 4 th edition Chapter 2 of the text 5 th edition) 4.10 Tables 1 Table Basics table element border, summary, caption

More information

Appendix D CSS Properties and Values

Appendix D CSS Properties and Values HTML Appendix D CSS Properties and Values This appendix provides a brief review of Cascading Style Sheets (CSS) concepts and terminology, and lists CSS level 1 and 2 properties and values supported by

More information

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

HTML 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 information

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6 CS 350 COMPUTER/HUMAN INTERACTION Lecture 6 Setting up PPP webpage Log into lab Linux client or into csserver directly Webspace (www_home) should be set up Change directory for CS 350 assignments cp r

More information

COSC 2206 Internet Tools. CSS Cascading Style Sheets

COSC 2206 Internet Tools. CSS Cascading Style Sheets COSC 2206 Internet Tools CSS Cascading Style Sheets 1 W3C CSS Reference The official reference is here www.w3.org/style/css/ 2 W3C CSS Validator You can upload a CSS file and the validator will check it

More information

Advanced HTML Scripting WebGUI Users Conference

Advanced HTML Scripting WebGUI Users Conference Advanced HTML Scripting 2004 WebGUI Users Conference XHTML where did that x come from? XHTML =? Extensible Hypertext Markup Language Combination of HTML and XML More strict than HTML Things to Remember

More information

IMY 110 Theme 6 Cascading Style Sheets

IMY 110 Theme 6 Cascading Style Sheets IMY 110 Theme 6 Cascading Style Sheets 1. Cascading Style Sheets 1.1. Cascading Style Sheets Up to now we have done styling by using the style attribute. e.g. paragraph What

More information

Html basics Course Outline

Html 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 information

3.1 Introduction. 3.2 Levels of Style Sheets. - The CSS1 specification was developed in There are three levels of style sheets

3.1 Introduction. 3.2 Levels of Style Sheets. - The CSS1 specification was developed in There are three levels of style sheets 3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS2.1 reflects browser implementations - CSS3 is partially finished and parts are implemented in current browsers

More information

- The CSS1 specification was developed in CSS2 was released in CSS2.1 reflects browser implementations

- The CSS1 specification was developed in CSS2 was released in CSS2.1 reflects browser implementations 3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS2.1 reflects browser implementations - CSS3 is partially finished and parts are implemented in current browsers

More information

HTML and CSS COURSE SYLLABUS

HTML 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 information

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS MOST TAGS CLASS Divides tags into groups for applying styles 202 ID Identifies a specific tag 201 STYLE Applies a style locally 200 TITLE Adds tool tips to elements 181 Identifies the HTML version

More information

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML & CSS SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML: HyperText Markup Language LaToza Language for describing structure of a document Denotes hierarchy of elements What

More information

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application. Extra notes - Client-side Design and Development Dr Nick Hayward HTML - Basics A brief introduction to some of the basics of HTML. Contents Intro element add some metadata define a base address

More information

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions Text and Layout Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11 This presentation 344 345 Text in Graphics Maximum flexibility obtained by treating text as graphics and manipulating

More information

Study 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 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 information

Introduction to Web Tech and Programming

Introduction to Web Tech and Programming Introduction to Web Tech and Programming Cascading Style Sheets Designed to facilitate separation of content and presentation from a document Allows easy modification of style for an entire page or an

More information

CSS: The Basics CISC 282 September 20, 2014

CSS: The Basics CISC 282 September 20, 2014 CSS: The Basics CISC 282 September 20, 2014 Style Sheets System for defining a document's style Used in many contexts Desktop publishing Markup languages Cascading Style Sheets (CSS) Style sheets for HTML

More information

Introduction to XHTML: Part 2

Introduction to XHTML: Part 2 L Introduction to XHTML: Part 2 Objectives To be able to create tables with rows and columns of data. To be able to control table formatting. To be able to create and use forms. To be able to create and

More information

Deccansoft Software Services

Deccansoft Software Services Deccansoft Software Services (A Microsoft Learning Partner) HTML and CSS COURSE SYLLABUS Module 1: Web Programming Introduction In this module you will learn basic introduction to web development. Module

More information

Advanced Web Programming C2. Basic Web Technologies

Advanced Web Programming C2. Basic Web Technologies Politehnica University of Timisoara Advanced Web Programming C2. Basic Web Technologies 2013 UPT-AC Assoc.Prof.Dr. Dan Pescaru HTML Originally developed by Tim Berners-Lee in 1990 at CERN (Conseil Européen

More information

- The CSS1 specification was developed in CSSs provide the means to control and change presentation of HTML documents

- The CSS1 specification was developed in CSSs provide the means to control and change presentation of HTML documents 3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS3 is on its way - CSSs provide the means to control and change presentation of HTML documents - CSS is not

More information

Summary 4/5. (contains info about the html)

Summary 4/5. (contains info about the html) Summary Tag Info Version Attributes Comment 4/5

More information

Introduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100

Introduction 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 information

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2)

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2) Web Development & Design Foundations with HTML5 Ninth Edition Chapter 3 Configuring Color and Text with CSS Slides in this presentation contain hyperlinks. JAWS users should be able to get a list of links

More information

Indian Institute of Technology Kharagpur. HTML Part III. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T.

Indian Institute of Technology Kharagpur. HTML Part III. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T. Indian Institute of Technology Kharagpur HTML Part III Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T. Kharagpur, INDIA Lecture 15: HTML Part III On completion, the student will be able

More information

HTML/XML. HTML Continued Introduction to CSS

HTML/XML. HTML Continued Introduction to CSS HTML/XML HTML Continued Introduction to CSS Entities Special Characters Symbols such as +, -, %, and & are used frequently. Not all Web browsers display these symbols correctly. HTML uses a little computer

More information

Make 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 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 information

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I INTRODUCTION: UNIT - I HTML stands for Hyper Text Markup Language.HTML is a language for describing web pages.html is a language for describing web pages.html instructions divide the text of a document

More information

Web Engineering CSS. By Assistant Prof Malik M Ali

Web 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 information

CSS CSS how to display to solve a problem External Style Sheets CSS files CSS Syntax

CSS CSS how to display to solve a problem External Style Sheets CSS files CSS Syntax CSS CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style Sheets can save a lot of work External Style Sheets

More information

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson reserved. 0-13-185603-0 HTML HELLO WORLD! Document

More information

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 1/6/2019 12:28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 CATALOG INFORMATION Dept and Nbr: CS 50A Title: WEB DEVELOPMENT 1 Full Title: Web Development 1 Last Reviewed:

More information

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21 Table of Contents Chapter 1 Getting Started with HTML 5 1 Introduction to HTML 5... 2 New API... 2 New Structure... 3 New Markup Elements and Attributes... 3 New Form Elements and Attributes... 4 Geolocation...

More information

3.1 Introduction. 3.2 Levels of Style Sheets. - HTML is primarily concerned with content, rather than style. - There are three levels of style sheets

3.1 Introduction. 3.2 Levels of Style Sheets. - HTML is primarily concerned with content, rather than style. - There are three levels of style sheets 3.1 Introduction - HTML is primarily concerned with content, rather than style - However, tags have presentation properties, for which browsers have default values - The CSS1 cascading style sheet specification

More information

CSC309 Tutorial CSS & XHTML

CSC309 Tutorial CSS & XHTML CSC309 Tutorial CSS & XHTML Lei Jiang January 27, 2003 1 CSS CSC309 Tutorial --CSS & XHTML 2 Sampel XML Document

More information

CSC 121 Computers and Scientific Thinking

CSC 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 information

- HTML is primarily concerned with content, rather than style. - However, tags have presentation properties, for which browsers have default values

- HTML is primarily concerned with content, rather than style. - However, tags have presentation properties, for which browsers have default values 3.1 Introduction - HTML is primarily concerned with content, rather than style - However, tags have presentation properties, for which browsers have default values - The CSS1 cascading style sheet specification

More information

GoSquared Equally Rounded Corners Equally Rounded Corners -webkit-border-radius -moz-border-radius border-radius Box Shadow Box Shadow -webkit-box-shadow x-offset, y-offset, blur, color Webkit Firefox

More information

Introduction to Web Design CSS Reference

Introduction to Web Design CSS Reference Inline Style Syntax: Introduction to Web Design CSS Reference Example: text Internal Style Sheet Syntax: selector {property: value; Example:

More information

Introduction to Web Design CSS Reference

Introduction to Web Design CSS Reference Inline Style Syntax: Introduction to Web Design CSS Reference Example: text Internal Style Sheet Syntax: selector {property: value; Example:

More information

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style precedence and style inheritance Understand the CSS use

More information

CSS Styles Quick Reference Guide

CSS Styles Quick Reference Guide Table 1: CSS Font and Text Properties Font & Text Properties Example(s) font-family Font or typeface font-family: Tahoma font-size Size of the font font-size: 12pt font-weight Normal or bold font-weight:

More information

8a. Cascading Style Sheet

8a. Cascading Style Sheet INFS 2150 Introduction to Web Development 8a. Cascading Style Sheet 1 Objectives Concepts of cascading style sheets (CSS). 3 ways of using CSS: inline styles, embedded styles, and external style sheet.

More information

Reading 2.2 Cascading Style Sheets

Reading 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 information

Index. CSS directive, # (octothorpe), intrapage links, 26

Index. CSS directive, # (octothorpe), intrapage links, 26 Holzschlag_.qxd 3/30/05 9:23 AM Page 299 Symbols @import CSS directive, 114-115 # (octothorpe), intrapage links, 26 A a element, 23, 163, 228 abbr element, 228 absolute keywords for font sizing, 144 absolute

More information

Welcome 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 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 information

HTML & XHTML Tag Quick Reference

HTML & XHTML Tag Quick Reference HTML & XHTML Tag Quick Reference This reference notes some of the most commonly used HTML and XHTML tags. It is not, nor is it intended to be, a comprehensive list of available tags. Details regarding

More information

ICT IGCSE Practical Revision Presentation Web Authoring

ICT IGCSE Practical Revision Presentation Web Authoring 21.1 Web Development Layers 21.2 Create a Web Page Chapter 21: 21.3 Use Stylesheets 21.4 Test and Publish a Website Web Development Layers Presentation Layer Content layer: Behaviour layer Chapter 21:

More information

Web Publishing Basics I

Web Publishing Basics I Web Publishing Basics I Jeff Pankin Information Services and Technology Contents Course Objectives... 2 Creating a Web Page with HTML... 3 What is Dreamweaver?... 3 What is HTML?... 3 What are the basic

More information

Cascade Stylesheets (CSS)

Cascade Stylesheets (CSS) Previous versions: David Benavides and Amador Durán Toro (noviembre 2006) Last revision: Manuel Resinas (october 2007) Tiempo: 2h escuela técnica superior de ingeniería informática Departamento de Lenguajes

More information

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

recall: 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 information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development Objectives INFS 2150 Introduction to Web Development 3. Page Layout Design Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development INFS 2150 Introduction to Web Development 3. Page Layout Design Objectives Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout

More information

LING 408/508: Computational Techniques for Linguists. Lecture 14

LING 408/508: Computational Techniques for Linguists. Lecture 14 LING 408/508: Computational Techniques for Linguists Lecture 14 Administrivia Homework 5 has been graded Last Time: Browsers are powerful Who that John knows does he not like? html + javascript + SVG Client-side

More information

Adding CSS to your HTML

Adding CSS to your HTML Adding CSS to your HTML Lecture 3 CGS 3066 Fall 2016 September 27, 2016 Making your document pretty CSS is used to add presentation to the HTML document. We have seen 3 ways of adding CSS. In this lecture,

More information

ICT IGCSE Practical Revision Presentation Web Authoring

ICT IGCSE Practical Revision Presentation Web Authoring 21.1 Web Development Layers 21.2 Create a Web Page Chapter 21: 21.3 Use Stylesheets 21.4 Test and Publish a Website Web Development Layers Presentation Layer Content layer: Behaviour layer Chapter 21:

More information

BIM222 Internet Programming

BIM222 Internet Programming BIM222 Internet Programming Week 7 Cascading Style Sheets (CSS) Adding Style to your Pages Part II March 20, 2018 Review: What is CSS? CSS stands for Cascading Style Sheets CSS describes how HTML elements

More information

Announcements. Paper due this Wednesday

Announcements. Paper due this Wednesday Announcements Paper due this Wednesday 1 Client and Server Client and server are two terms frequently used Client/Server Model Client/Server model when talking about software Client/Server model when talking

More information

The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data.

The 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 information

CASCADING STYLESHEETS

CASCADING STYLESHEETS CASCADING STYLESHEETS Cascading StyleSheets (CSS) has been mainly created because HTML is just not the right tool for precision and flexibility. HTML is not a very effective for designing web pages. Most

More information

introduction to XHTML

introduction to XHTML introduction to XHTML XHTML stands for Extensible HyperText Markup Language and is based on HTML 4.0, incorporating XML. Due to this fusion the mark up language will remain compatible with existing browsers

More information

Module 2 (VII): CSS [Part 4]

Module 2 (VII): CSS [Part 4] INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module 2 (VII): CSS [Part 4] Dr. El-Sayed El-Alfy Computer Science Department King Fahd University of Petroleum and Minerals

More information

HTML TUTORIAL ONE. Understanding What XHTML is Not

HTML TUTORIAL ONE. Understanding What XHTML is Not HTML TUTORIAL ONE Defining Blended HTML, XHTML and CSS HTML: o Language used to create Web pages o Create code to describe structure of a Web page XHTM: o Variation of HTML o More strictly defines how

More information

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II CHAPTER 1: HTML 1. What is HTML? Define its structure. a. HTML [Hypertext Markup Language] is the main markup language for creating web pages and other information that can be displayed in a web browser.

More information

Cascading Style Sheet Quick Reference

Cascading Style Sheet Quick Reference Computer Technology 8/9 Cascading Style Sheet Quick Reference Properties Properties are listed in alphabetical order. Each property has examples of possible values. Properties are not listed if they are

More information

CSS Cascading Style Sheets

CSS Cascading Style Sheets CSS Cascading Style Sheets site root index.html about.html services.html stylesheet.css images boris.jpg Types of CSS External Internal Inline External CSS An external style sheet is a text document with

More information

Web Design and Development Tutorial 03

Web Design and Development Tutorial 03 Table of Contents Web Design & Development - Tutorial 03... 2 Using and Applying CSS to XHTML... 2 Conventions... 2 What you need for this tutorial... 2 Common Terminology... 3 Parent / Child Elements...

More information

Comp-206 : Introduction to Software Systems Lecture 23. Alexandre Denault Computer Science McGill University Fall 2006

Comp-206 : Introduction to Software Systems Lecture 23. Alexandre Denault Computer Science McGill University Fall 2006 HTML, CSS Comp-206 : Introduction to Software Systems Lecture 23 Alexandre Denault Computer Science McGill University Fall 2006 Course Evaluation - Mercury 22 / 53 41.5% Assignment 3 Artistic Bonus There

More information

ITNP43: HTML Lecture 4

ITNP43: HTML Lecture 4 ITNP43: HTML Lecture 4 Niederst, Part III (3rd edn) 1 Style versus Content HTML purists insist that style should be separate from content and structure HTML was only designed to specify the structure and

More information

Lecture 10. CSS Properties. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

Lecture 10. CSS Properties. Mr. Mubashir Ali Lecturer (Dept. of Computer Science) Lecture 10 CSS Properties Mr. Mubashir Ali Lecturer (Dept. of dr.mubashirali1@gmail.com 1 Summary of the previous lecture CSS basics CSS writing option CSS rules Id,s and Classes 2 Outline Font properties

More information

CS134 Web Site Design & Development. Quiz1

CS134 Web Site Design & Development. Quiz1 CS134 Web Site Design & Development Quiz1 Name: Score: Email: I Multiple Choice Questions (2 points each, total 20 points) 1. Which of the following is an example of an IP address? a. www.whitehouse.gov

More information

Final Exam Study Guide

Final Exam Study Guide Final Exam Study Guide 1. What does HTML stand for? 2. Which file extension is used with standard web pages? a..doc b..xhtml c..txt d..html 3. Which is not part of an XHTML element? a. Anchor b. Start

More information

INFS 2150 / 7150 Intro to Web Development / HTML Programming

INFS 2150 / 7150 Intro to Web Development / HTML Programming XP Objectives INFS 2150 / 7150 Intro to Web Development / HTML Programming Designing a Web Page with Tables Create a text table Create a table using the , , and tags Create table headers

More information

CSS مفاهیم ساختار و اصول استفاده و به کارگیری

CSS مفاهیم ساختار و اصول استفاده و به کارگیری CSS مفاهیم ساختار و اصول استفاده و به کارگیری Cascading Style Sheets A Cascading Style Sheet (CSS) describes the appearance of an HTML page in a separate document : مسایای استفاده از CSS It lets you separate

More information

Chapter 1 Self Test. LATIHAN BAB 1. tjetjeprb{at}gmail{dot}com. webdesign/favorites.html :// / / / that houses that information. structure?

Chapter 1 Self Test. LATIHAN BAB 1. tjetjeprb{at}gmail{dot}com. webdesign/favorites.html :// / / / that houses that information. structure? LATIHAN BAB 1 Chapter 1 Self Test 1. What is a web browser? 2. What does HTML stand for? 3. Identify the various parts of the following URL: http://www.mcgrawhill.com/books/ webdesign/favorites.html ://

More information

Introduction to using HTML to design webpages

Introduction 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 information

HTTP and HTML. We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms.

HTTP and HTML. We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms. HTTP and HTML We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms. HTTP and HTML 28 January 2008 1 When the browser and the server

More information

A Balanced Introduction to Computer Science, 3/E

A Balanced Introduction to Computer Science, 3/E A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN 978-0-13-216675-1 Chapter 2 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is

More information

Tutorial 3: Working with Cascading Style Sheets

Tutorial 3: Working with Cascading Style Sheets Tutorial 3: Working with Cascading Style Sheets College of Computing & Information Technology King Abdulaziz University CPCS-665 Internet Technology Objectives Review the history and concepts of CSS Explore

More information

CSS is applied to an existing HTML web document--both working in tandem to display web pages.

CSS is applied to an existing HTML web document--both working in tandem to display web pages. CSS Intro Introduction to Cascading Style Sheets What is CSS? CSS (Cascading Style Sheets) is a supplementary extension to allowing web designers to style specific elements on their pages and throughout

More information

Programmazione Web a.a. 2017/2018 HTML5

Programmazione 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 information

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0 CSI 3140 WWW Structures, Techniques and Standards Markup Languages: XHTML 1.0 HTML Hello World! Document Type Declaration Document Instance Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson

More information

UNIVERSITI TEKNOLOGI MALAYSIA TEST 1 SEMESTER II 2012/2013

UNIVERSITI TEKNOLOGI MALAYSIA TEST 1 SEMESTER II 2012/2013 UNIVERSITI TEKNOLOGI MALAYSIA TEST 1 SEMESTER II 2012/2013 SUBJECT CODE : SCSV1223 (Section 05) SUBJECT NAME : WEB PROGRAMMING YEAR/COURSE : 1SCSV TIME : 2.00 4.00 PM DATE : 18 APRIL 2013 VENUE : KPU 10

More information

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab.

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab. Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 5049 Advanced Internet Technology Lab Lab # 1 Eng. Haneen El-masry February, 2015 Objective To be familiar with

More information

Unit 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 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 information

Networks and Web for Health Informatics (HINF 6220) Tutorial 8 : CSS. 8 Oct 2015

Networks and Web for Health Informatics (HINF 6220) Tutorial 8 : CSS. 8 Oct 2015 Networks and Web for Health Informatics (HINF 6220) Tutorial 8 : CSS 8 Oct 2015 What is CSS? o CSS (Style Sheet) defines how HTML elements are formatted and displayed. o It helps you easily change an HTML

More information

CSS Selectors. element selectors. .class selectors. #id selectors

CSS Selectors. element selectors. .class selectors. #id selectors CSS Selectors Patterns used to select elements to style. CSS selectors refer either to a class, an id, an HTML element, or some combination thereof, followed by a list of styling declarations. Selectors

More information

Chapter 5. Introduction to XHTML: Part 2

Chapter 5. Introduction to XHTML: Part 2 Chapter 5. Introduction to XHTML: Part 2 Tables Attributes of the table element: border: width of the table border in pixels (0 makes all lines invisible) align: horizontal alignment (left, center, or

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development INFS 2150 Introduction to Web Development 6. Tables and Columns Objectives Explore the structure of a web table Create table heading and data cells Apply CSS styles to a table Create cells that span multiple

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development INFS 2150 Introduction to Web Development 6. Tables and Columns Objectives Explore the structure of a web table Create table heading and data cells Apply CSS styles to a table Create cells that span multiple

More information

Outline. Link HTML With Style Sheets &6&7XWRULDO &66 ;+70/ (GZDUG;LD

Outline. Link HTML With Style Sheets &6&7XWRULDO &66 ;+70/ (GZDUG;LD &6&7XWRULDO &66 ;+70/ (GZDUG;LD Outline CSS Link XHTML With Style Sheets, Class/ID selectors, Pseudo-class/element, Color values, Length units, Text, Font, Lists, Padding/border/margin, Floating/clearing,

More information

1 of 7 11/12/2009 9:29 AM

1 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 information

USER GUIDE MADCAP FLARE Tables

USER GUIDE MADCAP FLARE Tables USER GUIDE MADCAP FLARE 2018 Tables Copyright 2018 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software described in this document is furnished

More information

DAY 4. Coding External Style Sheets

DAY 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 information

Introduction to WEB PROGRAMMING

Introduction 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 information

INFORMATICA GENERALE 2014/2015 LINGUAGGI DI MARKUP CSS

INFORMATICA GENERALE 2014/2015 LINGUAGGI DI MARKUP CSS INFORMATICA GENERALE 2014/2015 LINGUAGGI DI MARKUP CSS cristina gena dipartimento di informatica cgena@di.unito.it http://www.di.unito.it/~cgena/ materiale e info sul corso http://www.di.unito.it/~cgena/teaching.html

More information

Fundamentals of Web Programming a

Fundamentals of Web Programming a Fundamentals of Web Programming a Cascading Style Sheets Teodor Rus rus@cs.uiowa.edu The University of Iowa, Department of Computer Science a Copyright 2009 Teodor Rus. These slides have been developed

More information

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1 Introduction Chapter 1: Structuring Documents for the Web 1 A Web of Structured Documents 1 Introducing HTML and XHTML 2 Tags and Elements 4 Separating Heads from Bodies 5 Attributes Tell Us About Elements

More information