Web Design Code HS Review 2023 Practice Questions and Answers with complete solution
Web Design Code HS Review 2023 Practice Questions and Answers with complete solution What is the first thing that should be written on your html document? Ans <!DOCTYPE html> declaration - talks about what version of html the page is written in What does the head element contain? Ans This element can include things such as titles, scripts, styles, and more. The title defines the title of the page. What does the body element contain? Ans This element contains things such as hyperlinks, images, tables, lists, texts HTML Tag Ans Keywords that define how the browser must format or display content Layout of a basic html element Ans <tag> - opening and closing tag - the closing and opening tag have same name - everything inside should be indented one level </tag> HTML Attribute Ans Attributes can be added to any tag to add more imformation about the tag Layout for adding an attribute Ans <tag attribute="value"> Tag Content here </tag> Ex. <img src="" height="50px"> Header Tags Ans The tags <h1> through <h6> are used for header tags. "h1" is the most important heading and "h6" is the least important heading. What is the <p> tag for? Ans paragraph What is the <i> tag for? Ans displays a text in italics What is the <b> tag for? Ans displays text in bold What is the <hr> tag for? Ans defines a thematic break with a horizontal rule or a horizontal line. NO ENDING TAG What is the <a> tag for? Ans creating hyperlinks (which is used to link from one page to another). - has a "href" attribute which shows the link
Written for
- Institution
- Web Design Code HS
- Course
- Web Design Code HS
Document information
- Uploaded on
- February 14, 2023
- Number of pages
- 9
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
web design code hs review 2023 practice questions and answers with complete solution
Also available in package deal