Google+ logo Twitter logo Youtube logo

Tags - Attributes


Tags and attributes

You have now become acquainted with a number of tags. Below an unordered list (<ul&) treated with all treated tags;

  • <h1> - <h6> Tag for headings
  • <p> Tag for paragraphs text
  • <br> Tag for a new line
  • <strong> Tag for making text bold
  • <em> Tag for making text italic
  • <u> Tag for making text underlined
  • <ul> Tag for an unsorted list (like this one!)
  • <ol> Tag for a sorted list (just like this one, though each item would have a index prepended)
If any if the previous tags are not clear, please feel free to browse back.

Some tags have attributes. An attribute is like a extra option (or feature) that the tag you can use. We have not treated the tag for a image yet, but this is an excellent example of how an attribute works.

An image is marked with a <img> tag. However, the tag must still "know" what picture to show. We can specify an attribute, named: src. For example, showing image house.jpg in HTML can be done like this;

An image tag can have several attributes more, let's checkout some basic attributes;
  • src The filename of the image
  • width The width (in pixels) of the image
  • height The height (in pixels) of the image
Every tag can have multiple attributes. Say; we want to show an image just like aboven; but then with dimensions 100 pixels by 100 pixels;

Note: Src, width and height are attributes. Not every tag has the same -possible- attributes; e.g. a <strong> tag can't use a src attribute. After all; it isn't a image.


Comments (16) Post comment

  • Direct url UitRB (May 17, 2021 @ 02:43)
    cialis pill <a href=\"https://topcialistabs.com/\">cialis pills</a> cialis versus viagra
  • Direct url WlmNN (May 16, 2021 @ 00:26)
    how much does cialis cost <a href=\"https://cialisortadalafil.com/\">over the counter cialis</a> cialis recommended dosage
  • Direct url AkqBR (May 15, 2021 @ 13:15)
    generic viagra cost <a href=\"https://sildenafilviagratop.com\">sildenafil citrate 100mg</a> viagra in india
  • Direct url MbbUG (May 14, 2021 @ 02:51)
    viagra generic cost <a href=\"https://edviagramaster.net/\">canadian pharmacy sildenafil</a> natural viagra foods
  • Direct url OqdCO (May 13, 2021 @ 04:44)
    who do you address a cover letter to <a href=\"https://writingacoverletteronline.com/\">experience resume</a> resume or cv
  • Direct url Kathrynpem (May 12, 2021 @ 03:46)
    cialis pills <a href=\"http://tadalafilled.com/\">tadalafilled</a> cialis daily dosage
  • Direct url NkjOT (May 12, 2021 @ 03:39)
    digital marketing resume <a href=\"http://coverletterforresumetop.com/\">create resume for job</a> program manager resume
  • Direct url Martinapiepe (May 7, 2021 @ 19:53)
    viagra connect walmart <a href=\"https://mysildenafilkr.com/\">sildenafil citrate over the counter</a> sildenafil prices
  • Direct url Francesisoft (May 7, 2021 @ 06:18)
    natural viagra for men <a href=\"https://mrviagrashop.com\">viagra from canada</a> best over the counter viagra
  • Direct url Rebeccagiz (May 6, 2021 @ 22:52)
    best essay writing service in pakistan karachi <a href=\"http://writemyessayslfd.com/\">write my essay for me cheap</a> good essay writing
  • Direct url StellaAnach (May 5, 2021 @ 02:22)
    how to write an essay for graduate school <a href=\"https://topessaywriterfas.com/\">my essay writer</a> how to write an essay harvard
  • Direct url TiffanyNon (May 2, 2021 @ 19:55)
    where can i buy cialis <a href=\"https://toptadalafiltabs.com/\">how to take cialis</a> cheapest cialis
  • Direct url JaniceCak (April 30, 2021 @ 14:01)
    what cialis <a href=\"https://mycialistabs.com/\">cialis 5mg daily how long before it works</a> cialis dosing
  • Direct url TwaNF (April 25, 2021 @ 05:31)
    Medicines information sheet. Cautions. \r\n<a href=\"https://toplyrica.top\">where to buy cheap lyrica without dr prescription</a> in USA \r\nBest trends of drugs. Get information now.
  • Direct url DavidEviTs (June 4, 2019 @ 23:04)
    Èçáàâèò îò ãðèáêà âñåãî çà 20 äíåé è íå äîïóñòèò ïîâòîðíîãî çàðàæåíèÿ, áëàãîäàðÿ êîìïëåêñó èç íàòóðàëüíûõ ìàñåë è ëåêàðñòâåííûõ ðàñòåíèé. \r\nÍàø ñàéò: https://ljvgzmqd.morningeverning.com
  • Direct url DavidEviTs (June 4, 2019 @ 16:11)
    Èçáàâëÿåò âàñ îò õðîíè÷åñêîãî ïðîñòàòèòà è âîññòàíàâëèâàåò ïîòåíöèþ \r\nÍàø ñàéò: https://lmzdvpjm.morningeverning.com

Leave a comment ...

Name (will be visible)
E-mailaddress (will not be shown)
Comment
Type the code illustrated below

Back to top