Question

Creating the Home and Template Pages Overview In this assignment, you will start building your Web...

Creating the Home and Template Pages

Overview

In this assignment, you will start building your Web site for your fictional organization by creating a homepage using HTML5 and some of the key elements that define a Web page. You are required to use either a simple text editor to write your code, or an enhanced text editor such as Brackets.

Note: Microsoft Word is not a good tool for developing code because it is a document processor and not a text editor as it adds other formatting to the background code.

Once you have built your homepage, you will have a better idea of the consistent elements that you will need across all of your pages. Typically, Web pages have some aspects that will be the same from page to page so that a user does not need to relearn how to navigate a Web site. These components typically include the header (consists of the logo and organization name), main navigation (consists of the main pages or categories of the page), main content area (where the bulk of the information about the page is located), and the footer (consists of secondary navigation, address, copyright information, et cetera).

The creation and reuse of these common elements is where templates become invaluable. By simply duplicating the template file, you can quickly create all of your pages leaving only content to add to finish off each of the pages. As you are creating your homepage, you will want to be cognizant of the fact that you will be using it to create your template file.

Once completed, you will publish your pages with a Web host of your choosing.

Note: The Web host that you choose must use PHP.

Expectations

The code that you use to create your page (and during this course in general) should conform to the following expectations:

  • Pages should render properly in at least two of the following browsers: Chrome, Firefox, Edge, and Safari.
  • Code should use all of the tags specified in the directions.
  • Code should be verified to be error free, well documented with comments, and appropriately constructed.

Hint: Consider creating a mock-up or wireframe that depicts the precise layout of your homepage. It will act as a useful guide as you develop your site.

Note: This course requires to you to use a text editor to complete your work. There are many free open source options on the Internet from which you may choose. One such tool is Brackets. It can be freely downloaded from the Brackets Web site.

Directions

Using a text editor, create an HTML5-compliant homepage with a file name of index.htm. The page should include the following page sections:

  • Header: Include the organization name and logo.
  • Navigation: Include links to all site pages (including the homepage).
  • Content: This section will later be customized for each of the site pages. For the homepage, it should, at a minimum, consist of information that introduces the organization.
  • Footer: Include secondary navigation, copyright notice, or other text of your choosing.

Be sure to:

  • Include the following tags in the code: title, article, section, head, header, html, body, footer, nav, and doctype.
  • Make sure to include developer comments for each page section to explain or describe the coding.
  • Include a comment block at the top of each of your Web pages with your name, the date, the file name, and a short blurb about what the page will consist of.

Save a copy of the homepage and name it template.html. Remove the content that you placed in the "Content” section. This file will serve as a template to be used later to create the other four pages of your site.

Make sure to do the following:

  • Submit error-free HTML5 code.
  • Create a Web page that demonstrates the accurate use of specified HTML5 tags.
  • Create Web page elements that accurately reflect design requirements.
  • Write developer comments to describe and explain code.

Once completed, view your pages in your selected Web browsers to see if the content renders appropriately and consistently within each. Next, ensure that your HTML code is HTML5 compliant. You may use the Markup Validation Service from W3C for testing this. Important: Take a screen capture of your validation results and save it for submission.

Note:Errors from the validation should be fixed. However, warnings do not need to be fixed but should be reviewed. Fix the issues from the top down as one error can cascade into 20 other errors.

Hint: If you are using Brackets as your enhanced text editor, there is a live preview feature that will allow you to see the results of your code as you enter it in. This will help you to quickly identify if you may be missing a closing tag or an attribute.

Submission Requirements

Submit your work in the courseroom using a single zip file containing the following:

  • index.html.
  • template.html.
  • image_and_url.doc. Include a Word document with:
    • URLs for each of your pages.
    • Names of the browsers you used to view the pages.
    • Pasted image from your validation screen capture.
  • Any ancillary files such as graphic or photos you may have decided to include.

Upload your Web site files to a hosting service of your choice. Two free sites to consider are Freehosting.com and 2FreeHosting.com.

Note: If you are uncertain on how to upload your files to a Web host, you can find assistance in the resources given in this unit's studies.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.

#index.html

<!-- name,date -->

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<title>CompanyName</title><!--companyname-->

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="icon" href="http://example.com/logo.png"> <!--logo-->

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">

</head>

<style>

article{

margin: 20px 20px 30px 40px;

}

footer{

float:right;

margin-right: 12px;

}

</style>

<body>

<nav class="navbar navbar-expand-sm bg-dark navbar-dark" > <!--navigation to other pages-->

<div class="collapse navbar-collapse" id="collapsibleNavbar">

<ul class="navbar-nav">

