Search
 
SCRIPT & CODE EXAMPLE
 

HTML

difference between body and main html

Differences between main and body:

main:
<!-- 
The content inside the main element should be unique to the document. 
It should not contain any content that is repeated across documents 
such as sidebars, navigation links, copyright information, site logos, 
and search forms.
-->

body:
<!--
The body element contains all the contents of an HTML document, 
such as text, hyperlinks, images, tables, lists, etc.
-->

An easy example, the footer element; you should put it inside the body, 
but outside the main, as you will do with your menu, or sidebar.
Comment

PREVIOUS NEXT
Code Example
Html :: repolace html jaquery 
Html :: how to make option values contain spaces in html 
Html :: arecanut plate price in dubai by sri lankan price 
Html :: fondos en html5 
Html :: html document 4.0 
Html :: html get button text 
Html :: html webgl 
Html :: dorpdown format in template 
Html :: tag to custom theme 
Html :: how to see to coordinate of an html element s chrome debugger 
Html :: bold markup 
Html :: Prompt to enable JavaScript 
Html :: html input max words 
Html :: how to change db cred in wordpress 
Html :: Google go to sprint in Encino 
Html :: couleurs html 
Html :: html overflow with span 
Html :: who is circle are you acting like(c)[https://www.youtube.com/fe:f9:39:B4:2+02/history(0 YouTube 
Html :: asp display object list in table 
Html :: html code element 
Html :: unsplash image for html 
Html :: html how to create a box in the middle of a image 
Html :: element is no longer attached to DOM. Unable to animate. 
Html :: ionic grid no margin 
Html :: inject modal to page through extension 
Html :: display pdf in html 
Html :: html form onsubmit 
Html :: html range start value 
Html :: what does sma stand for 
Css :: disable selected text css 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =