Skip to content

Instantly share code, notes, and snippets.

@adamwd392
Last active December 11, 2017 23:10
Show Gist options
  • Save adamwd392/b20cfc6f2b776584038308075d32b49b to your computer and use it in GitHub Desktop.
Save adamwd392/b20cfc6f2b776584038308075d32b49b to your computer and use it in GitHub Desktop.
Ges679-Lab5-AdamDuvall
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
margin: 0;
}
</style>
<body>
.button {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
<p style="color:red;"> The three main components of an HTML document are the HTML itself, JavaScript, and CSS. HTML stands for Hyper Text Markup Language and provides structure for the design of the website. HTML is interpreted by the browser to display the webpages we are accustomed to seeing. JavaScript is code used to manipulate the webpage "behind the scenes". It is through JavaScript that a user can interact with a webpage. CSS stands for cascading style sheets. A CSS file is a sort of ruleset that the webpage follows. It ensures that the design is consistent across all parts of the webpage. </p>
<br>
<p style="color:red;"> There is the head tag which is used to describe information about the document, an overview of sorts. The title tag is used to define a title for the document. The body tag is used for the main part of the document. The br tag is used to create a break in the content. </p>
<br>
<p style="color:red;"> The br tag is an HTML tag that does not require an end tag. </p>
<br>
<p style="color:red;"> The element selector selects elements based on the element name. p and body tags count as elements so those entire sections are selected. The id selector narrows the selection to just the HTML element with the specified id. The class selector selects all elements with the specified class attribute, denoted by a period. </p>
<br>
<p> You can change the font color of a paragraph with the style tag, style="color:red;" </p>
<br>
<button type="button">Click Me!</button>
<br>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment