Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="./main.css" />
<title>Class 3 James Mercaldo</title>
advanced html and css
</head>
<body>
<ol>
<li>black elements</li>
<li>inline elements</li>
</ol>
<div class="block-element">block element</div>
<div>another block</div>
<div></div>
<span class="inline-element">another inline element</span>
<span>inline elements only take up the space of their content, no line breaks</span>
<h2>Tables</h2>
<table>
<thead>
<tr>
<th>first name</th>
<th>last name</th>
<th>favorite color</th>
</tr>
</thead>
<tfoot>
<tr>
<th>first name</th>
<th>last name</th>
<th>favorite color</th>
</tr>
</tfoot>
<tbody>
<tr>
<td>James</td>
<td>Mercaldo</td>
<td>blue</td>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
<td>Red</td>
</tr>
<tr>
<td>Matt</td>
<td>Damon</td>
<td>Orange</td>
</tr>
</tbody>
</table>
<!-- table, table header, table heading, table row, table body, table data -->
<h2>Forms and Inputs</h2>
<input style="display:block" type="text">
<input style="display:block" type="file">
<input style="display:block" type="date">
<form action="">
<h2>Form</h2>
<fieldset>
<legend>Cool Header Like Legend</legend>
<div>
<label for="first-name">First Name</label>
<input type="text">
</div>
<div>
<label for="last-name">Last Name</label>
<input type="text">
</div>
<div>
<label for="date">Date</label>
<input type="date">
</div>
<div>
<input type="submit">
<input type="reset">
</div>
</fieldset >
<select name="" id="">
<option value="">option 1</option>
<option value="">option 2</option>
<option value="">option 3</option>
</select>
<!-- textarea is made for large amounts of text -->
<textarea name="" id="" cols="30" rows="10">
</textarea>
<button class="primary-button" style="display:block" onclick="">
buttons dont open a new page when clicked but trigger actions
</button>
<div style="overflow: hidden; max-width: 100px; border:solid;">
ajs;j;asf;asja;;fas;fjoassf;asfsvnjka;cv;cavcjkacv
</div>
<div style="overflow: scroll; max-width: 100px; border:solid;">
ajs;j;asf;asja;;fas;fjoassf;asfsvnjka;cv;cavcjkacv
</div>
<div style="overflow: visible; max-width: 100px; border:solid;">
ajs;j;asf;asja;;fas;fjoassf;asfsvnjka;cv;cavcjkacv
</div>
</form>
</body>
</html>