Techaray

Shailendra Saxena's Technical Blog

Semantic Elements HTML5

clock January 7, 2014 08:07 by author ShailendraSaxena

Semantic elements means element with meaning

 

Tag

Description

<article>

Defines an article

<aside>

Defines content aside from the page content

<figcaption>

Defines a caption for a <figure> element

<figure>

Specifies self-contained content, like illustrations, diagrams, photos, code listings, etc.

<footer>

Defines a footer for a document or section

<header>

Specifies a header for a document or section

<mark>

Defines marked/highlighted text

<nav>

Defines navigation links

<section>

Defines a section in a document

<time>

Defines a date/time

 



Document Object Methods

clock January 6, 2014 04:40 by author ShailendraSaxena

 

1. document.querySelector(selector) — Returns the first matching node only

2. document.getElementById(idname) — Returns a single node by its ID name

 3. document.getElementsByTagName(tagname) — Returns nodes matching an element (e.g. h1, p, strong, etc).

4. document.getElementsByClassName(class) — Returns nodes with a specific class name



Search

Calendar

<<  August 2017  >>
SuMoTuWeThFrSa
303112345
6789101112
13141516171819
20212223242526
272829303112
3456789

Archive

Tags

Categories


Visitors

FlagCounter

Flag Counter

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2017

Sign In