click below
click below
Normal Size Small Size show me how
Intro to HTML L1-L4
Introduction to HTML- CodeAcademy's HTML Basics Course
Question | Answer |
---|---|
HTML elements can be nested inside other elements. The enclosed element is the child of the enclosing parent element. | True |
What does the <p>, <span> & <div> tags specify? | Text or blocks |
What are the <em> and <strong> tag used for? | To emphasize text. |
What tag is used to make a line breaks? | <br> |
What are ordered lists? | <ol> & are numbered |
What are unordered lists? | <ul> that are bulleted |
How can <img) & <video> be added? | By linking to an existing source |
What goes in the <head> tag ? | Title |
How to add a title for web page? | Using <title> tag |
Where does the title appear on the web page? | In the browser's tab |
What are Anchor <a> tag's used for? | Link to internal, external or content on the same page |
How to jump to sections on a web page? | By adding an <a> tag and an id element to a section |
How to make tables in HTML? | <table> tag |
How to ass rows to a table? | <tr> tag |
How to add data to a row? | <td> tag |
What do table headings <th> do? | Clarify meaning of data |
How to span columns on a table? | By using colspan attribute |
How to span rows on a table? | By using rowspan attribute |
Tables can be split into.... | A head, a Body, & a Footer |
How is a table's head created? | With the <thead> element |
How is a table's body created? | With the <tbody> element |
How is a table's footer created? | With the <tfoot> element |
Purpose of a form? | To allow users to input information & send it. |
What determines where the form's information goes? | A <form>'s action attribute |
What determines how the form's info is sent & processed? | A <form>'s method attribute |
How to add a single row field for text input? | type="text" |
How to add a password row field? | type="password" |
How to add a number input field? | type="number" |
How to add a slider to select from a range of numbers? | type="range" |
How to add a single checkbox? | type="checkbox" |
How to add a radio button? | type="radio" |
How to pair an <input> with a <datalist> ? | type="list" if the id of both are the same |
How to render a dropdown list selection? | <select> & populated with <option> elements |
How to make a list of choices? | <datalist> with <option> elements & works with an <input> |
Define Semantic HTML | Introduces meaning to a page through specific elements that provide context as to what is in between the tags. |
How is Semantic HTML better? | Makes website accessible for screen readers to translate webpage & improves website's SEO |
what creates the basic structure of a web page? | <header> ,<nav> , <main> , & <footer> |
Define the <section> tag | defines elements in a document, such as chapters, headings, or any other area of the document with the same theme. |
What is the use of the <article> tag ? | Holds content that makes sense on its own such as articles, blogs, comments, etc. |
What is the use of the <aside> tag ? | contains information that is related to the main content, but not required in order to understand the dominant information. |
What is the use of the <figure> tag ? | encapsulates all types of media. |
What is the use of the <figcaption> tag ? | is used to describe the media in <figure>. |
How to create media files? | <video> , <embed> , <audio> |