web development Flashcards
what does HTML use to describe webpages
<tag> </tag>
attributes in HMTL
<tag>Hello World!</tag>
Add an image to HMTL web page
<img></img>
heading in HTML
<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
</h6></h5></h4></h3></h2></h1>
paragraphs in html
<p> </p>
adding a single line break in HTML
<br></br> </br>
adding horizontal lines in HTML
<hr></hr>
</hr>
adding a link to HTML
<a> Welcome </a>
creating a table in HTML
<table>.
<tr>
<td> 1 </td>
<td> 2 </td>
<td> 3 </td>
</tr>
</table>
True or False: CSS defines how to style HTML elements
True
how do you change the color of a paragraph to blue with a font size of 12
p { color: blue; font-size: 12px; }
how do you group a selection of elements so that you are able to style them in one go
Id’s and classes
create an id and add a backrground color of yellow and color the text blue
welcome{ color:blue ; background-color:yellow;}
<h1 id=“welcome”> Welcome to my Web page</h1>
create a class
<h1 class=“welcome”> Welcome to my Web page</h1>
.welcome{ color:blue ; background-color:yellow;}
JQuery- JavaScript, writing code goes inside:
<script> </script>