How to Use "'" in HTML Attributes

How to Use "'" in HTML Attributes thumbnail
HTML stands for HyperText Markup Language.

HyperText Markup Language is the behind-the-scenes foundation for every Web page. HTML code can display an image, change a background color or make text bold. The list of possibilities is extensive. One symbol most HTML tags have in common is the quotation mark.

Instructions

    • 1

      Launch an HTML editor. Use TextEdit (Mac) or Notepad (PC) if one is unavailable. Both come preinstalled on Windows or Apple operating systems.

    • 2

      Create a new HTML document. Select "File" and "New" from the program's navigation menu.

    • 3

      Set the basic HTML foundation for the Web page. Each page should be structured with the following tags: <html><head></head><body></body></html>. Between the <head></head> and <body></body> tags are where the rest of your HTML code should be placed.

    • 4

      Add HTML tags to customize your site. Each tag needs to have quotation marks next to an attribute to define the tag's output. For example, "<img src="http://www.URL.com/image.jpg">." "img" is the tag. "src" is the attribute. "http://www.URL.com/image.jpg" is the attribute's output definition.

    • 5

      Select "File" and "Save As" from the navigation menu. Do not put any spaces in the filename. Make sure the extension is either .html or .htm.

    • 6

      Upload the HTML file to the Web server. Preview the file to make sure it is coded correctly.

Related Searches:

References

  • Photo Credit Hemera Technologies/AbleStock.com/Getty Images

Comments

Related Ads

Featured