Preview

Tutorial 2

Satisfactory Essays
Open Document
Open Document
493 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Tutorial 2
1. Sketch out and briefly describe the web page that will be created with the following HTML code.
<!DOCTYPE html>
<html lang=”en”>
<head>
<title>Predict the Result</title>
<meta charset=”utf-8”>
</head>
<body>
<code>
#include <stdio.h> <br> #include <sys/types.h> <br> #include <sys/socket.h> <br><br>

Main(int argc, char *argv[])<br> {<br> char mess[80]; <br> printf(“This is a demo..”);<br> }<br>
</code><br>
</body>
</html>
Output

<html lang=”en”> this line of code is used to declare the language of a Web page. en representing english

<head>
The head element is a container for meta data. The meta data used in the code above is <title>/
<meta charset=”utf-8”>
Specify the character encoding for the HTML document:
<title>
The <title> tag is required in all the HTML documents, where is defines the title of the documents. In the code above, it will display Predict the result as the title of the document.
<body>
The <body> tag defines the document's body. It will display out all the code or text of the documents.

<Code>
The <Code> tag is a phrase tag. It defines a piece of computer code. The computer code consists of declaration of header, main of the coding, and display the output of the coding.

<br>
The <br> tag has been used at the end of the sentence. It is used for line break purpose.

2. The web page defined by the given code should display a heading and a description list, but some HTML tags, indicated by <_>, are missing. Fill in the missing code and sketch the output web page.
<!DOCTYPE html>
<html lang=”en”>
<head>
<title>Door County Wild Flowers</title>
<meta charset=”utf-8”>
</head>
<body> <h1>Door County Wild Flowers</h1> <dl> <dt>Trillium</dt> <dd>This white flower blooms from April through June in wood areas.</dd> <dt>Lady Slipper</dt> <dd>This yellow orchid blooms in June in wood areas.</dd> </dl>
</body>
</html>

3. Explain what will go wrong with the web page defined by the code given below and

You May Also Find These Documents Helpful

  • Powerful Essays

    This document is a functional document set for that web design project. It follows the…

    • 3806 Words
    • 14 Pages
    Powerful Essays
  • Satisfactory Essays

    The header tag represents a group of introductory or navigational aids. A header tag is intended to usually contain the section’s heading , but this is not required. The header tag can also be used to wrap a section’s table of contents, a search form, or any relevant logos.…

    • 235 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Nt1310 Final Exam

    • 746 Words
    • 3 Pages

    The ____ code sets the style so that the Web page element remains constant and does not move.…

    • 746 Words
    • 3 Pages
    Good Essays
  • Good Essays

    HTML is currently in its fifth revision or HTML53. With HTML5 a standard is set for how to display the web page; where pictures are displayed, fonts used for text and total layout of the page. XML (extensible markup language) is used for web documents. CCS (cascading style sheet) is written into the HTML document or attached as a file to define the appearance of the displayed page.…

    • 897 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Notes and Terms

    • 2288 Words
    • 10 Pages

    3. What tool is used to create web page, what are the steps to create web pages?…

    • 2288 Words
    • 10 Pages
    Good Essays
  • Satisfactory Essays

    Meta tags are information inserted in the head areas of Web pages (SearchEngineWatch, 2007). tags can be read by search engines, but cannot be seen by the viewers of the pages they are in. They are put in between the tags in the HTML of a Web page. tags have a few functions such as using “description” to give a synopsis of the site or “keyword” to feed crawlers from search engines. tags are used to help gain more traffic on your web page. The more keywords you use the better chance of more viewers you have.…

    • 370 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It is a tool that you can use to eliminate repetitive types of information on your web pages. It is a file the server includes in a web page before sending it out to a browser. It uses headers, navigation panels, and footers. It’s useful because you only need to change one file and every web page using that element picks up the update.…

    • 411 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Petrie Electronics Week5

    • 385 Words
    • 2 Pages

    Question 5: Describe how the use of template-based HTML might be leveraged in the design of the “No Customer Escapes” system.…

    • 385 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Design Elements & Principles

    • 2670 Words
    • 11 Pages

    Even though not comprehensive and elaborated, the design elements and principles described here can be an analyzing frame for web page design. They can inform us where to begin, what to probe, and how to analyze. For example designer who knows the design elements and principles can analyze the page in terms of line, color, movements, balance, harmony, and so forth, while others are just thinking that it is appealing for them or not. 1…

    • 2670 Words
    • 11 Pages
    Powerful Essays
  • Satisfactory Essays

    Submitted as partial fulfillment of the requirements for the course CS102-1L / Web Design Principles Laboratory, is our own unaided work and not copied from nor written in any collaboration with other person, internet or institution, and has not been formerly submitted to other university / institution as program requirement. Otherwise, we humbly accept a grade of 5.0 in this laboratory project.…

    • 377 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    e commerce allprograms 1

    • 11580 Words
    • 90 Pages

    1-A) Create a program in HTML to insert an image m (he webpage and that image should act us…

    • 11580 Words
    • 90 Pages
    Good Essays
  • Powerful Essays

    Php Lecture Notes

    • 18906 Words
    • 76 Pages

    This tutorial is designed for students in Web Development classes at Pentecost University College. It assumes that the student already has familiarity with the eXtensible Hypertext Markup Language (XHTML), basic programming skills, and with the rudiments of database design and Structured Query Language (SQL). Example scripts run under PHP 5, Apache 2 or IIS 6.0, and Microsoft Windows 2003 Server. XHTML output displays properly under current versions of Microsoft Internet Explorer or Mozilla Firefox.…

    • 18906 Words
    • 76 Pages
    Powerful Essays
  • Satisfactory Essays

    Sample CV Prep

    • 439 Words
    • 2 Pages

    10· The project required me to design and construct a webpage utilizing my strong focused knowledge of HTML, CSS, Javascript, jQuery and PHP technologies.…

    • 439 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Web Development Css

    • 3319 Words
    • 14 Pages

    When tags like , and color attributes were added to the HTML 3.2 specification, it started a…

    • 3319 Words
    • 14 Pages
    Powerful Essays
  • Good Essays

    Term Paper

    • 587 Words
    • 3 Pages

    Students. They can use to have an effective and easy to access tool of learning. This Hypertext Mark-up Language will also enhance their interest to learn more in this application. It will encourage them boost their talent in designing a web page.…

    • 587 Words
    • 3 Pages
    Good Essays

Related Topics