Question

In: Computer Science

1.Briefly describe the traditional connection process for getting and displaying an HTML page. 2.Which of these...

1.Briefly describe the traditional connection process for getting and displaying an HTML page.

2.Which of these statements is most correct?(please give some reasons)

a) Browsers create a link with the server for displaying images

b) Browser provides an environment for displaying HTML and running JS

c) Browsers allow a page to have style and layout

d) Browsers provide an environment for running JS and displaying CSS

3. HTML uses ________ to create areas that obey display criteria and can further define that    behaviour through ________(please give some reasons)

a) Elements / Attributes

b) CSS / JavaScript

c) Elements / JavaScript

d) Attributes / CSS

4.HTML contains two major sections in HEAD and BODY. Briefly describe the purpose of each section and give an example of a tag you would expect to find in each.

5.Within the provided body tags replicate the provided text with the necessary HTML to mimic the visual appearance. Your HTML should follow strict tag guidelines

Formatting in HTML

• Sometimes in HTML you need to use bold text

• Sometimes in HTML you need to use italic text

• Sometimes in HTML you need to use both

6.The div and span tags are the two primary element tags for sectioning an HTML document. What is the primary difference between the two attributes?

Solutions

Expert Solution

1.

The internet is a network which helps to get and display an HTML page. This connection helps to display a HTML page in a web browser through HTTP. The Hypertext Transfer Protocol (TTP) is an application protocol for distributed information systems. It is used for data communication for the World Wide Web (WWW).

HTTP have request and response protocol functions in the client-server computing model. If the client submits an HTTP request to the server, then the server will respond and provides the resources such as HTML files.

Thus, this connection process helps for getting and displaying an HTML page.

2.

The browser provides an environment to display an HTML page and the browser can run the JavaScripts code.

The HTML page can be opened using the browser. The Hypertext Markup Language is the standard markup language which is used to design the documents and display in a web browser.

The javascript is a scripting language which is used to run the functions in the client machine in the web browser.

Hence, option b is a correct answer.

3.

HTML uses Elements to display a text, buttons, style, scripts, checkboxes, images, tables etc. All these HTML elements have display criteria so that it creates area in the web page and display the text/ buttons/frames/graphics etc.

An attribute is a characteristic of a page element, such as font size, bold etc. When a web browser interprets an HTML tag it will also check the attributes to display the web page elements properly.

Hence, the option (a) is correct.

4.

The HEAD section contains information related to the document. It contains other tag elements such as TITLE, META, LINK, STYLE, etc. Every tag is used for the different purpose. The HEAD section purpose is used to link the CSS style sheets, styles, Javascript files, script tags, web page ico, title of the page, adding keywords for the SEO using the META tag, etc. But nothing will display in the web page.

The HEAD section starts and end with <head> and </head> tags

Example:

<head>

      <title>Title of the page</title>

      <link rel="stylesheet" type="text/css" href="mystyle.css">

      <script src="js/script.js"></script>

      <meta charset="UTF-8">

      <meta name="description" content="Learning">

      <meta name="keywords" content="HTML,CSS,XML,JavaScript">

      <meta name="author" content="author name">

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

</head>

The BODY section is purpose is to display the content in the web page. The HTML tag elements and attributes are used to display the text or day in the special formats.

This section contains lot of tags to display the content such as text, hyperlinks, tables, lists etc. This tag indicates the main content section of the HTML document.

Example:
<body>

<h1>A Web Page</h1>
<p id="demo">A Paragraph</p>
<button> Try it</button>

</body>

5.

The italic tag <i></i> is used to display the text in the italic style. This tag is used for alternate text such technical terms, foreign words or inline stage directions.

The bold tag <b></b> is used to display the text in bold style. This tag is used for stylistic offset such as keywords link product names etc.

Sometimes The bold tags are also required to mention the priority.

Hence, the final answer is Sometimes in HTML you need to use both.

6.

The difference between the div tag and span tag is as follows:

Div Tag

Span Tag

This is a block-level element.

This is an inline element.

This element always starts on a new line.

This element does not start on a new line.

It takes the full available width area in the web page.

It takes the area as much width as necessary in the web page


Related Solutions

