Advertisement
svetlyoek

Untitled

Jan 27th, 2019
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.29 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>Document</title>
  8. <style>div{
  9. display: inline-block;
  10. width: 30%;
  11. margin-left:2%;
  12. vertical-align: top;
  13. }
  14.  
  15. span{
  16. font-weight: bold;
  17. }
  18.  
  19. h1{
  20. text-align: center;
  21. }</style>
  22. </head>
  23. <body>
  24. <div>
  25. <h1>Lists excercise</h1>
  26. <p>
  27. The lists contain at least two elements. The most common types are ordered and unordered lists.
  28. </p>
  29. <h2>Examples</h2>
  30. <ol>
  31. 1. Apple
  32. <ul>* Fruit</ul>
  33. <ul>* It's healthy</ul>
  34. </ol>
  35. <ol>
  36. 2. Cucumber
  37. <ul>* Vegetable</ul>
  38. <ul>* The perfect salad ingredient</ul>
  39. </ol>
  40. <ol>
  41. 3. Bonster
  42. <ul>* Energy drink</ul>
  43. <ul>* Contains coffee</ul>
  44. </ol>
  45. <img src="../HTML/HTML-Lab-Files/pic3.png" alt="list pic">
  46. <p>List icon link
  47. <a href="../HTML/HTML-Lab-Files/pic3.png">HERE</a>
  48. </p>
  49.  
  50. </div>
  51. <div>
  52. <h1>Tables excercise</h1>
  53. <p>
  54. Tables is a structured set of data made up of rows and columns.
  55. </p>
  56. <table>
  57. <tr>
  58. <th>Programming language</th>
  59. <th>Developed by</th>
  60. <th>First appeared</th>
  61. </tr>
  62. <tr>
  63. <th>C#</th>
  64. <th>Microsoft</th>
  65. <th>2000</th>
  66. </tr>
  67. <tr>
  68. <th>Java</th>
  69. <th>Oracle</th>
  70. <th>1995</th>
  71. </tr>
  72. <tr>
  73. <th>PHP</th>
  74. <th>Zend Technologies</th>
  75. <th>1995</th>
  76. </tr>
  77.  
  78. </table>
  79. <img src="../HTML/HTML-Lab-Files/pic2.png" alt="table pic">
  80. <p>Table icon
  81. <a href="../HTML/HTML-Lab-Files/pic2.png">HERE</a>
  82. </div>
  83. <div>
  84.  
  85. <h1>Form excercise</h1>
  86. <p>
  87. An HTML form is made of one or more widgets. Those widgets can be text fields (single line or multiline), select boxes
  88. , buttons, checkboxes, or radio buttons.
  89. </p>
  90.  
  91. <form>
  92. Username
  93. <input type="text" name="username" id="username">
  94. <br>
  95. Password
  96. <input type="text" name="password" id="password">
  97. <br>
  98. Email
  99. <input type="text" name="email" id="email">
  100. <br>
  101. Age
  102. <input type="radio" name="age" value="Under 20">Under 20
  103. <input type="radio" name="age" value="20 or more">20 or more
  104. <br>
  105. <input type="submit" value="Submit">
  106. </form>
  107. <img src="../HTML/HTML-Lab-Files/pic.png" alt="form pic">
  108. <p>Form icon link
  109. <a href="../HTML/HTML-Lab-Files/pic.png">HERE</a>
  110. </p>
  111.  
  112. </div>
  113.  
  114.  
  115.  
  116.  
  117. </body>
  118. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement