Web Design and Development: HTML, CSS, JavaScript

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/243

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

244 Terms

1
New cards

What is the World Wide Web (WWW)?

An information space where documents and web resources are identified by URLs, interlinked by hypertext links, and accessible via the Internet.

2
New cards

What is a website?

A collection of related web pages, including multimedia content, identified with a common domain name and published on at least one web server.

3
New cards

What is a web application?

An application program or software stored on a remote server and delivered over the Internet through a browser interface.

4
New cards

What technologies are typically used to write websites?

HTML, XHTML, and DHTML.

5
New cards

What is the role of a web designer?

To focus on the aesthetic portion of the website, including colors, images, layout, and usability.

6
New cards

What do web developers do?

They take website designs and create functioning websites using programming languages.

7
New cards

What are the two sub-categories of web developers?

Front-end developers and back-end developers.

8
New cards

What is the main responsibility of a front-end developer?

To build the interface and layout that users interact with, using languages like HTML, CSS, and JavaScript.

9
New cards

What does a back-end developer do?

They control server data and requests, often requiring a database connection for dynamic data.

10
New cards

What is HTML?

Hypertext Markup Language, the standard markup language for creating web pages.

11
New cards

What is the latest version of HTML?

HTML5.

12
New cards

What are tags in HTML?

Elements used to mark up the start of an HTML element, usually enclosed in angle brackets.

13
New cards

What is an example of an HTML tag?

for a top-level heading.

14
New cards

What are attributes in HTML?

Additional pieces of information about an HTML element, placed within the opening tag.

15
New cards

What is the basic structure of an HTML document?

Content

16
New cards

What does the tag represent in an HTML document?

The document's header, which can contain other HTML tags like

17
New cards

What is the purpose of the

To specify the title of the document, which appears in the browser's title bar.

18
New cards

What does the tag represent?

The main content area of the HTML document, containing visible elements like headings and paragraphs.

19
New cards

How many levels of headings does HTML provide?

Six levels, using elements

to

.

20
New cards

What is the purpose of the

tag in HTML?

To structure text into paragraphs.

21
New cards

What is the significance of the declaration?

It defines the document type and HTML version, helping the browser understand how to render the document.

22
New cards

What is the function of the tag?

To embed an image in a webpage, with attributes like src for the image source and alt for alternative text.

23
New cards

What is the difference between front-end and back-end development?

Front-end development focuses on the user interface, while back-end development manages server-side logic and database interactions.

24
New cards

What are some examples of HTML editors?

Notepad, Sublime Text 3, Notepad++, Komodo Edit, and Macromedia Dreamweaver.

25
New cards

What does the tag do in HTML?

It indicates that the text is of strong importance, typically displayed in bold.

26
New cards

What is the role of CSS in web development?

To control the presentation and layout of web pages, including styles for fonts, colors, and spacing.

27
New cards

What is JavaScript used for in web development?

To add interactivity and dynamic behavior to web pages.

28
New cards

What does the
tag do in HTML?

The
tag creates a line break, starting the following content on a new line.

29
New cards

What is the function of the


tag?

The


tag creates a horizontal line to visually separate sections of a document.

30
New cards

What is a non-breaking space in HTML?

A non-breaking space is represented by   and prevents the browser from breaking text at that point.

31
New cards

How do you specify font color in HTML?

Font color can be specified using the tag with the color attribute, e.g., .

32
New cards

What does the tag do?

The tag sets the default font face, size, and color for the text in the document.

33
New cards

What are the three types of lists in HTML?

The three types of lists are unordered lists (bullets), ordered lists (numbered), and definition lists (name/value pairs).

34
New cards

How do you create an unordered list in HTML?

An unordered list is created using the

    tag, with each list item marked by
  • .

35
New cards

What is the purpose of the

    tag?

The

    tag is used to create an ordered list, where items are numbered.

36
New cards

What attributes can be used with the

    tag?

The

    tag can use the type attribute to specify numbering style and the start attribute to set the starting number.

37
New cards

What tags are used in a definition list?

A definition list uses

to start the list,
for terms, and
for definitions.

38
New cards

What is a hyperlink in HTML?

A hyperlink is a link that allows users to navigate to other pages or sections, created using the tag.

39
New cards

What is the purpose of the target attribute in a hyperlink?

The target attribute specifies how the linked document should be opened, such as in a new window or the same frame.

40
New cards

How do you insert an image in HTML?

An image is inserted using the tag, which is an empty element that contains attributes for the image source.

41
New cards

What is the significance of the tag in HTML?

The tag is used to specify the font face, size, and color of text.

42
New cards

What does the tag do?

The tag is used to bold text.

43
New cards

What is the function of the tag?

The tag is used to italicize text.

44
New cards

How do you create a strikethrough effect in HTML?

A strikethrough effect is created using the tag.

45
New cards

What does the tag do?

The tag makes text one size larger than the surrounding text.

46
New cards

What does the tag do?

The tag makes text one size smaller than the surrounding text.

47
New cards

What is the purpose of the and tags?

is used for superscript text, while is used for subscript text.

48
New cards

What is the basic syntax of the tag?

some_text

49
New cards

What are the two mandatory attributes of the tag?

src and alt attributes.

50
New cards

What does the src attribute in the tag specify?

The URL of the image file.

51
New cards

What is the purpose of the alt attribute in the tag?

It provides alternative text for the image if it cannot be displayed.

52
New cards

What attributes are used to specify the dimensions of an image in HTML?

width and height attributes.

53
New cards

What is the purpose of the element in HTML?

To arrange data into rows and columns.

54
New cards

What elements are used to create rows and columns in an HTML table?

for rows and for columns.

55
New cards

What does the element do in an HTML table?

Defines a cell as a header for a group of table cells.

56
New cards

How can you specify a border for an HTML table?

Using the border property.

57
New cards

What is the function of the rowspan and colspan attributes in a table?

They allow a cell to span multiple rows or columns.

58
New cards

What does the cellpadding property specify in an HTML table?

The space between the cell content and its borders.

59
New cards

What is the purpose of the cellspacing property in an HTML table?

Specifies the space between the cells.

60
New cards

How do you add a caption to an HTML table?

Using the element directly after the opening tag.

61
New cards

What is the syntax for creating an HTML form?

form elements

62
New cards

What are the two most commonly used methods for uploading data in HTML forms?

GET and POST methods.

63
New cards

What is the purpose of the action attribute in an HTML form?

Specifies the backend script that processes the submitted data.

64
New cards

What types of controls can be used in HTML forms?

Text input, checkboxes, radio buttons, select boxes, file select boxes, hidden controls, clickable buttons, submit and reset buttons.

65
New cards

What is a single-line text input control in HTML?

A control for items requiring one line of user input, created using the tag.

66
New cards

What is the function of the type attribute in the tag?

Indicates the type of input control.

67
New cards

How is a password input control different from a single-line text input control?

It masks the characters entered by the user.

68
New cards

What is a multi-line text input control in HTML?

Used for longer user inputs, created using the

69
New cards

What attributes can be used with the

name, rows, and cols.

70
New cards

What is the purpose of checkboxes in HTML forms?

Used when multiple options can be selected.

71
New cards

What is the purpose of radio buttons in HTML forms?

Used when only one option can be selected from multiple choices.

72
New cards

What attribute is used to set a checkbox as selected by default?

checked attribute.

73
New cards

What is a radio box control in HTML?

A radio box control allows users to select one option from a set of predefined options.

74
New cards

What is a select box in HTML?

A select box, also known as a drop-down box, provides a list of options from which a user can select one or more.

75
New cards

What attribute is used to give a name to a select box control?

The 'name' attribute.

76
New cards

What does the 'multiple' attribute do in a select box?

It allows users to select multiple items from the menu.

77
New cards

What is the purpose of the 'value' attribute in an option tag?

It specifies the value that will be used if that option is selected.

78
New cards

What is a file upload box in HTML?

A file upload box allows users to upload files to a website, created using the element with type set to 'file'.

79
New cards

What attribute specifies the types of files accepted by a file upload box?

The 'accept' attribute.

80
New cards

What is the function of a submit button in HTML forms?

It automatically submits the form when clicked.

81
New cards

What does a reset button do in an HTML form?

It resets all form controls to their initial values.

82
New cards

What is the purpose of hidden form controls?

They are used to hide data within the page that can be sent to the server without being visible to the user.

83
New cards

What does CSS stand for?

Cascading Style Sheets.

84
New cards

What is the primary purpose of CSS in web design?

To control the presentation and layout of a webpage, separating it from the content.

85
New cards

What are the two main parts of a CSS rule?

The selector and the declaration.

<p>The selector and the declaration.</p>
86
New cards

What does the 'body { background-color: black; }' rule do?

It sets the background color of the webpage to black.

87
New cards

How do you specify multiple properties in a CSS declaration?

Separate each property with a semicolon.

88
New cards

What is the effect of the CSS rule 'h1, h2, h3 { color: yellow; }'?

It changes the text color of headers h1, h2, and h3 to yellow.

89
New cards

What is the purpose of the 'font-family' property in CSS?

It specifies the font type for text within an element.

90
New cards

What does the 'text-align' property control in CSS?

It controls the horizontal alignment of text within an element.

91
New cards

What does the 'text-decoration' property do?

It specifies the decoration added to text, such as underline or line-through.

92
New cards

What are the three ways to attach CSS styles to an HTML document?

Inline styles, embedded styles in the head, and linking to an external style sheet.

93
New cards

What is the significance of the 'accept' attribute in a file upload input?

It restricts the types of files that can be uploaded by specifying accepted file types.

94
New cards

What does the 'selected' attribute do in an option tag?

It specifies that the option should be the initially selected value when the page loads.

95
New cards

What is the role of the 'label' attribute in an option tag?

It provides an alternative way to label options in a select box.

96
New cards

What does the 'font-weight' property control in CSS?

It specifies the thickness of the font, such as normal or bold.

97
New cards

What is the purpose of the 'padding' property in CSS?

It adds space inside an element, between the element's content and its border.

98
New cards

What is the purpose of a style sheet in web design?

To define the visual presentation of a web page.

99
New cards

How can inline CSS styles be applied?

By specifying style rules directly within an HTML tag using the style attribute.

100
New cards

What is an example of inline CSS?

This is a styled paragraph.