1. An HTML document that’s generated by a web application is a ________________________ web page. 2....
1. An HTML document that’s generated by a web application is a ________________________ web page. 2. An easy way to log the progress of an application in Chrome’s Console panel is to insert __________________ methods at critical points in the code. 3. The childNodes property of a DOM object returns a/an ______________________ of the child nodes for that object. 4. The ___________________ method of an array can be used to concatenate the elements of the array into a single string.​...
1. True/False HTML is the standard text formatting language used for creating and displaying pages on...
1. True/False HTML is the standard text formatting language used for creating and displaying pages on the web. 2. True False The DOCTYPE is a special tag and must be the first one in an HTML document 3. True/False Inline elements take up the full width of their parent elements. 4. True/False The CSS box model is comprised of margin, padding, and border. 5. True/False The property margin-top has no effect on an inline element.
Create following webpage in HTML : 1. Login Page This is the first page the user...
Create following webpage in HTML : 1. Login Page This is the first page the user should see. The user can login, signup, or continue as a guest. Your task is to implement the following features: a) Signup form This form should collect the information required for creating a new account on your movie database website. At the least, it should collect an email address, username, avatar image/graphic, first name, last name, and a password. You can ask for more...
1. Describe the difference between a static web page and a dynamic one. 2.Briefly explain the...
1. Describe the difference between a static web page and a dynamic one. 2.Briefly explain the benefit of using a templating engine when developing a web app. 3.How does the express.js package make it easier to write a web application? 4.Describe how callbacks and promises help with asynchronous programming. 5.What is the difference between a GET and a POST request? When would you use each? 6.Explain what adding the body-parser plugin to your app allows you to do with express.
Company : EMIRATES AIRLINE 4.        Page 1-2: Briefly Describe the business, mission and vision of the Emirate...
Company : EMIRATES AIRLINE 4.        Page 1-2: Briefly Describe the business, mission and vision of the Emirate Airlines 5.        Page 3-4: Briefly Describe your strategic management (what and why it is important) 6.        Page 4-6: Briefly Describe how the Emirati company manages the topic and the SWOT 7.        Page 7-9: Give Five suggestions to improve the topic.   8.        Page 10: Five lessons you have learnt in doing this assignment. 9.        References
Page 1-2: Briefly Describe the business, mission and vision of the Emirati company you have chosen...
Page 1-2: Briefly Describe the business, mission and vision of the Emirati company you have chosen 5.        Page 3-4: Briefly Describe your strategic management topic (what and why it is important) 6.        Page 4-6: Briefly Describe how the Emirati company manages the topic and the SWOT 7.        Page 7-9: Give Five suggestions to improve the topic.   8.        Page 10: Five lessons you have learnt in doing this assignment. 9.        References
Briefly describe the following steps of the forecasting process. 1. determine the purpose of forecast 2....
Briefly describe the following steps of the forecasting process. 1. determine the purpose of forecast 2. Establish time horizon 3.Gather &analyze relevant historical data 4. Select a forecasting technique 5. Prepare forecast 6. Monitor the forecast
1, List and briefly describe the five stages of the event planning process. 2, Outline the...
1, List and briefly describe the five stages of the event planning process. 2, Outline the scope of college and university foodservice. What are the advantages of managing a college dining hall versus a commercial restaurant? 3, List and briefly describe four primary responsibilities of a convention and visitor’s bureau (CVB). 4, Discuss the multiplier effect of tourism dollars on a community. Could you argue that the effect is not always positive? Defend your position with examples. Please briefly explain...
Marketing research the answer should span between 1/2 and 1 document page. Essay questions: Briefly describe...
Marketing research the answer should span between 1/2 and 1 document page. Essay questions: Briefly describe two methods of analysis of association.  Discuss the relevance of analysis of association in general for marketing and provide examples.
In this 5 - 7 page paper, you are to describe a chronic disease process which...
In this 5 - 7 page paper, you are to describe a chronic disease process which is of interest to you. The selected topic of this paper must have prior approval by the faculty. The following content areas are to be included in this paper: I. Describe at the cellular level, the pathophysiology of this disease process. II. Describe the clinical manifestations III. Discuss pertinent diagnostic testing IV. Explain current treatment options and best practices, emphasizing evidence based practice. Discuss...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT