· This Assignment must be submitted on Blackboard via the allocated folder. · Email submission will not be accepted. · You are advised to make your work clear and well-presented, marks may be reduced for poor presentation. · You MUST show all your work. · Late submission will result in ZERO marks being awarded. · The work should be your own, copying from students or other resources will result in ZERO marks. · Use font for all your answers. Question One What is the URL? Explain the different URL components with an example from each component. Question Two Explain the two strategies: Styling Strategy and Scripting Strategy. Question Three Explain the different statements of the following HTLM page. My First Heading
This is heading 2
This is heading 3
My first paragraph.
Question Four Discuss the different steps to create a basic web page. Question Five Give the different list types available in HTML with example.
URL stands for Uniform Resource Locator and it is a specific character string that serves as a reference to a resource on the Internet. It is used to locate and retrieve information from web servers. The URL consists of several components, each providing specific information about the resource being accessed.
The different components of a URL are as follows:
1. Scheme/Protocol: This component specifies the protocol used to access the resource. For example, “http://” is used for web pages and “ftp://” is used for file transfer.
Example: http://www.example.com
2. Domain Name: This component identifies the specific domain or website hosting the resource. It is often represented as “www.example.com”.
Example: www.google.com
3. Port Number: This component specifies the network port to which the request is being sent. It is optional and, if not specified, it is assumed to be the default port for the specified protocol. For example, the default port for HTTP is 80.
Example: http://www.example.com:8080
4. Path: This component specifies the path or location of the specific resource within the website. It can include directories and subdirectories.
Example: http://www.example.com/images/picture.jpg
5. Parameters: This component is used to pass additional information to the web server. Parameters are separated by “&” and consist of a key-value pair. They are often used for dynamic content and form submissions.
Example: http://www.example.com/search?q=keywords
6. Fragment/Anchor: This component is used to specify a specific section or location within a web page. It is indicated by the “#” symbol followed by the anchor name.
Example: http://www.example.com/page.html#section3
The styling strategy in web development refers to the process of defining the visual appearance of web pages. It involves the use of CSS (Cascading Style Sheets) to specify the layout, colors, fonts, and other visual aspects of a web page. By separating the presentation from the content, styling strategy allows for greater flexibility and maintainability of websites.
The scripting strategy, on the other hand, involves the use of JavaScript or other scripting languages to add dynamic and interactive functionality to web pages. It allows for the manipulation of HTML elements, handling user events, and accessing server-side resources. Scripting strategy enables the creation of more interactive and responsive web applications.
For question three, the given HTML code represents a basic web page structure.
: This is a declaration that specifies the version of HTML being used (HTML5 in this case).
: This tag indicates the start of an HTML document.
: This tag indicates the start of the document’s body, where the visible content of the web page is placed.,
,
: These tags represent different levels of headings, with
being the highest level and
being the lowest level.
: These tags represent different levels of headings, with
being the highest level and
being the lowest level.
being the lowest level.
: This tag is used to define a paragraph of text.
: This tag is used to insert an image into the web page. The “src” attribute specifies the location of the image file, the “alt” attribute provides alternative text for the image, and the “width” and “height” attributes specify the size of the image.
: This tag indicates the end of the document’s body.
: This tag indicates the end of the HTML document.
For question four, creating a basic web page involves the following steps:
1. Start with a proper HTML structure by including the declaration and opening tag.
2. Inside the tag, open the
tag. This is where meta information, title, and CSS/JavaScript link or script tags are placed.3. In the
section, include a4. After the
section, open the5. Within the
tag, you can include various HTML elements such as headings (,
, etc.), paragraphs (
), images (), links (), and other elements to structure and present the content.
6. Close the
tag and the tag to complete the HTML structure.7. Save the file with a .html extension and open it in a web browser to view the web page.
For question five, there are several list types available in HTML:
1. Ordered List (
- ): It represents a numbered list, where each list item is ordered sequentially.
- Item 1
- Item 2
- Item 3
- Item 1
- Item 2
- Item 3
- Term 1
- Definition 1
- Term 2
- Definition 2
- Term 3
- Definition 3
Example:
2. Unordered List (
- ): It represents a bulleted list, where each list item is preceded by a bullet point.
Example:
3. Definition List (
- ): It represents a list of terms and their corresponding definitions.
Example:
These are the different list types available in HTML, each serving a different purpose depending on the content being presented.
Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.
Click Here to Make an Order Click Here to Hire a Writer
My First Heading
This is heading 2
This is heading 3
My first paragraph.
![www.seu.edu.sa](seu.jpg)