Boilerplate for your first site
How do I make an boilerplate for your first site?
Here we have the most basic elements to create a simple, yet functional, site.. What is a boilerplate for your first site? How do you make a boilerplate for your first site? This script and codes were developed by Christopher Schuck on 22 July 2022, Friday.
Boilerplate for your first site - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Boilerplate for your first site</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!--We will be using HTML5, the latest and greatest version.-->
<!DOCTYPE html>
<html lang="en">
<head> <meta charset="UTF-8"> <title>My First Site</title> <link rel="stylesheet" href="/styles/styles.css">
</head>
<body>
<header> <h1>My first site</h1> <h2>The basic elements that make up a site.</h2> </header> <main> <p>Ignore the red circle warning above if it exists. Codepen includes certain elements such as <code><html></code> & <code><head></code>, so it doesn't like them being here.</p> <p>However inside an html file you will want those elements.</p> <p>This site works perfectly well. However, we will want some style. That's where CSS comes into play.</p> <hr /> <section> <p>Without jumping right into CSS, we can still create basic elements in HTML. This text is inside (or wrapped around) a paragraph element. <p> In order to line break I use another paragraph element. This element and the one above is a child of a <code><section></code> element.</p> <p> So we refer to that as the <em>parent</em>. The <code><section></code> is the child of the <code><main></code>, and these paragraphs are <em>siblings</em> since they are next to each other. </p> <p>The <code><html></code> is the root of the document, and is the highest level <em>ancestor</em>. Everything else is a <em>descendant</em>.</p> <div> <a href="https://www.google.com/" target="_blank" title="Has a nice title too">I am a link to Google. I will open in a new tab.</a> </div> <div> <em>I am emphasized text.</em> <strong>I am bold, strong text.</strong> </div> <form id="submit-form"> <label><input type="checkbox" name="option" value="cb" required /> Here is a checkbox with a label </label> <select id="select-basic" required> <option value="">Select one option</option> <option value="love">I love computers</option> <option value="hate">I hate computers</option> </select> <input type="text" placeholder="I am text input" required /> <button type="submit">I am a button. Try clicking me.</button> </form> <figure> <img src="https://farm1.staticflickr.com/674/22094301122_c7bff46d5a.jpg" width="500" height="250" alt="Mandarin - Aix galericulata"> <figcaption>This is the caption for the above image</figcaption> </figure> <h3>This is an unordered list</h3> <ul> <li> Hello </li> <li> Hello </li> <li> Hello </li> </ul> <h3>This is an ordered list</h3> <ol> <li> Hello </li> <li> Hello </li> <li> Hello </li> </ol> </section> </main> <hr /> <footer> <h4> I am the footer content. </h4> <address>Canandaigua, NY</address> </footer>
</body>
</html> <script src="js/index.js"></script>
</body>
</html>
Boilerplate for your first site - Script Codes CSS Codes
/*This is where you would put your style declarations. This works a lot like an external style sheet. We will be using CSS3 properties.*/
Boilerplate for your first site - Script Codes JS Codes
/*Put all your JavaScript here. This works a lot like an external JS file. We will be using JS5 and some jQuery.*/
Developer | Christopher Schuck |
Username | mofny |
Uploaded | July 22, 2022 |
Rating | 3 |
Size | 2,883 Kb |
Views | 46,552 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
A simple tic-tac-toe game | 2,566 Kb |
Flex Image Slider 2.0 | 4,910 Kb |
Helpful Web Dev Links | 2,877 Kb |
My attempt at an image layout challenge | 3,175 Kb |
Font Awesome icons as cursors | 1,894 Kb |
An intro for my students | 4,329 Kb |
The power of Flex | 2,493 Kb |
Flex layout example | 1,663 Kb |
A simple grid | 2,805 Kb |
A Pen by Christopher Schuck | 2,704 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Two column of responsive height | Fixie | 2,908 Kb |
Multicolumns 2 | Raphaelgoetter | 1,857 Kb |
Loading animation - freedom purchase | Rocbear | 2,567 Kb |
Classy Blockquote Styling | Andrewwright | 3,212 Kb |
404 Error Page | WebSonick | 3,203 Kb |
Beveled corners using CSS border attribute | DawsonMediaD | 2,136 Kb |
CSS Patterns | Alyda | 3,953 Kb |
CSS Heart Loaders | Nourabusoud | 2,161 Kb |
CSS3 Selectables with information rollover | Jasonmayes | 9,565 Kb |
Nested table email layout | Massimo-cassandro | 2,355 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!