HTML & CSS

1 Minute HTML CSS Part 18 – Form Text Fields

LIST OF TEXT FIELDS IN HTML CSS <input type=”text”> Generic text field. Take note, single line only. <input type=”email”> Email. <input type=”tel”> Telephone number. <input type=”url”> URL. <input type=”password”> Password. <input type=”number”> Numbers only. <textarea></textarea> Also a text field. Take note, multiple lines accepted.

1 Minute HTML CSS Part 18 – Form Text Fields Read More »

1 Minute HTML CSS Part 17 – Basic Forms

BASIC HTML FORM <form target=”_blank” action=”dummy.php” method=”post”> <input type=”text” name=”username”> <input type=”submit” value=”Submit”> </form> <form> The HTML form. <input> Form fields. type Field type. For now, a simple text field and submit button. Will go through more in next few chapters. name Name of the field. value On submit button, this is the button text.

1 Minute HTML CSS Part 17 – Basic Forms Read More »

1 Minute HTML CSS Part 16 – Layout & Sections

HTML PAGE LAYOUT & SECTION TAGS <header>MY SITE</header> <nav> <a href=”home.html”>Home</a> <a href=”page.html”>Page</a> </nav> <main> <article> <h1>My Article</h1> <section>SECTION A</section> <section>SECTION B</section> </article> <aside>Side bar</aside> <div>Generic division or section.</div> </main> <footer>&copy; Copyright My Site.</footer> <header> Page header. <nav> Navigation. <main> Main section – Can only have one. <article> An article. <section> A section. <div> Generic

1 Minute HTML CSS Part 16 – Layout & Sections Read More »