html/css

what does html mean?

Hypertext Markup Language

What is the largest heading in HTML? How would you write the tag?

heading 1<h1>

What is the smallest heading in HTML? How would you write the tag?

heading 1<h6>

<br> means what in HTML?

line break

<b> means what in HTML?

bold

List 2 different ways to call a first and second tag in a pair.

opening tags and closing tagsstart tag and end tag

What is an element?

an html element is everything between the start tag and the end tag, including the tags

What is the HTML tag to italicize a word?

<i>

Write the correct HTML code to insert an image.

<img src= "dhs,jpg" width= "104" height= "142">

What does href mean?

hypertext reference

What does an attribute do?

attributes provide additional information about an element

What is the tag to make a horizontal line?

<hr>

Using the example www.dhs.com, write the correct hyperlink code.

<a href= "http://www.dhs.com"> This is a link</a>

What is a comment?

comments can be inserted into the html code to make it more readable and understandable. comments are ignored by the browser and are not displayed

Which tag defines a hyperlink?

<a>

What color is an unvisited link?

blue

What color is a visited link?

purple

What color is an active link

red

What does CSS mean?

cascading style sheets

What are the 3 ways CSS can be added to HTML?

inline, internal, external

What is inline styling for CSS?

-using the style attribute in html elements

What is internal styling for CSS?

- using the <style> element in the <head> section

What is external styling for CSS?

-using an external css style

What is the most important attribute for the <a> element/<a> tag?

the most important attribute of the <a> element is the href attribute, which indicates the links destination

What happens when you move a cursor over a link in a webpage?

the arrow will turn into a little hand

How would you write the CSS code for styling the background color of a page? Use the code #ff0000.

background-color:#ff0000

What CSS codes determine the font, color, and size of text in an element?

the font- family, color, and font size properties

What property specifies the horizontal alignment in an element?

the text-align property

What are formatting tags?

bold and italics