The horizontal line can be used to separate text and objects. Click "Insert> standard" in Dreamweaver, and then click "horizontal line" to add a horizontal line. The Html code is
During the webpage design process, if the default horizontal line is used at will, the inserted horizontal line may be inconsistent with the color of the entire webpage. When you open the horizontal line attribute panel, you only have width, height, alignment, and shadow settings. You have not set the horizontal line color. What should I do?
In fact, you only need to take a closer look at the attribute setting panel of the horizontal line and you will find a "quick Tag Editor". Click this tag and enter "color = color ". Here the "color" can be any color, the general format is:
After setting this method, you cannot directly see the effect in Dreamweaver. You can click the "F12" key to view the horizontal line color changes in the browser.
Tips: The color code such as "#008800" is not easy for beginners to differentiate. You can do this: add a color to the font on the webpage.