click below
click below
Normal Size Small Size show me how
html
html info
Question | Answer |
---|---|
<head> | contains information, or metadata, that helps the browser to render the page correctly. |
<body> | contains the content that is shown to the user. |
<!DOCTYPE html> | declaration is letting the browser know to expect HTML on the page. |
<html> | represents the root, or start, of our HTML document |
<html lang="en"> | tells the browser the language for the webpage |
<title> | defines the title for a webpage. |
<style> | defines the CSS styles associated with a website. |
<base> | defines the base URL for a webpage. |
<link> | connects an external resource to the HTML document. |
<meta> | defines metadata such as the character set, description, keywords, author, and viewport. |
<script> | embeds client-side scripts in the HTML document. |
<meta charset="UTF-8"> | sets our character encoding. |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | sets an HTTP header for content. |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | sets the default view for our webpage. |
<h1> to <h6> | Heading tags |
<p> | paragraph tag |
<ul><li></li></ul> | unordered list |
<ol><li></li></ol> | ordered list |
<img src=""> | display image |
<br> | line of empty space |
<a href="">text</a> | hyperlink |