Coder Social home page Coder Social logo

html_exercise's Introduction

title slug
Exercise: HTML Intro
/html-intro-exercise

Exercise Repo

Objective

Practice using HTML tags to structure a content on web pages.

Exercise 1

Steps are to be completed under the div with id="exercise1"

  1. Create a heading 1 element that contains your name between opening and closing tags
  2. Create a paragraph element that contains a bio about yourself

Exercise 2

Steps are to be completed under the div with id="exercise2"

  1. Create an unordered list element
  2. Create three list item elements nested inside of the unordered list that your just created
  3. Create an anchor element inside of each list item that you just created in your unordered list
  4. Each anchor element should link to the following:
    • The first anchor element should link to your LinkedIn profile
    • The second anchor element should link to the TrueCoders homepage
    • The third anchor element should link to your most visited website

Exercise 3

Steps are to be completed under the div with id="exercise3"

  1. Create an image element
  2. Add an src attribute with a relative path value that points to the ./images/example.png file
  3. Add an alt attribute with a text description value of the image

Exercise 4

Steps are to be completed under the div with id="exercise4"

  1. Edit the paragraph element's text content so that:
    • the word "span" is enclosed in a span element
    • the word "underlined" is enclosed in an underline element
    • the word "italicized" is enclosed in an emphasis element
    • the word "bolded" is enclosed in an strong element

Exercise 5

Steps are to be completed under the div with id="exercise5"

  1. Edit the blog post so that more semantically meaningful elements are used instead of generic division containers.
    • You will need to use
      • one main element
      • three section elements
      • one article element
      • one header element
      • two nav element
      • two unordered list element
      • five list item elements
      • five anchor elements
      • one footer element
    • To be completed, you should only have one division elements and zero span elements (not including the div with id="exercise5")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.