Concept explainers
In “mozilla.com”, “.com” is considered as the top-level domain, where as “Mozilla” is considered as the second-level domain name.
Hence, the correct answer is option “B”.
Explanation of Solution
URL:
- • URL is known as Uniform Resource Locator; it is also a type of Uniform Resource Indicator, because, it represents the network location of resources like web pages, graphic files, mp3 files, and so on.
- • URL contains:
- ○ A protocol
- ○ Web server name
- ○ Domain name
- ○ Location of the file
Example: “http://www.mozilla.com”
Here,
- • http – HTTP protocol
- • www – Web server name or host
- • mozilla.com – domain name
In “mozilla.com”: “.com” is considered as the top-level domain, because in the domain name “.com” is the right most part and “Mozilla” is considered as the second-level domain name.
Explanation for wrong answers:
“http”:
“http” is considered as the protocol and it is not a domain name.
Hence, the option “A” is wrong.
“mozilla”:
In “mozilla.com”: “.com” is considered as the top level domain whereas “Mozilla” is considered as the second-level domain name.
Hence, the option “C” is wrong.
“WWW”:
“www” is considered as a web server name or host and it is not a domain name.
Hence, the option “D” is wrong.
Want to see more full solutions like this?
Chapter 1 Solutions
Basics of Web Design: Html5 & Css3
- Write HTML & PHP code to display the below in the browse. Pick the first number from 1 to 9 0102 03 04 O5 060708 09 Pick the second number from 1 to 9 010203 04 05060708 09arrow_forwardHTML True or false: To insert a video, we use a video tag and set its src attribute to a local or remote URL containing a playable movie.arrow_forwardCreate a webpage prog1.php and write a PHP script in it to do the following: Your ITDB201 Web App Dev-I Midterm exam started at 8:30 am on 9th of March 2021. Create a web page that displays the number of minutes finished since your Midterm exam started.arrow_forward
- Correct Html code gets upvotearrow_forwardExplain what information we are requesting when we use the URL below: http://mywebsite.co.uk/index.php/chat_history/search/dinnerOn a forum website it has the search box autocomplete using AJAX for users to search all of the posts that have been made. Explain briefly how the AJAX request would be triggered, what data it would submit to the web server, what sort of response the server would give, and what the client-side script would do with this response. Rewrite the following code snipped using the jQuery function $.get. $("#display").load("greetings.html"); Explain what a namespace is and how it is used in XML documents (clearly discussingwhich problem namespaces address and how).arrow_forwardWrite HTML code for creating the below List. Client side coding Ajax Javascript HTML Server side coding CGI PHP Python Client & Server side Opa Dartarrow_forward
- Create an HTML form that allows the user input of the coefficients a, b, and c of a quadratic equation. Write a PHP script (roots.php) to read coefficients from the form using POST Method and calculate the real roots of the quadratic equation and display them.arrow_forwardI want a login page of a Library using HTML I want full Code of HTML You can add features and layout on your own but just use HTML. Please do it neatly and attach the screenshot of how the page looks.arrow_forwardWhen JavaScript is added in the same HTML file, o The browser doesn't display the code but it will execute it which may modify the web page The browser will display the code as part of the web page o o The browser will execute the code and submit the result of executing the code to the server O The browser will remove the code from the file and display only HTML contentarrow_forward
- Create a web application consisting of one or more pages Blog for example,using php This page, for example, should contain images, paragraphs, and so on And it contains a place where the user can log in and send a commentarrow_forwardDescribe the process of making an HTTP request in a web application, including the different HTTP methods and their use cases.arrow_forwardDesign an ASP.Net page, named ValidationYourRegNo.aspx, with the help of TextBox for name, email id, password, Re-type password, Age, Buttons etc. Your application should take care of each of the following conditions Name is mandatory filed User Namemust enter correct email id [Username cannot have a space or special character except underscore] Password and Re-Type password must be matched [Password must be atleast 8 characters long having atleast one small char, one capital char and a special char] Student Mid Marks must be non-negative and must not be greater than 12. Email ID must have an email ID format Cell# must have the format as 03001234567 Show all the failed validation using ValidationSummary Controls Discuss all the required validation controls for each of the above mentioned scenarios. Take the Screen shot of this web page, one with all validations Failed & other with no Validation Error. Course: Visual Programmingarrow_forward
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning