Webpage layout: Difference between revisions

m
HTML5 alternatives - initial mention
m (added link)
m (HTML5 alternatives - initial mention)
 
[[file:Divlayout3.png]]
=Aside, Section, Article, Header, Footer - the alternative HTML tags=
In HTML5, where you could use Div before, you can now use header, footer, aside, article or section. These were introduced because they are more meaningful terms.
 
header - this is used to group elements at the start of an article, aside, or section;
footer - this is used to group elements at the end of an article, aside, or section;
aside - this is used to group elements that are not an essential part of the content and typically appear to one side;
article - this is used to group elements that have a logical connection with each other, but are not essential to be related to the elements outside the article grouping;
section - Like div this is a way of grouping elements, but it is often used when the grouped elements do have a connection with those outside the section grouping.
 
=Spans=
5,838

edits