HTML, CSS, and JavaScript Flashcards
What does <!DOCTYPE html> do?
It defines the document type and version of HTML
What is the <html> tag?
It is the root element of an HTML document
What is <head>?
Contains meta-information about the document, such as its title and links fo stylesheets and scripts.
What does <title> do?</title>
Sets the title of the document, shown in the browser’s title bar or tab.
What does <meta></meta> do?
Provides metadata such as character set, description, and keywords
What does <link></link> do?
Links external resources like stylesheets
What does
do?
Embeds or links to Javascript code
What does <style> do?</style>
It embeds internal CSS styles within the document.
What does <body> do?
It contains the content of the document.
What is the <h#> tag?
It defines headings with # being the level of the heading
What does <p> do?
It defines a paragraph
What does <br></br> do?
It inserts a line break
What does <hr> do?
It inserts a horizontal line
What does <b> do?</b>
It defines bold text
What does <i> do?</i>
It defines italic text
What does <u> do?</u>
It defines underlined text
What does <a> do?</a>
It defines a hyperlink