the <dir> tag was a block element used to designate a collection of file names. It functioned very similarly to the <ul> and <ol> tags.The <dir> tag is used to list directory titles. It was designed to be used for creating multicolumn directory lists. This is very similar to <ul> tag but now this is deprecated.