*
Previous HTML-question-answers-5 HTML-question-answers-7 Next

HTML Question Answers

Question: HTML tags are enclosed in ________
Answer: angle brakets < and >
Question: Do <th> tags always need to come at the start of a row or column?
Answer: Any <tr> tag can be changed to a <th> tag. This causes the text contained within the <th> tag to be displayed as bold in the browser. Although <th> tags are mainly used for headings, they do not need to be used exclusively for headings.
Question: What are applets?
Answer: Applets are small programs that can be embedded within web pages to perform some specific functionality, such as computations, animations, and information processing. Applets are written using the Java language.
Question: Are there instances where text will appear outside of the browser?
Answer: By default, the text is wrapped to appear within the browser window. However, if the text is part of a table cell with a defined width, the text could extend beyond the browser window.
Question: Is there any way to keep list elements straight in an html file?
Answer: By using indents, you can keep the list elements straight.
Question: What is the relationship between the border and rule attributes?
Answer: Default cell borders, with a thickness of 1 pixel, are automatically added between cells if the border attribute is set to a nonzero value. Likewise, If the border attribute is not included, a default 1-pixel border appears if the rules attribute is added to the <table> tag.
Question: What are 'empty elements' in HTML?
Answer: Elements that don't take end-tags are known as empty elements for e.g. <br>
Question: How do you make a picture into a background image of a web page?
Answer: For this, place a tag code after the </head> <body background = “Backimage.gif”> This will take the picture and make it the background image of your web page.
Question: When is it appropriate to use frames?
Answer: Frames can make navigating a site much easier. If the main links to the site are located in a frame that appears at the top or along the edge of the browser, the content for those links can be displayed in the remainder of the browser window.
Question: Types of HTML content?
Answer: HTML documents are made up of two things: the content and the tags that formats it for proper display on pages.
Question: HTML stands for?
Answer: Hyper Text Markup Langauge
Question: What is HTML?
Answer: HyperText Markup Language, is the language of the World Wide Web. It is the standard text formatting language used for creating and displaying pages on the Web.
Question: What is the hierarchy that is being followed when it comes to style sheets?
Answer: If a single selector includes three different style definitions, the definition that is closest to the actual tag takes precedence. Inline style takes priority over embedded style sheets, which takes priority over external style sheets.
Question: What happens if the list-style-type property is used on a non-list element like a paragraph?
Answer: If the list-style-type property is used on a non-list element like a paragraph, the property will be ignored and have no effect on the paragraph.
Question: What if there is no text between the tags or if a text was omitted?
Answer: If there is no text between the tags, then there is nothing to format, so no formatting will appear.
Question: What will happen if you overlap sets of tags?
Answer: If two sets of html tags are overlapped, only the first tag will be recognized. You will recognize this problem when the text does not display properly on the browser screen.
Question: What happens if you open the external CSS file in a browser?
Answer: If you try to open the external CSS file in a browser, the browser cannot open the file, because the file has a different extension. The only way to use an external CSS file is to reference it using <link/> tag within another html document.
Question: Can I specify fractional weight values such as 670 or 973 for font weight?
Answer: Implementation largely depends on the browser, but the standard does not support fractional weight values. Acceptable values must end with two zeroes.
Question: When HTML was developed?
Answer: in 1990
Question: How to create links to sections within the same page?
Answer: Links can be created using the <a> tag, with referencing through the use of the number (#) symbol. e.g. you can have one line as <a href=”#topmost”>TO TOP</a>, which would result in the words “TO TOP” appearing on the webpage and links to a bookmark named topmost. You then create a separate tag command like <a name=”topmost”> somewhere on the top of the same page so that the user will be linked to that spot when he clicked on “TO TOP”.
Question: HTML is a ____________Language
Answer: markup
Question: If you see a web address on a magazine/paper, to which web page does it point?
Answer: Most of these addresses are relative to the top-most web page. The published web address that appears within magazines/papers typically points this top-most page. From this top level page, you can access all other pages within the web site.
Question: HTML is case sensitive?
Answer: No
Question: Does a hyperlink apply to text only?
Answer: No, hyperlinks can be used on text as well as images. That means you can convert an image into a link that will allow user to link to another page when clicked.
Question: Do all HTML tags come in pair?
Answer: No, there are single HTML tags that does not need a closing tag. Examples <hr>
Question: HTML documents are also called?
Answer: web pages
Question: What bullet types are available?
Answer: With ordered lists, you can select to use a number of different list types including alphabetical and Roman numerals. The type attribute for unordered lists can be set to disc, square, or circle.
Question: Do older html files work on newer browsers?
Answer: Yes, older html files are compliant to the HTML standard. Most older files work on the newer browsers, though some features may not work.
Question: Can several selectors with class names be grouped together?
Answer: You can define several selectors with the same style definition by separating them with commas. This same technique also works for selectors with class names.
Question: What is image map?
Answer: You can define shapes in images that you want to make part of an image mapping. Image map lets you link to many different web pages using a single image.
Question: What are some of the common lists that can be used when designing a page?
Answer: You can insert any or a combination of the following list types: – ordered list – unordered list – definition list – menu list – directory list Each of this list types makes use of a different tag set to compose
Question: How to set specific colors for table borders?
Answer: You can specify a border color using style sheets, but the colors for a table that does not use style sheets will be the same as the text color.
Previous HTML-question-answers-5 HTML-question-answers-7 Next
*
*