<li class="nav-item">

<a class="nav-link" href="index.htm">Home</a>

</li>

<li class="nav-item">

<a class="nav-link" href="About.html">About</a>

</li>

<li class="nav-item">

<a class="nav-link" href="contact.html">Contact</a>

</li>

</ul>

</div>

</nav>

<!--content-->

<article>

<h1>Home</h1>

<h2>Content:</h2>

<p>hello this is content about the company..add content</p>

</article>

<footer>

<p>licenced by <b>Name</b></p>

</footer>

</body>

</html>

#About.html

<!-- name,date -->

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<title>CompanyName</title><!--companyname-->

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="icon" href="http://example.com/logo.png"> <!--logo-->

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">

</head>

<style>

article{

margin: 20px 20px 30px 40px;

}

footer{

float:right;

margin-right: 12px;

}

</style>

<body>

<nav class="navbar navbar-expand-sm bg-dark navbar-dark" > <!--navigation to other pages-->

<div class="collapse navbar-collapse" id="collapsibleNavbar">

<ul class="navbar-nav">

<li class="nav-item">

<a class="nav-link" href="index.htm">Home</a>

</li>

<li class="nav-item">

<a class="nav-link" href="About.html">About</a>

</li>

<li class="nav-item">

<a class="nav-link" href="contact.html">Contact</a>

</li>

</ul>

</div>

</nav>

<!--content-->

<article>

<h1>About</h1>

<h2>About Content:</h2>

<p>hello this is content about the company..add content</p>

</article>

<footer>

<p>licenced by <b>Name</b></p>

</footer>

</body>

</html>

#contact.html

<!-- name,date -->

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<title>CompanyName</title><!--companyname-->

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="icon" href="http://example.com/logo.png"> <!--logo-->

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">

</head>

<style>

article{

margin: 20px 20px 30px 40px;

}

footer{

float:right;

margin-right: 12px;

}

</style>

<body>

<nav class="navbar navbar-expand-sm bg-dark navbar-dark" > <!--navigation to other pages-->

<div class="collapse navbar-collapse" id="collapsibleNavbar">

<ul class="navbar-nav">

<li class="nav-item">

<a class="nav-link" href="index.htm">Home</a>

</li>

<li class="nav-item">

<a class="nav-link" href="About.html">About</a>

</li>

<li class="nav-item">

<a class="nav-link" href="contact.html">Contact</a>

</li>

</ul>

</div>

</nav>

<!--content-->

<article>

<h1>contact</h1>

<h2>Content:</h2>

<p>hello this is content about how to contact</p>

</article>

<footer>

<p>licenced by <b>Name</b></p>

</footer>

</body>

</html>

#template.html

<!-- name,date -->

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<title>CompanyName</title><!--companyname-->

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="icon" href="http://example.com/logo.png"> <!--logo-->

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">

</head>

<style>

article{

margin: 20px 20px 30px 40px;

}

footer{

float:right;

margin-right: 12px;

}

</style>

<body>

<nav class="navbar navbar-expand-sm bg-dark navbar-dark" > <!--navigation to other pages-->

<div class="collapse navbar-collapse" id="collapsibleNavbar">

<ul class="navbar-nav">

<li class="nav-item">

<a class="nav-link" href="index.html">Home</a>

</li>

<li class="nav-item">

<a class="nav-link" href="About.html">About</a>

</li>

<li class="nav-item">

<a class="nav-link" href="contact.html">Contact</a>

</li>

</ul>

</div>

</nav>

<footer>

<p>licenced by <b>Name</b></p>

</footer>

</body>

</html>

* if the perspective is about including different html files by using PHP

#Header.php

<?php echo"

<!-- name,date -->

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<title>CompanyName</title><!--companyname-->

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="icon" href="http://example.com/logo.png"> <!--logo-->

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">

</head>

<style>

article{

margin: 20px 20px 30px 40px;

}

footer{

float:right;

margin-right: 12px;

}

</style>

<body>

<nav class="navbar navbar-expand-sm bg-dark navbar-dark" > <!--navigation to other pages-->

<div class="collapse navbar-collapse" id="collapsibleNavbar">

<ul class="navbar-nav">

<li class="nav-item">

<a class="nav-link" href="#">Home</a>

</li>

<li class="nav-item">

<a class="nav-link" href="#">About</a>

</li>

<li class="nav-item">

<a class="nav-link" href="#">Contact</a>

</li>

</ul>

</div>

</nav>

";

?>

#Footer.php

<?php

echo "

<footer>

<p>licenced by <b>Name</b></p>

</footer>

</body>

</html>

";

?>

#home.php

<?

include('header.php');

?>

