Posts

Showing posts with the label HTML Basics

Is there any way to keep list elements straight in an HTML file?

Is there any way to keep list elements straight in an HTML file? By using indents, you can keep the list elements straight. If you indent each sub nested list in further than the parent list that contains it, you can at a glance determine the various lists and the elements that it contains.

How do you create links to sections within the same page?

 How do you create links to sections within the same page? Links can be created using the <a> tag, with referencing through the use of the number (#) symbol. For example, you can have one line as <a href=”#topmost”>BACK TO TOP</a>, which would result in the words “BACK 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 webpage so that the user will be linked to that spot when he clicked on “BACK TO TOP”.

How do you insert a copyright symbol on a browser page?

How do you insert a copyright symbol on a browser page? To insert the copyright symbol, you need to type &copy; or & #169; in an HTML file.

Can attribute values be set to anything or are there specific values that they accept?

Can attribute values be set to anything or are there specific values that they accept? Some attribute values can be set to only predefined values. Other attributes can accept any numerical value that represents the number of pixels for a size.

What is the advantage of collapsing white space?

 What is the advantage of collapsing white space? White spaces are a blank sequence of space characters, which is treated as a single space character in HTML. Because the browser collapses multiple spaces into a single space, you can indent lines of text without worrying about multiple spaces. This enables you to organize the HTML code into a much more readable format. 

What is an image map?

What is an image map? Image map lets you link to many different web pages using a single image. You can define shapes in images that you want to make part of an image mapping.

Do all character entities display properly on all systems?

Do all character entities display properly on all systems? No, there are some character entities that cannot be displayed when the operating system that the browser is running on does not support the characters. When that happens, these characters are displayed as boxes.

How do you insert a comment in HTML?

 How do you insert a comment in HTML? Comments in HTML begins with “<!– “ and ends with “ –>”. For example: <!-- SAMPLE-->

What is HTML?

What is HTML? HTML is short for HyperText Markup Language and is the language of the World Wide Web. It is the standard text formatting language used for creating and displaying pages on the Web. HTML documents are made up of two things: the content and the tags that format it for proper display on pages.

What are some of the common lists that can be used when designing a page?

What are some of the common lists that can be used when designing a page? You can insert any or a combination of the following list types: – ordered list – unordered list – definition list – menu list – directory list Each of these list types makes use of a different tag set to compose

Do all HTML tags come in a pair?

Do all HTML tags come in a pair? No, there are single HTML tags that do not need a closing tag.  Examples are the <img> tag- image tag and <br> tags -break tag.

What are tags?

What are tags? Content is placed in between HTML tags in order to properly format it. It makes use of the less than symbol (<) and the greater than symbol (>). A slash symbol is also used as a closing tag. For example: <strong>sample</strong>