Man 1 ch07s02

From Bluefish Wiki
Revision as of 15:00, 19 August 2009 by Fal7i (talk | contribs) (Created page with '__NOTOC__ __NOEDITSECTION__ {{Man1top |lang=en |rev=1.0.6 |Title=2. Auto tag closing |prev=Man 1 ch07 |Subtitle=Chapter VII. More than a Text Editor |next=Man 1 ch…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Please consider to upgrade to Bluefish 2!

Please consider to edit the Manual 2!

How To edit the Wiki Manual
{{#if:2. Auto tag closing|
2. Auto tag closing
}}
Prev }}
Chapter VII. More than a Text Editor
}}
 Next
}}

2. Auto tag closing

By default, Bluefish will automatically produce closing tags for HTML and XML documents. For example, if you type <p> within an HTML document, bluefish will produce </p>. So, as soon as you finish typing a non-empty HTML tag, meaning the tag is supposed to have a closing tag, Bluefish will help you out and close the tag automatically. This feature can be turned off by unchecking the Document → Auto Close HTML Tags (Ctrl+T) menu option.

Bluefish has two modes for tag closing, an XML mode and an HTML mode. In XML mode, Bluefish will add a closing tag to any tag that is not closed itself with />. In HTML mode, Bluefish excludes all known tags that do not need a closing tag, such as <br> and <img>.

Bluefish will choose the mode based on the file type of the document. In the filetype preferences panel, the default mode for each file type can be set. See Section 10, “Modifying file types” for more info.


Prev }}
Up
}}
 [[{{{next}}}|Next]]
}}
{{{prevname}}}}}
Home | ToC
 {{{nextname}}}
}}