Explain semantic markup and include an example of nonsemantic markup.

What will be an ideal response?


Semantic markup is using HTML tags to mark up elements in a meaningful and descriptive way.  Following principles of semantic markup is important.  When semantic markup is used to create a Web page, the structure is clear even without applying a style sheet.  Although people who visit your site don't see the code, the devices they use do.  Browsers, search engines, and assistive devices for people with disabilities all use HTML code to help interpret your Web page.

The concept of meaningful markup is probably easiest to understand by considering an example of non-semantic markup, or markup that is used solely for presentation rather than for structure or meaning.  An example would be the first line of text on a Web page, which usually serves as a heading.  A nonsemantic approach to marking up the text would be to create a style to display it as bold and red, without also applying an

tag to mark the text as a first-level heading.  Using this method, the text may look like a heading, but it has no structural meaning without the HTML tag and devices will not recognize it as a heading.

Computer Science & Information Technology

You might also like to view...

Define configuration rule policies and compare them to access control lists(ACLs).

What will be an ideal response?

Computer Science & Information Technology

Inside the parentheses of the for statement, the ____________________ list provides the increment value that’s added to or subtracted from the counter each time the loop is executed.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A structure in which variables are placed within curly braces inside of a string is called a ____.

A. complex string syntax B. simple string syntax C. function D. method

Computer Science & Information Technology

For the color white, the RGB values are all 255.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology