(HTML) HyperText Markup Language is the language used to describe and define the content of a Web page in a well-structured format.
HTML Quiz Exercise Lab
HTML stands for?
HyperText Markup Language is the language used to describe and define the content of a Web page in a well-structured format.
How many heading styles are there in HTML?
6 headings, h1..h6
How images are displayed on web pages in HTML?
In HTML, images are defined with the tag. The tag is empty, which means that it contains attributes only and it has no closing tag. To display an image on a page, you need to use the src attribute. Src stands for "source". The value of the src attribute is the URL of the image you want to display on your page. The syntax of defining an image:
Explain Form element used in HTML?
A form is an area that can contain form elements. Form elements are elements that allow the user to enter information (like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc.) in a form.A form is defined with the form tag.
How colors are defined in HTML?
HTML colors are defined using a hexadecimal (hex) notation for the combination of Red, Green, and Blue color values (RGB). The lowest value that can be given to one of the light sources is 0 (hex 00). The highest value is 255 (hex FF). Hex values are written as 3 double digit numbers, starting with a # sign.
Explain about frames used in HTML?
With frames, you can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent of the others.The disadvantages of using frames are:
The web developer must keep track of more HTML documents
It is difficult to print the entire page
How to use styles in HTML?
When a browser reads a style sheet, it will format the document according to it. There are three ways of inserting a style sheet:
External Style Sheet
An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the tag. The tag goes inside the head section.
Internal Style Sheet
An internal style sheet should be used when a single document has a unique style. You define internal styles in the head section with the style tag.
What is the difference between form get and form post?
Get
With GET the form data is encoded into a URL by the browser. The form data is visible in the URL allowing it to be bookmarked and stored in web history. The form data is restricted to ASCII codes. Because URL lengths are limited there can be limitations on how much form data can be sent.
Post
With POST all the name value pairs are submitted in the message body of the HTTP request which has no restrictions on the length of the string. The name value pairs cannot be seen in the web browser bar.
POST and GET correspond to different HTTP requests and they differ in how they are submitted. Since the data is encoded in differently, different decoding may be needed.
List some common IE6 bugs and how you dealt with them?
Ie6 is not dead, just ask China which represents a nice chunk of the worlds online population. Your pages should at least be functional on IE6, unless you dont care about half the worlds population. See the links below for a good compilation of ie6 bugs and solutions.
The doctype declaration should be the very first thing in an HTML document, before the html tag.
The doctype declaration is not an HTML tag; it is an instruction to the web browser about what version of the markup language the page is written in.
The doctype declaration refers to a Document Type Definition (DTD). The DTD specifies the rules for the markup language, so that the browsers can render the content correctly.
On page load, will mypic.jpg get downloaded by the browser?
Yes
No
No
CSS:
@media only screen and (max-width: 1024px) {
margin: 0;
}
What is the use of the only selector?
Stops older browsers from parsing the remainder of the selector
Apply the style for screen only and ignore the device max-width
It does nothing
Stops older browsers from parsing the remainder of the selector
HTML:
<div>
<p>I am floated</p>
<p>So am I</p>
</div>
CSS:
div {
overflow: hidden;
}
p {
float: left;
}
Does overflow: hidden create a new block formatting context?
Yes
No
Yes
Explain Form element used in HTML?
A form is an area that can contain form elements. Form elements are elements that allow the user to enter information (like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc.) in a form.A form is defined with the form tag.
CSS:
@media only screen and (max-width: 1024px) {
margin: 0;
}
Does the screen keyword apply to the device's physical screen or the browser's viewport?
Device's physical screen
Browser's viewport
Browser's viewport
Is <keygen> a valid HTML5 tag?
Yes
No
Yes
Does the <bdo> tag change the direction of text?
Yes
No
Yes
HTML:
<figure>
<img src="myimage.jpg" alt="My image">
<figcaption>
<p>This is my self portrait.</p>
</figcaption>
</figure>
Is the above HTML valid?
Yes
No
Yes
In what situation should you use the <small> tag?
When you want to create subheading after a <h1> element
When you want to add copyright information inside a <footer>
Both situations
When you want to add copyright information inside a <footer>
Explain Form element used in HTML?
A form is an area that can contain form elements. Form elements are elements that allow the user to enter information (like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc.) in a form.A form is defined with the form tag.
If a web page contains organic, multiple <h1> tags, will it affect the SEO negativley?
Yes
No
No
If you have a page of search results and want to highlight the search term, what HTML tag would you use?
<strong>
<mark>
<em>
<highlight>
<mark>
HTML:
<article>
<h1>Hello World</h1>
<style scoped>
p {
color: #FF0;
}
</style>
<p>This is my text</p>
</article>
<article>
<h1>This is awesome</h1>
<p>I am some other text</p>
</article>
What does the scoped attribute do?
Applies style rules to elements succeeding it, but with the same parent element
Applies style rules to all children of the scoped parent element
Applies style rules to IE browsers only
None of the above
Applies style rules to all children of the scoped parent element
HTML:
<article>
<a href="#">
<h1>Hello</h1>
<p>I am some text</p>
</a>
</article>
Does main2.css have to be downloaded and parsed before Paragraph 1 is rendered on the page?
Yes
No
Yes
What are some of the online tools and resources you use when you have a problem? Where do you go to ask questions?
This question really just looks for how resourceful the candidate is, it also reflects on their problem solving process and may lead you to ask more questions.
What is web a application?
A great question to feel out the depth of the applicants knowledge and experience.
A web application is an application utilizing web and [web] browser technologies to accomplish one or more tasks over a network, typically through a [web] browser.
Wait a moment while your computer searches for all the wireless networks in range. Find somcablewifi from the list of available networks (SSIDs) and click it. Then click Connect.
You will be prompted that you are connecting to an unsecured wireless network. Click Connect Anyway.
Wait a few seconds while your computer acquires an IP address from the somcablewifi network.
The status will display as Connected, signifying you are connected to the somcablewifi network.
Also, the Wireless Network Connection icon will appear in your computer's system tray at the bottom of the screen near the clock. To display the strength of your connection, just hover over the icon with your mouse.
Once you've joined our somcable WiFi network manually, your device automatically joins it whenever the network is in range. If more than one previously-used network is in range, your device joins the one last used.
Sign In to SOMCABLE WiFi
Once you've connected to the somcablewifi network, simply launch your Web browser and you will be taken to the SOMCABLE WiFi login page.
Enter your Somcable.com email address (or username) and password
Click Sign In
After you successfully enter your credentials, you will be directed to the somcable.com home page. From there, you can begin to browse the Internet.
Technical Support
Due to the numerous WiFi devices and configurations available, Somcable is only able to confirm that SOMCABLE WiFi is functioning correctly. Somcable does not offer technical support for connecting devices to the Internet. Please refer to the user manual for your device should you require additional assistance.
Windows 7
Connect to the SOMCABLE WiFi Network
Open Connect to a Network by clicking the Start button, and then clicking Connect to.
In the Show list, click Wireless.
You'll see a list of the wireless networks currently available.
Click on somcablewifi, and then click Connect.
Sign In to SOMCABLE WiFi
Once you've connected to the somcablewifi network, simply launch your Web browser and you will be taken to the SOMCABLE WiFi login page.
Enter your Somcable.com email address (or username) and password
Click Sign In
After you successfully enter your credentials, you will be directed to the somcable.com home page. From there, you can begin to browse the Internet.
Technical Support
Due to the numerous WiFi devices and configurations available, Somcable is only able to confirm that SOMCABLE WiFi is functioning correctly. Somcable does not offer technical support for connecting devices to the Internet. Please refer to the user manual for your device should you require additional assistance.
Mac OS X®
Make Sure WiFi Is Turned On
WiFi is used on Macs to set up and manage WiFi connections. The WiFi icon is found in the menu bar next to the clock.
If the icon is empty, WiFi is turned off, or you are not within WiFi range.
If the icon is filled in, you are currently within WiFi range.
To turn WiFi on
Click the WiFi icon.
Select Turn WiFi On.
Connect to the SOMCABLE WiFi Network
Click the WiFi icon.
Find somcablewifi from the list of available networks (SSIDs) and select it.
Wait a few moments while your Mac connects. Once connected, a check mark will appear in the WiFi menu next to the somcableywifi SSID.
Once you've joined our SOMCABLE WiFi network manually, your device automatically joins it whenever the network is in range. If more than one previously-used network is in range, your device will join the one last used.
Sign In to SOMCABLE WiFi
Once you've connected to the somcablewifi network, simply launch your Web browser and you will be taken to the SOMCABLE WiFi login page.
Enter your Somcable.com email address (or username) and password
Click Sign In
After you successfully enter your credentials, you will be directed to the somcable.com home page. From there, you can begin to browse the Internet.
Technical Support
Due to the numerous WiFi devices and configurations available, Somcable is only able to confirm that SOMCABLE WiFi is functioning correctly. Somcable does not offer technical support for connecting devices to the Internet. Please refer to the user manual for your device should you require additional assistance.
iPhone® or iPod touch®
Make sure WiFi is turned on
Tap Settings
Tap WiFi
Make sure WiFi is set to ON. If WiFi is set to OFF, tap the OFF button to turn it on.
Connect to the SOMCABLE WiFi Network
Once WiFi is turned on, it is easy to connect to SOMCABLE WiFi. From the iPhone or iPod Touch
Tap Settings
Tap WiFi
Wait a moment as your iPhone or iPod touch detects the WiFi networks in range
Find somcablewifi from the list of available networks (SSIDs) and tap it
Wait a few seconds while your iPhone or iPod touch connects. Once connected, a check mark will appear next to the somcablewifi SSID
Also, the WiFi icon will appear in your phone's status bar at the top of the screen when it is connected to a WiFi network. It will show connection strength as well. The more bars you see, the stronger your WiFi connection.
Once you've joined the SOMCABLE WiFi network manually, your iPhone or iPod touch will automatically connect whenever the network is in range of one of SOMCABLE WiFi hotspots. If more than one previously used network is in range, your device will join the one last used.
Sign In to SOMCABLE WiFi
Once you've connected to the somcablewifi network, simply launch your Web browser and you will be taken to the SOMCABLE WiFi login page.
Enter your Somcable.com email address (or username) and password
Click Sign In
After you successfully enter your credentials, you will be directed to the somcable.com home page. From there, you can begin to browse the Internet.
Technical Support
Due to the numerous WiFi devices and configurations available, Somcable is only able to confirm that SOMCABLE WiFi is functioning correctly. Somcable does not offer technical support for connecting devices to the Internet. Please refer to the user manual for your device should you require additional assistance.
Blackberry®
Connect to the SOMCABLE WiFi Network
From the Blackberry home screen, select the Menu key
Roll the trackball to the icon for Set Up WiFi and click
Use the trackball to scroll down to the Next button and click.
Select Scan For Networks and click.
Scroll down to somcablewifi from the list of available networks (SSIDs) and click it. You'll see a message that your Blackberry is connecting to somcableywifi
Once your Blackberry connects to somcablewifi, you'll see "Connection Successful!" across the top of the screen. On this screen, you can save somcablewifi as a profile. Select Yes and click Next
Click Finish.
When you are connected, the WiFi logo across the top of your screen will turn black, and somcablewifi will display on the main screen below the clock.
Once you've joined the SOMCABLEWiFi network, your Blackberry will automatically connect to it whenever the network is in range.
Set the Browser to use WiFi
After you've connected to somcablewifi, you'll need to configure the Blackberry browser to use WiFi as the preferred Internet connection.
Launch the Blackberry's browser.
Press the Menu key to display the browser's menu
Select Options
Select General Properties
Click on the current setting for Default Browser and select WiFi Browser
Press the End button and confirm your choice by clicking Save
Sign In to SOMCABLE WiFi
Once you've connected to the somcablewifi network, simply launch your Web browser and you will be taken to the SOMCABLE WiFi login page.
Enter your Somcable.com email address (or user name) and password
Click Sign In
After you successfully enter your credentials, you will be directed to the somcable.com home page. From there, you can begin to browse the Internet.
Setup WiFi as the Preferred Voice Connection
Some providers will allow you to use WiFi for voice service as well. This will enable you to make phone calls without using cellular plan minutes. Check with your cellular provider to see if this option is available with your plan.
If so, you can configure your Blackberry to use WiFi as the preferred voice connection. With this, your Blackberry will use your cellular provider's network only when WiFi is unavailable.
While on the Blackberry home screen, select the Menu key
Roll the trackball to the icon for Manage Connections and click
Scroll down to Mobile Network Options and click.
Select Connection Preference and click.
Select WiFi Preferred and click
Press the end button and confirm your choice by clicking Save
Technical Support
Due to the numerous WiFi devices and configurations available, Somcable is only able to confirm that SOMCABLE WiFi is functioning correctly. Somcable does not offer technical support for connecting devices to the Internet. Please refer to the user manual for your device should you require additional assistance.
Windows Mobile 5/6
Note: Instructions may vary slightly from phone to phone as there are several different versions of Windows Mobile 5 and Windows Mobile. For details about your exact version, please consult your phone's documentation or visit http://www.microsoft.com/windowsmobile.
Enable WiFi on your Phone
Go to Start then Settings
Select Connections from the tabs across the bottom
Select Comm Manager
Important Note: On some phones, the Comm Manager is in the Programs folder. Simply go to Start then to Programs and select the Comm Manager icon.
Select the WiFi icon. When WiFi is activated, the icon fills in with green and the "x" mark disappears.
Connect to the SOMCABLE WiFi Network
Go to Start then Settings
Select Connections from the tabs across the bottom
Select Network Cards
Find somcablewifi from the list of available networks (SSIDs) and select and hold it. Then select Connect
In the next screen, make sure The Internet is selected and click OK
Wait a few seconds while your phone is connecting to the SOMCABLE WiFi network. Once complete, the status will display as Connected
Click OK from the top right section of the screen then close the Settings window with the x in the top-right section of the screen
Once you've joined the SOMCABLE WiFi network manually, your device automatically joins it whenever the network is in range. If more than one previously used network is in range, your device will join the one last used.
Sign In to SOMCABLE WiFi
Once you've connected to the somcablewifi network, simply launch your Web browser and you will be taken to the SOMCABLE WiFi login page.
Enter your Somcable.com email address and password
Click Sign In
After you successfully enter your credentials, you will be directed to the somcable.com home page. From there, you can begin to browse the Internet.
Technical Support
Due to the numerous WiFi devices and configurations available, Somcable is only able to confirm that SOMCABLE WiFi is functioning correctly. Somcable does not offer technical support for connecting devices to the Internet. Please refer to the user manual for your device should you require additional assistance.
Android
Make sure WiFi is turned on
Note: Your service provider may charge to surf the Web or download data.
First, turn on your phone and start at the main screen
Next, click on the Settings icon
After that, press Wireless & networks followed by Wi-Fi settings
Now, touch Menu followed by Scan in order to find available networks in range
Next, touch somcablewifi to connect.
Finally, look for the wireless indicator icon to verify that your smartphone is connected
Sign In to SOMCABLE WiFi
Once you've connected to the somcablewifi network, simply launch your Web browser and you will be taken to the SOMCABLE WiFi login page.
Enter your Somcable.com email address (or username) and password
Click Sign In
After you successfully enter your credentials, you will be directed to the somcable.com home page. From there, you can begin to browse the Internet.
Technical Support
Due to the numerous WiFi devices and configurations available, Somcable is only able to confirm that SOMCABLE WiFi is functioning correctly. Somcable does not offer technical support for connecting devices to the Internet. Please refer to the user manual for your device should you require additional assistance.
iPad®
Ensure WiFi is enabled
Tap Settings
Tap WiFi
Make sure WiFi is set to ON. If WiFi is set to OFF, tap the OFF button to turn it on.
Available WiFi networks appear under "Choose a Network".
Locate and tap somcablewifi.
Sign In to SOMCABLE WiFi
Once you've connected to the somcablewifi network, simply launch your Web browser and you will be taken to the SOMCABLE WiFi login page.
Enter your Somcable.com email address (or username) and password
Click Sign In
After you successfully enter your credentials, you will be directed to the somcable.com home page. From there, you can begin to browse the Internet.
Technical Support
Due to the numerous WiFi devices and configurations available, Somcable is only able to confirm that SOMCABLE WiFi is functioning correctly. Somcable does not offer technical support for connecting devices to the Internet. Please refer to the user manual for your device should you require additional assistance.
Android
Ensure WiFi is enabled
Tap Apps in the upper right hand corner
Tap Setting
Tap Wireless & networks
Tap Wi-Fi – Turn on Wi-Fi.
Available WiFi networks appear under "Wi-Fi settings – Set up & manage wireless access points."
Locate and tap somcablewifi.
Sign In to SOMCABLE WiFi
Once you've connected to the somcablewifi network, simply launch your Web browser and you will be taken to the SOMCABLE WiFi login page.
Enter your Somcable.com email address (or username) and password
Click Sign In
After you successfully enter your credentials, you will be directed to the somcable.com home page. From there, you can begin to browse the Internet.
Technical Support
Due to the numerous WiFi devices and configurations available, Somcable is only able to confirm that WiFi is functioning correctly. Somcable does not offer technical support for connecting devices to the Internet. Please refer to the user manual for your device should you require additional assistance.