WDD : Implementation (HTML) Flashcards

1
Q

Elemements in the webpage

A

Header - The header element will show the website banner. This will often include a title and logo

Nav - The nav element will contain navigation links.

Main - The main element wll contain page content. The main may be devided into smaller parts with div or section tags

Section - The section elemnt represents a generic section of a document.

Footer - The footer element will contain information about the website. Usually contact details, social media links and legal documentation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Form element :input

Text

A

input type=”text” name=”firstname” size=”30” maxlength=”15”
required

type=”text” - identifies what input type the form element is expecting.

name=”firstname”- when a form is processed, the name attribute is required

size=”30” - width of the input box ( in number of characters)

maxlength=”15” - length check which limits input to 15 characters

required - presence check has been set on the input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Form element : Input Number

A

input type=”number” name=”seats” min=”1” max=”10”

type=”Number” - Identifies what input type the form element is expecting.

min=”1” max=”10” - Range check has been set ensure values are >=1 and <=10

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Form element : Input Textarea

A

textarea name=”dietary_requirements” rows=”5” cols=”40”

rows = “5” – this will set the rows of the textarea (rows manage the height of the textarea)

cols =”40” – this will set the columns of the textarea (columns manage the width of the textarea)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Form element : Input Radio buttons

A

input type=”radio” name=”time” value=”09:00 to 13:00”> 09:00-13:00

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Form element : Submit buttons

A

input type=”submit” onclick=”alert(‘Form Submitted, Thank You!’)” value=”Submit”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Select drop down menu

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Select drop down menu with size attribute

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly