<!DOCTYPE html>
<html>
<head>
    <title>About My College
    </title>
    <link rel="stylesheet" href="style.css">
</head>
<body><div>
    <h1>Kabarak University</h1>
    <h4>P.O. Box 4231, Nakuru</h4>
    </div>
    <h3>Courses Offered</h3>
    <ul>
        <li style="color: brown; list-style: circle; font-family: 'Courier New', Courier, monospace;">Bsc. In Computer Science</li>
        <li style="color: cadetblue; list-style-type: square; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;">Bsc. In Pure Mathematics</li>
        <li style="color: chartreuse; list-style-type: disc; font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;">Bsc. In Actuarial Science</li>
        <li style="color: crimson; list-style-type: georgian;">Bsc. In Pharmacy</li>
        <li style="color: darkgreen; list-style-type: square; font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;">Bachelor of Business Management and information Technology (BMIT)</li>
        <li style="color: tomato; list-style: symbols(); font-family: Verdana, Geneva, Tahoma, sans-serif;">Bachelor of Commerce (BCom, B.COM, BComm, B.COMM)</li>
        <li style="color: blueviolet; list-style-type: upper-alpha; font-family: Arial, Helvetica, sans-serif;">Bachelor of Education (Arts)</li>
        <li style="color: chartreuse; list-style-type: lower-roman; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;">Bachelor of Education (Science)</li>
        <!-- <li>Bachelor of Laws (LLB)</li>
        <li>Bachelor of Science (Botany)</li>
        <li>Bachelor of Science (Chemistry)</li>
        <li>Diploma in Theology</li>
        <li>Diploma in Procurement and logistics</li>
        <li>Diploma in Music</li>
        <li>Diploma in Information Technology</li>
        <li>Diploma in Environmental Health</li>
        <li>Diploma in Education ECDE (Early Childhood Education)</li>
        <li>Diploma in Education (Arts)</li>
        <li>Diploma in Computer Science</li> -->
    </ul>
    <p>
        Lorem ipsum dolor sit amet consectetur adipisicing elit. Nam ***** alias ad velit! Aliquid reprehenderit, dolores eius
        suscipit ipsa ullam commodi voluptatem facere similique expedita molestiae eligendi in voluptates nobis maxime illo
        accusantium, magnam excepturi adipisci, dolore explicabo! Obcaecati, id dolorem minima voluptas dicta reiciendis
        cumque reprehenderit ratione. Excepturi voluptas tempore ad quibusdam dolores. Ut, autem. Tempora dolorum,
        architecto velit assumenda aut ut dolor tenetur adipisci deleniti illum? Cupiditate, temporibus placeat tempore ut,
        omnis doloribus maxime ***** velit porro facere praesentium adipisci! Aliquam odio minus soluta, unde optio eius?
        Nesciunt vel accusamus vitae enim, a sint consequatur mollitia repellat ad.
    </p>
    <p>
        Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nihil dolore, labore beatae veritatis, saepe cupiditate
        quisquam necessitatibus suscipit obcaecati perferendis consequatur! Accusantium inventore quis expedita libero sequi
        nisi beatae, quia minima aut sapiente, modi deserunt obcaecati. Asperiores perspiciatis at rem a quis, tempora
        tempore magnam dolorem atque corporis quod ea.
    </p>
    <form action="mailto: [email protected]" method="post">
        <div>
            <h3>Registration Form</h3>
        </div>
        <label for="userName">Username</label>
        <input type="text" name="userName" id="userName"> 
        <label for="password">Password</label>
        <input type="password" id="password">
        <label for="passwordConfirm">Confirm Password</label>
        <input type="password" id="passwordConfirm">
        <label for="firstName">First Name</label>
        <input type="text" name="First Name" id="firstName">
        <label for="lastName">Last Name</label>
        <input type="text" name="Last Name" id="lastName">
        <label for="email">Email</label>
        <input type="email" name="Email" id="email">
        <label for="phoneNumber">Phone Number</label>
        <input type="number" id="phoneNumber">
        <label for="location">Location</label>
        <input type="text" name="Location" id="location">

    </form>
</body>
</html>
 

HTML Online Editor & Compiler

Write, Run & Share HTML code online using OneCompiler's HTML online Code editor for free. It's one of the robust, feature-rich online Code editor for HTML language, running on the latest version HTML5. Getting started with the OneCompiler's HTML compiler is simple and pretty fast. The editor shows sample boilerplate code when you choose language as HTML. You can also specify the stylesheet information in styles.css tab and scripts information in scripts.js tab and start coding.

About HTML

HTML(Hyper Text Markup language) is the standard markup language for Web pages, was created by Berners-Lee in the year 1991. Almost every web page over internet might be using HTML.

Syntax help

Fundamentals

  • Any HTML document must start with document declaration <!DOCTYPE html>
  • HTML documents begin with <html> and ends with </html>
  • Headings are defined with <h1> to <h6> where <h1> is the highest important heading and <h6> is the least important sub-heading.
  • Paragrahs are defined in <p>..</p> tag.
  • Links are defined in <a> tag.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    
  • Images are defined in <img> tag, where src attribute consists of image name.
  • Buttons are defined in <button>..</button> tag
  • Lists are defined in <ul> for unordered/bullet list and <ol> for ordered/number list, and the list items are defined in <li>.

HTML Elements and Attributes

  • HTML element is everything present from start tag to end tag.
  • The text present between start and end tag is called HTML element content.
  • Anything can be a tagname but it's preferred to put the meaningful title to the content present as tag name.
  • Do not forget the end tag.
  • Elements with no content are called empty elements.
  • Elements can have attributes which provides additional information about the element.
  • In the below example, href is an attribute and a is the tag name.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    

CSS

CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.

Example:

Below is a sample style sheet which displays heading in green and in Candara font with padding space of 25px.

body{
  padding: 25px;
}
.title {
	color: #228B22;
	font-family: Candara;
}

HTML Tables

  • HTML Tables are defined in <table> tag.
  • Table row should be defined in <tr> tag
  • Table header should be defined in <th> tag
  • Table data should be defined in <td> tag
  • Table caption should be defined in <caption> tag

HTML-Javascript

  • Javascript is used in HTML pages to make them more interactive.
  • <script> is the tag used to write scripts in HTML
  • You can either reference a external script or write script code in this tag.

Example

<script src="script.js"></script>