<!--content-->

<article>

<h2>Content:</h2>

<p>hello this is content about the company..add content</p>

</article>

<? include('Footer.php');?>

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
Creating the Home and Template Pages Overview In this assignment, you will start building your Web...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Create a website on a topic of your choosing. Site should include the following: Design: Site...

    Create a website on a topic of your choosing. Site should include the following: Design: Site Map (Task 7) Page-layout for each page (Task 8) Homepage . . o Title o Navigation Links o Footer o Minimum of 1 graphic 4 additional pages that are linked to home page o o o Navigation Links (link back to homepage) Minimum of 1 graphic per page Footer (matching homepage) CSS should be used for formatting visual aspects of site. Use either external...

  • Design an original, professional web site following the specifications listed below. This web sit...

    Design an original, professional web site following the specifications listed below. This web site will be for a business you plan to set up for yourself or for someone else. The following is a detailed list of the requirements for your web site. READ them carefully. Instructions - Web Site Requirements for the web site: General: You will thoroughly test all your pages in more than one browser. All links MUST work. All graphics must show on the page. All...

  • Perform all of the following steps using Notepad to complete this assignment: 1) Begin by creating...

    Perform all of the following steps using Notepad to complete this assignment: 1) Begin by creating a new file in your text editor and include all of the basic HTML code like you did in your previous assignments. Or you can simply make a copy of your HTML file from last week and name the new copy LastFirstAssignment7.html (where “Last” is your last name and “First” is your first name), but be careful not to overwrite your file from last...

  • JUDY'S HTML TUTORIAL MENU CREATING YOUR FIRST WEB PAGE The best way to make a web...

    JUDY'S HTML TUTORIAL MENU CREATING YOUR FIRST WEB PAGE The best way to make a web page is to just dive right in. Open Notepad. To open notepad in Windows, click the windows icon in the lower left corner of the screen and then type "notepad." Notepad is a text editor. Other text editors you may consider are TextPad, Sublime Text, or NotePad++. Do not use Word or WordPad; they are word processors. If you are using an Apple computer...

  • C# Web Application, using ASP.Net Web Forms Site template. Please include any and all code for...

    C# Web Application, using ASP.Net Web Forms Site template. Please include any and all code for any and all files necessary for the program to run correctly! 7. Create a Web application that enables the user to enter first name, last name, and e-mail address. Accept those values and store them in a text file. Allow the user to input the path where the file should be stored. After retrieving the values from the user, display on the web page...

  • For milestone #1, we will start the CARIT site with three static HTML pages and a...

    For milestone #1, we will start the CARIT site with three static HTML pages and a CSS file. Create a dedicated folder for this project. This folder should contain all related files in this project. The future milestones are cumulative and built directly on top of your prior work. Function/content requirements: A home page named “index.html”, which include these contents at least: Description of the center. You may reference the example sites. Latest news: use list tags; make up some...

  • You are planning to build a Web Site for a fictitious local organization or charity. The...

    You are planning to build a Web Site for a fictitious local organization or charity. The website should allow the visitor to subscribe to a newsletter (simulated), present past newsletters, and view images related to the organization or efforts. You need to complete the entire design phase and then implement the Web application. Please create the Word document and answer the following questions: Identify the goal of the website: Who are the end users? Why do you need to have...

  • Chapter 8 Exercise: Create a web page about the next place you would like to visit....

    Chapter 8 Exercise: Create a web page about the next place you would like to visit. Save the files as nextstop.html and nextstop.css. Include the follow­ing HTML5 elements: header, nav, main, figure, figcaption, article, and footer. Config­ure the text, color, and layout with CSS. Make sure you apply components of responsive web design to ensure it displays well on both desktop and smartphone browsers. Hint: Add the viewport meta tag, configure flexible images, and edit the CSS to configure a...

  • Case Project 1: Popular Web Browsers in the Marketplace - at least 2 pages of content...

    Case Project 1: Popular Web Browsers in the Marketplace - at least 2 pages of content Define Web browsers. Conduct research using hard copy or electronic sources to learn about the leading Web browser applications available in the marketplace today. Quoting credible sources, name four of the most well-known Web browsers and explain why these are the most popular. Include the costs of these four and any limits to installation such as compatibility. Include when these were first introduced into...

  • implement a program that reads a word and opens one of the following web pages based...

    implement a program that reads a word and opens one of the following web pages based on the word provided: (name it file 1.html) Word                Site Twitter              twitter web site Facebook         Facebook web site yahoo               yahoo web site If the provided word is not part of the above table, your program will open a page called error.html. The error.html page is a page you will define that will display the message "We cannot process your request". Use...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT