HTML and CSS Concepts Review

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/30

flashcard set

Earn XP

Description and Tags

A collection of flashcards designed to reinforce key concepts related to HTML and CSS for exam preparation.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

31 Terms

1
New cards

In CSS, which property is used to create a border for a table?

Border

2
New cards

What property is used to adjust the height of rows in a table?

Height

3
New cards

To create a hover effect for rows in a table, which selector is used?

Tr:hover

4
New cards

To center a table on a web page, which property can be used?

Margin: auto

5
New cards

Which value is used to create a dotted border for a table?

Border-style: dotted

6
New cards

Which property is used to determine the width of a column in a table?

Width

7
New cards

What does the vertical-align property apply to in table cells?

Aligns content vertically

8
New cards

Which property is used to create a shadow effect for a div?

Box-shadow

9
New cards

Which property does NOT relate to font formatting in a div?

Font-width

10
New cards

Which property is used to rotate a div?

Transform: rotate()

11
New cards

In HTML, which tag is used to create a link?

12
New cards

To add a background color to an element in CSS, which property is used?

Background-color

13
New cards

Which HTML tag is used to create the largest heading?

14
New cards

What tag is used to insert an image into a web page?

15
New cards

Which tag is used to create a new row in an HTML table?

16
New cards

In HTML, which tag is used to create a table?

17
New cards

Which property is used to merge columns in a table?

Colspan

18
New cards
What is the function of the tag in an HTML table?

Creates a data cell in a table

19
New cards
The property border="1" in the tag does what?

Creates a border for the whole table

20
New cards

To merge rows in a table, which property is used?

Rowspan

21
New cards

Which tag is used to group header elements in a table?

22
New cards

Which tag groups footer elements in a table?

23
New cards

What property specifies alternative text for images?

Alt

24
New cards

Which property defines the displayed size of a textarea?

Size

25
New cards

To create a form in HTML, which tag is used?

26
New cards

In CSS, what does margin: 10px 20px 30px 40px; represent?

Top: 10px, right: 20px, bottom: 30px, left: 40px

27
New cards

In HTML, which property specifies the image URL?

Src

28
New cards

What is the correct syntax to select all elements with class="test" in CSS?

.test

29
New cards

For a hyperlink to the h2 element with ID "dautrang", which is the correct syntax?

30
New cards

To format text 'contact information' in blue color, which HTML is correct?

contact information

31
New cards

The internal CSS rules are declared within which tag?