nt 2670 week 2 assignment 1

6
Davonte Brown Unit 2 assignment 1 ITT Technical Institute 3825 West Cheyenne Avenue, Suite 600 North Las Vegas, Nevada 89032 NT2670 E-Mail and Web Services Week 2, Unit 2 Assignment 1 Unit 2 Assignment 1: Identifying HTML Tags Course Objectives and Learning Outcomes In this assignment, you will identify HTML tags. Assignment Requirements Evaluate the following scenario: In order to test your IIS server implementation you decide to create a test web site using HTML. Your Senior Administrator suggests you familiarize yourself with some basic HTML tags before you begin. Using the links below and Internet research, list the usage for each of the HTML tags in the table below. Tag Usage <html> </html> The <html> tag tells the browser that this is an HTML document. The <html> tag represents the root of an HTML document. The <html> tag is the container for all other HTML elements <body> </body> The <body> tag defines the document's body. The <body> element contains all the contents of an HTML document, such as text,

Upload: mahlikbrown

Post on 27-Dec-2015

792 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Nt 2670 Week 2 Assignment 1

Davonte Brown Unit 2 assignment 1

ITT Technical Institute3825 West Cheyenne Avenue, Suite 600

North Las Vegas, Nevada 89032

NT2670 E-Mail and Web Services

Week 2, Unit 2 Assignment 1

Unit 2 Assignment 1: Identifying HTML Tags

Course Objectives and Learning OutcomesIn this assignment, you will identify HTML tags.

Assignment RequirementsEvaluate the following scenario:

In order to test your IIS server implementation you decide to create a test web site using HTML. Your Senior Administrator suggests you familiarize yourself with some basic HTML tags before you begin. Using the links below and Internet research, list the usage for each of the HTML tags in the table below.

Tag Usage

<html> </html> The <html> tag tells the browser that this is

an HTML document.

The <html> tag represents the root of an

HTML document.

The <html> tag is the container for all other

HTML elements

<body> </body> The <body> tag defines the document's body.

The <body> element contains all the contents

of an HTML document, such as text,

hyperlinks, images, tables, lists, etc.

<b> </b> The <b> tag specifies bold text.

<p></p>  The <p> tag defines a paragraph.

Browsers automatically add some space

Page 2: Nt 2670 Week 2 Assignment 1

Davonte Brown Unit 2 assignment 1

(margin) before and after each <p> element.

The margins can be modified with CSS (with

the margin properties).

<I></I>  The <I> tag defines a part of text in an alternate voice or mood. The content of the <I> tag is usually displayed in italic.

The <I> tag can be used to indicate a technical term, a phrase from another language, a thought, or a ship name, etc.

Use the <I> element only when there is not a more appropriate semantic element, such as:

<me> (emphasized text)

<strong> (important text)

<mark> (marked/highlighted text)

<cite> (the title of a work)

<den> (a definition term)

<bra>  The <bra> tag inserts a single line break. 

The <bra> tag is an empty tag which means

that it has no end tag.

<body bicolor=> The bicolor attribute specifies the background color of a document.

<h1></h1>  The <h1> to <h6> tags are used to define

HTML headings.

<h1> defines the most important heading.

<h6> defines the least important heading.

<h6></h6>  The <h1> to <h6> tags are used to define

Page 3: Nt 2670 Week 2 Assignment 1

Davonte Brown Unit 2 assignment 1

HTML headings.

<h1> defines the most important heading.

<h6> defines the least important heading.

<imp sec="name">  Aligns an image: "left", "right", "center"; "bottom", "top", "middle"

<a her="URL"></a>  Creates a hyperlink. If you use the full address, i.e., "http://www.name.com", it is an absolute link. If you use ".../index.htm", it is a relative link -- it is in the same file system. Use".../" to indicate "one folder up"

<a her="URL"><imp sec="URL"> <a> Creates an image/link ... <imp sec="name" border="1"> Sets size of border around an image.

<p align=>  This is some text in a paragraph. </p>. Try it Yourself » ... and Usage. The align attribute specifies the alignment of the text within a paragraph.

http://www.w3schools.com/tags/tag_html.aspQuestions:

1. What would be the syntax for printing “Hello World” in bold and italics?2. How would you set the background color of your page to black?3. How would you center the text “Hello World” on your page?4. How would you make the image C:\Images\MyImage.jpg appears on your page?

Suggested Resources:W3Schools HTML Tutorial - http://www.w3schools.com/html/default.asp Webmonkey.com HTML Cheat Sheet - http://www.webmonkey.com/2010/02/html_cheatsheet/Required ResourcesInternet access

Submission RequirementsSubmit the completed table.

Answer the questions in a 1-page Microsoft Word document; double-spaced; 12-pt. Times New Roman font. Include a cover page and Cite all sources used.

Ok here we go you want to know how you can type hello world in bold. In this essay I’ll be

explaining that to do that CSS needs to be placed in one of three places. These are from OK, to

Page 4: Nt 2670 Week 2 Assignment 1

Davonte Brown Unit 2 assignment 1

better to best: OK: In a style="" attribute on the tag you want to style.

Better: In an embedded style-sheet in the head tag of your web-page.

Best: In an external style-sheet, linked to using a link tag in the head tag of your web-page.

Setting the background color in HTML is not done through its own tag. Instead, it's done by

setting an attribute in another tag, such as the body tag or a table or row tag. Color adds great

appeal and readability. You create a file and put special character sequences called HTML

elements into your file. These elements identify the structural parts of your document. When a

Web browser displays the file, it will display your file's content, but not the characters that make

up the structure. The imp stands for image. The sec stands for source. The source of the image is

going to be the Web address of the image. Most often, you will be able to just type the filename

of the image here, like this: <imp sec="image.gif" /> the filename does not have to end with .gif.

You could also use a .jpg file as well. These are two of the most common image file extensions

used on the Internet. If you have images in other file formats, you will probably want to convert

them to .gif or .jpg. This can be done with most image editing programs. A commonly used

program is Paint Shop Pro, which is available as shareware from JASC. That was my essay hope

you learned something new.

Read more: http://www.ehow.com/how_2091624_set-background-color-html.html

https://uk.answers.yahoo.com/question/index?qid=20100225165346AAPOTMY

http://www.pageresource.com/html/image1.htm

Page 5: Nt 2670 Week 2 Assignment 1

Davonte Brown Unit 2 assignment 1