<h1>Jinsoo So(raw text)</h1>
- HTML is skeleton of all web pages
- HTML provides structure to the content appearing on a website, such as images, text, or. videos
- **markup language** = computer language that defines the structure and presentation of raw text
- In HTML, the computer can interpret **raw text** that is wrapped in HTML elements
- **Hyper Text** is text displayed on a computer or device that provide access to other text through links, AKA **hyperlinks**
code
<p>Hello World</p>
p, /p = opening tag
Hello World = content
all together = element
The Body = One of the key HTML elements used to build a webpage
<body> <p>Hello World</p> </body>
The Headings = six different headings used for title, article, other forms of content
<body> <h1>Hello World</h1> </body>
Attributes = content added to the opening tag of an element and can be used in several different ways, from providing information to changing styling.
Attributes have two parts
- name of the attribute
- value of the attribute
<body> <h1 id = "intro">Hello World</h1> </body>
Paragraph
= contain a block of plain text
span
= contain short pieces of text or other HTML
- used to separate small pieces of content that are on the same line as other content(especially inline)
- use <div>
when you want to divide your content into blocks
<body> <p id = "introduction"><span>Self-driving cars</span> are anticipated to replace up to 2 million jobs over the next two decades.</p> </body>