Computer Science, asked by bhompriyanag, 3 months ago


List and explain the different attributes of
body tag​

Answers

Answered by fardeenkhn83
2

Explanation:

AttributeDescriptionHTML CompatibilityalinkColor of text for selected hyperlinksDepreciated in HTML 4.01, Obsolete in HTML5, use CSSbackgroundImage to be used a backgroundDepreciated in HTML 4.01, Obsolete in HTM L5, use CSSbgcolorBackground colorDepreciated in HTML 4.01, Obsolete in HTML5, use CSSlinkColor of text for unvisited hyperlinksDepreciated in HTML 4.01, Obsolete in HTML5, use CSSonafterprintFunction to call user has printed documentHTML5onbeforeprintFunction to call when user requests document to be printedHTML5onbeforeunloadFuntion to call when document is to be unloadedHTML5onblurFunction to call when document has lost focusHTML5onerrorFunction to call when document failsHTML5onfocusFunction to call when document has focusHTML5onhaschangeFunction to call when fragment identifier portion of document's address has changedHTML5onloadFunction to call when document has loadedHTML5onmessageFunction to call when the document received a messageHTML5onofflineFunction to call when Network communication failsHTML5ononlineFunction to call when Network communication is restoredHTML5onpopstateFunction to call when user navigated session historyHTML5onredoFunction to call when user moved forward in undo historyHTML5onresizeFunction to call when document was resizedHTML5onstorageFunction to call when storage area changedHTML5onundoFunction to call when user moved backward in undo historyHTML5onunloadFunction to call when document is being unloadedHTML5textForeground color of textDepreciated in HTML 4.01, Obsolete in HTML5, use CSSvlinkColor of text for visited hyperlinksDepreciated in HTML 4.01, Obsolete in HTML5, use CSS

Note

The HTML <body> element is found within the <html> tag.

The most common elements to be placed in the HTML <body> tag are: <h1>, <p>, <div>, <table> tags.

Answered by singhmanendra358
1

Answer:

Attribute Description

bgcolor Background color

link Color of text for unvisited hyperlinks

onafterprint Function to call user has printed document

onbeforeprint Function to call when user requests document to be printed

Similar questions