Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- On a website, what is the purpose of HTML code?
- To frame webpage elements
- What is the difference between an element and a tag?
- tags label elements and act as a point of reference in the code
- Why do we use attributes in HTML elements?
- to further define elements and their attribtes or attributes tell us more about elements
- Describe the purpose of the head, title, and body HTML elements.
- body - everything insdie this element is shown in the main browser window
- head - This contains information about the page
- title - shown in the top of the browser
- In your browser (Chrome), how do you view the source of a website?
- right click view page source
- List five different HTML elements and what they are used for. For example, <p></p> is a paragraph element, and it is used to represent a paragraph of text.
- <br /> to add a line break inside the middle of a paragraph
- <sup> to contain characaters that should be superscript
- <i> makes words appear as italic
- <hr /> to create break between themes
- <sub> to contain characters that should be subscript
- What are empty elements?
- empty elements are predefined and contain no words between tags
- What is semantic markup?
- their purpose is to describe the content of your web page more accurately
- Waht are three new semantic elements introduced in HTML 5? Use page 431 in the book to find more about these new elements.
- header
- aside
- article
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement