
- highlight part of a text to give prominence.- summary of content of the particular element.- box with expand/collapse functionality to allow for more text space.- the tag is an indicator of where the main content of the page starts.copyright information, terms and conditions etc. - the content at the bottom of the page/section eg.- A section's heading (similar to that in MS word), header can have other content like navigation links, forms etc.
- any illustration like photos, diagrams, code listing and so on.- content that is not part of any element, but has to be put alongside the main content.vspace = “” – space in pixels on top and bottom of the image.hspace = “” – space in pixels on the sides of the image.border = “” – thickness of the border in pixels.align = “left/right/center” – alignment with respect to surrounding items (text).alt = “alternate text” – alternate text mandatory.src =”sourceofimage” – source of the image url or file location mandatory.shows the image when page loads Attributes – id = “” – to create bookmarks in the page that can be used as value in href attribute.
title = “” – gives information about the element. target = “” – specifies where to open the link - _blank (new tab/window), _self (same window/tab), _parent (in the parent frame), framename – open in a particular frame. href = “” – the url to be visited when the link is clicked. HTML links, also called as hyperlinks are defined by ‘a’ tag – Attributes – Attribute “src” – location of the document to be embedded. - embed another document within the current document (page) in a frame. cols="" - Number of columns (characters per row). name="" - Text area name for form processing. lot of text like description - Large area for text inputs. value="" - Option value selected or default value set. individual items of the drop-down list tag Attributes: name="" - Drop Down Combo-Box Name mandatory for form processing. Select options from drop-down list tag Attributes: checked - Mark selected field in checkbox (multi-select) or radio button (single-select). maxlength="" - Maximum acceptable length of Input Field data. value="" - value (entered by user) or default value. name="" - Form Field Name (mandatory for form processing). type="" - Mandatory input Field Type: text, password, checkbox, submit and so on. enctype="" - type of encoding for file upload it is "multipart/form-data". action="url" - destination url upon form submission. Most of the dynamic content like user inputs, submitting a page, filling a form happen inside this tag. The first column will be highlighted as green, whereas other columns will be highlighted as blue. - is used to define attributes for particular columns of the table. valign="" - Vertical Align top, middle, bottom. align="" - Horizontal Align left, center, right. bgcolor="" – hex value of background colour for the cell (column). height="" - height of cell in pixels or %. width="" - width of cell in pixels or %. rowspan="" - Number of rows cell spans across. colspan="" - Number of columns the cell spans across. new section nested div tags are very common when multiple sub-sections are required.
content = “” – the value corresponding to above names. name = “” – can be name like keyword, author, description etc…. Most common use of metadata is by search engines for keywords. tag is a part of and describes information about data. leftmargin="" - Side Margin Size in Pixels. topmargin="?" - Top Margin Size in Pixels. A value of "fixed" means non-scrolling watermark bgproperties="" - Background Properties.
alink="" - Active (current) Link Colour.bgcolor="" - Background Colour in hex value.background="" - Background Image source can be left empty if no image.- superscript (text above the normal text like exponential numbers).Strike that out - strikeout the text inside the tag.- the font family, for example Courier New.
Font is not used in HTML 5, CSS is used. I am strong - give emphasis to a particular text mostly bold. If other colors are needed, span is used. I am highlighted in yellow- marks the text in yellow. The style attribute is used to style HTML elements. prints the word ‘Address’ in the specified color (here green).